mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 10:04:30 +01:00
[MIRROR] Airlock name mapping helper [MDB IGNORE] (#12279)
* Airlock name mapping helper (#65581) * Airlock Autoname Helper * BYOND moment * Update mapping_helpers.dmi * Update airlock.dm * Airlock name mapping helper Co-authored-by: BluBerry016 <50649185+unit0016@users.noreply.github.com>
This commit is contained in:
@@ -180,6 +180,16 @@
|
||||
else
|
||||
airlock.cutAiWire = TRUE
|
||||
|
||||
/obj/effect/mapping_helpers/airlock/autoname
|
||||
name = "airlock autoname helper"
|
||||
icon_state = "airlock_autoname"
|
||||
|
||||
/obj/effect/mapping_helpers/airlock/autoname/payload(obj/machinery/door/airlock/airlock)
|
||||
if(airlock.autoname)
|
||||
log_mapping("[src] at [AREACOORD(src)] tried to autoname the [airlock] but it's already autonamed!")
|
||||
else
|
||||
airlock.autoname = TRUE
|
||||
|
||||
//needs to do its thing before spawn_rivers() is called
|
||||
INITIALIZE_IMMEDIATE(/obj/effect/mapping_helpers/no_lava)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user