mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Immovable rods now work properly again. Someone derped and accidentally gave them a 75% chance to delete themselves.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4118 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -19,22 +19,27 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
|
||||
Bump(atom/clong)
|
||||
if(istype(clong, /turf/simulated/shuttle)) //Skip shuttles without actually deleting the rod
|
||||
return
|
||||
if (istype(clong, /turf) && !istype(clong, /turf/unsimulated))
|
||||
|
||||
else if (istype(clong, /turf) && !istype(clong, /turf/unsimulated))
|
||||
if(clong.density)
|
||||
clong.ex_act(2)
|
||||
for (var/mob/O in hearers(src, null))
|
||||
O.show_message("CLANG", 2)
|
||||
if (istype(clong, /obj))
|
||||
|
||||
else if (istype(clong, /obj))
|
||||
if(clong.density)
|
||||
clong.ex_act(2)
|
||||
for (var/mob/O in hearers(src, null))
|
||||
O.show_message("CLANG", 2)
|
||||
if (istype(clong, /mob))
|
||||
|
||||
else if (istype(clong, /mob))
|
||||
if(clong.density || prob(10))
|
||||
clong.meteorhit(src)
|
||||
else
|
||||
del(src)
|
||||
|
||||
if(clong && prob(25))
|
||||
src.loc = clong.loc
|
||||
else del(src)
|
||||
|
||||
/proc/immovablerod()
|
||||
var/startx = 0
|
||||
|
||||
Reference in New Issue
Block a user