git » fp-git.git » commit 39ef00f

new action: walking a step but not falls

author rata
2005-02-26 09:11:54 UTC
committer rata
2005-02-26 09:11:54 UTC
parent 398d19a01a5b8d61525bbe475aea80024dbeb322

new action: walking a step but not falls

FP/src/conf/states/main.conf +24 -3

diff --git a/FP/src/conf/states/main.conf b/FP/src/conf/states/main.conf
index 34a2436..2672a10 100644
--- a/FP/src/conf/states/main.conf
+++ b/FP/src/conf/states/main.conf
@@ -101,7 +101,7 @@ normal:
 			99 $5
 	
 		steps
-			absoluteOnStart -15
+			absoluteOnStart 0
 	action            Jump up with free space up and a block in front
 		conditions
 			KeyUp                  pressed
@@ -153,6 +153,25 @@ normal:
 #			relative  0
 #		animation
 #			15 p
+	
+	action            Walking a step, but not falls
+		conditions
+			KeyShift               pressed
+			KeyForward             pressed
+			ForwardTileNearerThan  13
+			MapNotForward		walkable
+		next
+			normal
+		steps
+			absoluteOnStop  0
+		animation
+			15 p $0
+			134-135 p $1
+			136 $5
+			137-139 $3
+			140 $3
+			141-145	p $1
+	
 	action            Walking a step
 		conditions
 			KeyShift               pressed
@@ -160,13 +179,15 @@ normal:
 		next
 			normal
 		steps
-			relative  0
+			relative 0
 		animation
 			134-135 p $1
 			136 $5
 			137-139 $3
 			140 $3
-			141-145	p $1 #total: 32
+			141-145	p $1
+
+
 #	action            Start running and crashing
 #		conditions
 #			KeyForward             pressed