mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-24 17:22:23 +00:00
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.
24 lines
439 B
Plaintext
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 |