mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-07 07:52:29 +00:00
Emergency shutters opened by silicons no longer autoclose.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
open_layer = DOOR_OPEN_LAYER - 0.01 // Just below doors when open
|
||||
closed_layer = DOOR_CLOSED_LAYER + 0.01 // Just above doors when closed
|
||||
|
||||
//These are frequenly used with windows, so make sure zones can pass.
|
||||
//These are frequenly used with windows, so make sure zones can pass.
|
||||
//Generally if a firedoor is at a place where there should be a zone boundery then there will be a regular door underneath it.
|
||||
block_air_zones = 0
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
"\The [src]", "Yes, [density ? "open" : "close"]", "No")
|
||||
if(answer == "No")
|
||||
return
|
||||
if(user.stat || user.stunned || user.weakened || user.paralysis || (!user.canmove && !isAI(user)) || (get_dist(src, user) > 1 && !isAI(user)))
|
||||
if(user.stat || user.stunned || user.weakened || user.paralysis || (!user.canmove && !user.isSilicon()) || (get_dist(src, user) > 1 && !isAI(user)))
|
||||
user << "Sorry, you must remain able bodied and close to \the [src] in order to use it."
|
||||
return
|
||||
if(density && (stat & (BROKEN|NOPOWER))) //can still close without power
|
||||
@@ -169,7 +169,7 @@
|
||||
if(alarmed)
|
||||
// Accountability!
|
||||
users_to_open |= user.name
|
||||
needs_to_close = 1
|
||||
needs_to_close = !user.isSilicon()
|
||||
spawn()
|
||||
open()
|
||||
else
|
||||
@@ -272,7 +272,7 @@
|
||||
spawn(0)
|
||||
close()
|
||||
return
|
||||
|
||||
|
||||
return ..()
|
||||
|
||||
// CHECK PRESSURE
|
||||
|
||||
Reference in New Issue
Block a user