mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-31 12:01:47 +00:00
Now all turfs work with this feature. (shuttle shitty turfs didn't because they were not part of /floor) Added a check on Move_Pulled() to see if the pulled atom is on a turf. This will stop the sleeper exploit and others.
26 lines
529 B
Plaintext
26 lines
529 B
Plaintext
/turf/simulated/floor/engine/attack_paw(var/mob/user as mob)
|
|
return src.attack_hand(user)
|
|
|
|
/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)
|
|
del(src)
|
|
return
|
|
if(2.0)
|
|
if (prob(50))
|
|
ChangeTurf(/turf/space)
|
|
del(src)
|
|
return
|
|
else
|
|
return
|
|
|
|
/turf/simulated/floor/engine/blob_act()
|
|
if (prob(25))
|
|
ChangeTurf(/turf/space)
|
|
del(src)
|
|
return
|
|
return |