mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-21 23:52:48 +00:00
Adjusts airlock power usage
This commit is contained in:
@@ -1251,7 +1251,7 @@ About the new airlock wires panel:
|
|||||||
if(!forced)
|
if(!forced)
|
||||||
if( !arePowerSystemsOn() || (stat & NOPOWER) || isWireCut(AIRLOCK_WIRE_OPEN_DOOR) )
|
if( !arePowerSystemsOn() || (stat & NOPOWER) || isWireCut(AIRLOCK_WIRE_OPEN_DOOR) )
|
||||||
return 0
|
return 0
|
||||||
use_power(50)
|
use_power(360) //360 W seems much more appropriate for an actuator moving an industrial door capable of crushing people
|
||||||
if(istype(src, /obj/machinery/door/airlock/glass))
|
if(istype(src, /obj/machinery/door/airlock/glass))
|
||||||
playsound(src.loc, 'sound/machines/windowdoor.ogg', 100, 1)
|
playsound(src.loc, 'sound/machines/windowdoor.ogg', 100, 1)
|
||||||
else
|
else
|
||||||
@@ -1293,7 +1293,7 @@ About the new airlock wires panel:
|
|||||||
if(istype(location, /turf/simulated))
|
if(istype(location, /turf/simulated))
|
||||||
location.add_blood(M)
|
location.add_blood(M)
|
||||||
|
|
||||||
use_power(50)
|
use_power(360) //360 W seems much more appropriate for an actuator moving an industrial door capable of crushing people
|
||||||
if(istype(src, /obj/machinery/door/airlock/glass))
|
if(istype(src, /obj/machinery/door/airlock/glass))
|
||||||
playsound(src.loc, 'sound/machines/windowdoor.ogg', 30, 1)
|
playsound(src.loc, 'sound/machines/windowdoor.ogg', 30, 1)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user