Adjusts airlock power usage

This commit is contained in:
mwerezak
2014-07-12 02:53:42 -04:00
parent fa1f587939
commit c31a8e11eb

View File

@@ -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