mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-29 19:42:42 +00:00
•Fix for invisible, unpassable racks though they still lack a sprite. Thanks, Quar.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2396 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -279,15 +279,19 @@ TABLE AND RACK OBJECT INTERATIONS
|
||||
del(src)
|
||||
return
|
||||
if(2.0)
|
||||
if (prob(50))
|
||||
if(prob(50))
|
||||
del(src)
|
||||
return
|
||||
return
|
||||
if(3.0)
|
||||
if (prob(25))
|
||||
if(prob(25))
|
||||
src.icon_state = "rackbroken"
|
||||
src.density = 0
|
||||
return
|
||||
return
|
||||
else
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
/obj/structure/rack/blob_act()
|
||||
if(prob(75))
|
||||
@@ -300,6 +304,8 @@ TABLE AND RACK OBJECT INTERATIONS
|
||||
|
||||
/obj/structure/rack/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
|
||||
if(air_group || (height==0)) return 1
|
||||
if(src.density == 0) //Because broken racks -Agouri |TODO: SPRITE!|
|
||||
return 1
|
||||
if(istype(mover) && mover.checkpass(PASSTABLE))
|
||||
return 1
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user