This commit is contained in:
ccomp5950
2016-01-18 23:45:19 -05:00
parent f397b04e99
commit f6fa18c49d
2 changed files with 27 additions and 1 deletions

View File

@@ -298,6 +298,8 @@
before_move()
Move(location.return_turf())
if(after_move())
return 1
if(!bumped && !isturf(original))
if(loc == get_turf(original))
@@ -315,7 +317,10 @@
sleep(step_delay) //add delay between movement iterations if it's not a hitscan weapon
/obj/item/projectile/proc/before_move()
return
return 0
/obj/item/projectile/proc/after_move()
return 0
/obj/item/projectile/proc/setup_trajectory(turf/startloc, turf/targloc, var/x_offset = 0, var/y_offset = 0)
// setup projectile state