Merge pull request #10420 from Kearel/sbike

[Feature] Space Bikes!
This commit is contained in:
Zuhayr
2015-09-07 13:58:25 +09:30
5 changed files with 150 additions and 2 deletions
+4 -1
View File
@@ -108,7 +108,10 @@ note dizziness decrements automatically in the mob's Life() proc.
return
/mob/proc/make_floating(var/n)
if(buckled)
if(is_floating)
stop_floating()
return
floatiness = n
if(floatiness && !is_floating)
+1 -1
View File
@@ -457,7 +457,7 @@
return 0
//Check to see if we slipped
if(prob(Process_Spaceslipping(5)))
if(prob(Process_Spaceslipping(5)) && !buckled)
src << "\blue <B>You slipped!</B>"
src.inertia_dir = src.last_move
step(src, src.inertia_dir)