Physics update (#11165)

* Makes space drift affect everything

* Kicking & Newton's 2nd law

* Mecha fix, special attack fix

* ix

* Check on_foot() for slips
This commit is contained in:
unid15
2016-08-07 21:53:30 +02:00
committed by clusterfack
parent c158bf2c6c
commit a8f825aeee
23 changed files with 193 additions and 258 deletions

View File

@@ -194,9 +194,8 @@
B.Move(get_step(user,movementdirection), movementdirection)
sleep(3)
B.Move(get_step(user,movementdirection), movementdirection)
if((istype(user.loc, /turf/space)) || (user.areaMaster.has_gravity == 0))
user.inertia_dir = get_dir(target, user)
step(user, user.inertia_dir)
user.apply_inertia(get_dir(target, user))
if(silenced)
if(fire_sound)