Files
Paradise/code/modules/power/engine.dm
Tigercat2000 ccdae149bb -tg- pull refactor
This commit does the following:
 - Overhauls how pull works. It is now based on a mob verb,
   mob/verb/pulled()
 - Makes the pull icon much more responsive. It is now updated whenever a
   mob starts or stops pulling an object, and instantly updates.
   - This required HUD changes. God help me.
2015-10-10 11:15:52 -07:00

24 lines
439 B
Plaintext

/turf/simulated/floor/engine/attack_hand(var/mob/user as mob)
user.Move_Pulled(src)
/turf/simulated/floor/engine/ex_act(severity)
switch(severity)
if(1.0)
ChangeTurf(/turf/space)
qdel(src)
return
if(2.0)
if (prob(50))
ChangeTurf(/turf/space)
qdel(src)
return
else
return
/turf/simulated/floor/engine/blob_act()
if (prob(25))
ChangeTurf(/turf/space)
qdel(src)
return
return