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:
@@ -133,7 +133,7 @@
|
||||
cyclelinkairlock()
|
||||
else
|
||||
if(cyclelinkeddir)
|
||||
cyclelinkairlock_old //yogs end
|
||||
cyclelinkairlock_old() //yogs end
|
||||
if(abandoned)
|
||||
var/outcome = rand(1,100)
|
||||
switch(outcome)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 7.0 KiB |
Reference in New Issue
Block a user