pads that work without power
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/obj/machinery/quantumpad
|
||||
/// Does the quantum pad need power to work?
|
||||
var/needs_power = TRUE
|
||||
|
||||
/obj/machinery/quantumpad/always_powered
|
||||
needs_power = FALSE
|
||||
|
||||
+18
-1
@@ -3226,6 +3226,23 @@
|
||||
},
|
||||
/turf/open/floor/plasteel,
|
||||
/area/mine/living_quarters)
|
||||
"Xd" = (
|
||||
/obj/machinery/atmospherics/pipe/simple/supply/hidden{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer3{
|
||||
dir = 4
|
||||
},
|
||||
/obj/structure/cable{
|
||||
icon_state = "4-8"
|
||||
},
|
||||
/obj/machinery/quantumpad/always_powered{
|
||||
name = "To xenoarch";
|
||||
map_pad_id = "from_mining";
|
||||
map_pad_link_id = "to_mining"
|
||||
},
|
||||
/turf/open/floor/plasteel,
|
||||
/area/mine/living_quarters)
|
||||
"Xo" = (
|
||||
/obj/machinery/light/small{
|
||||
dir = 4
|
||||
@@ -5436,7 +5453,7 @@ Ms
|
||||
rU
|
||||
se
|
||||
EH
|
||||
JP
|
||||
Xd
|
||||
Ag
|
||||
VN
|
||||
IY
|
||||
|
||||
@@ -4742,7 +4742,8 @@
|
||||
/obj/machinery/quantumpad{
|
||||
map_pad_id = "xenoarch";
|
||||
map_pad_link_id = "station";
|
||||
mapped_quantum_pads = list("station","xenoarch")
|
||||
mapped_quantum_pads = list("station","xenoarch");
|
||||
name = "To station"
|
||||
},
|
||||
/turf/open/floor/plasteel/dark,
|
||||
/area/xenoarch/gen)
|
||||
@@ -4758,9 +4759,10 @@
|
||||
/turf/open/floor/plating,
|
||||
/area/xenoarch/gen)
|
||||
"kT" = (
|
||||
/obj/structure/ladder/unbreakable{
|
||||
height = 1;
|
||||
id = "xenoarch"
|
||||
/obj/machinery/quantumpad/always_powered{
|
||||
name = "To mining";
|
||||
map_pad_id = "to_mining";
|
||||
map_pad_link_id = "from_mining"
|
||||
},
|
||||
/turf/open/floor/plasteel/dark,
|
||||
/area/xenoarch/gen)
|
||||
|
||||
@@ -135,11 +135,11 @@
|
||||
if(!src || QDELETED(src))
|
||||
teleporting = FALSE
|
||||
return
|
||||
if(machine_stat & NOPOWER)
|
||||
if(needs_power && (machine_stat & NOPOWER)) // GS13 EDIT
|
||||
to_chat(user, "<span class='warning'>[src] is unpowered!</span>")
|
||||
teleporting = FALSE
|
||||
return
|
||||
if(!target_pad || QDELETED(target_pad) || target_pad.machine_stat & NOPOWER)
|
||||
if(!target_pad || QDELETED(target_pad) || (needs_power && (target_pad.machine_stat & NOPOWER))) // GS13 EDIT
|
||||
to_chat(user, "<span class='warning'>Linked pad is not responding to ping. Teleport aborted.</span>")
|
||||
teleporting = FALSE
|
||||
return
|
||||
|
||||
@@ -3948,6 +3948,7 @@
|
||||
#include "GainStation13\code\machinery\fattening_turret.dm"
|
||||
#include "GainStation13\code\machinery\feeding_tube.dm"
|
||||
#include "GainStation13\code\machinery\gym.dm"
|
||||
#include "GainStation13\code\machinery\powered_quantum_pad.dm"
|
||||
#include "GainStation13\code\machinery\supply_teleporter.dm"
|
||||
#include "GainStation13\code\mechanics\calorite.dm"
|
||||
#include "GainStation13\code\mechanics\fatness.dm"
|
||||
|
||||
Reference in New Issue
Block a user