mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
forgot to stage half the stuff
This commit is contained in:
@@ -127,6 +127,22 @@
|
||||
else
|
||||
airlock.cyclelinkeddir = dir
|
||||
|
||||
/obj/effect/mapping_helpers/airlock/cyclelink_helper_target //yogs start
|
||||
name = "airlock cyclelink helper target"
|
||||
icon_state = "airlock_cyclelink_helper_target"
|
||||
var/dirx
|
||||
var/diry
|
||||
|
||||
/obj/effect/mapping_helpers/airlock/cyclelink_helper_target/payload(obj/machinery/door/airlock/airlock)
|
||||
if(airlock.cyclelinkedx || airlock.cyclelinkedy)
|
||||
log_mapping("[src] at [AREACOORD(src)] tried to set [airlock] cyclelinkedx and y, but they're already set")
|
||||
else
|
||||
if(!dirx && !diry)
|
||||
log_mapping("[src] at [AREACOORD(src)] tried to set [airlock] cyclelinkedx and y, but has dirx and diry are uninitialized")
|
||||
return
|
||||
airlock.cyclelinkedx = dirx
|
||||
airlock.cyclelinkedy = diry//yogs end
|
||||
|
||||
|
||||
/obj/effect/mapping_helpers/airlock/locked
|
||||
name = "airlock lock helper"
|
||||
|
||||
Reference in New Issue
Block a user