forgot to stage half the stuff

This commit is contained in:
Lostlarry
2019-06-22 21:26:30 +02:00
parent 2846fbcced
commit 36a68340a7
3 changed files with 17 additions and 1 deletions

View File

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

View File

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