Adds support for more "[dir] bump" mapping (#16908)

This commit is contained in:
S34N
2021-12-03 07:10:11 +00:00
committed by GitHub
parent 2781d3ffaa
commit 2797b60bc1
7 changed files with 32 additions and 1 deletions
@@ -9,31 +9,38 @@
flags = CONDUCT
var/circuitry_installed = 1
var/buildstage = 0
var/custom_name
dog_fashion = null
/obj/item/radio/intercom/custom
name = "station intercom (Custom)"
custom_name = TRUE
broadcasting = 0
listening = 0
/obj/item/radio/intercom/interrogation
name = "station intercom (Interrogation)"
custom_name = TRUE
frequency = AIRLOCK_FREQ
/obj/item/radio/intercom/private
name = "station intercom (Private)"
custom_name = TRUE
frequency = AI_FREQ
/obj/item/radio/intercom/command
name = "station intercom (Command)"
custom_name = TRUE
frequency = COMM_FREQ
/obj/item/radio/intercom/specops
name = "\improper Special Operations intercom"
custom_name = TRUE
frequency = ERT_FREQ
/obj/item/radio/intercom/department
canhear_range = 5
custom_name = TRUE
broadcasting = 0
listening = 1
@@ -59,6 +66,11 @@
GLOB.global_intercoms.Add(src)
update_icon()
/obj/item/radio/intercom/Initialize()
. = ..()
if(!custom_name)
name = "station intercom (General)"
/obj/item/radio/intercom/department/medbay/New()
..()
internal_channels = GLOB.default_medbay_channels.Copy()
@@ -252,6 +264,7 @@
/obj/item/radio/intercom/locked
freqlock = TRUE
custom_name = TRUE
/obj/item/radio/intercom/locked/ai_private
name = "\improper AI intercom"
@@ -19,6 +19,7 @@
/obj/structure/extinguisher_cabinet/Initialize(mapload, direction = null)
. = ..()
name = "extinguisher cabinet"
if(direction)
setDir(direction)
set_pixel_offsets_from_dir(28, -28, 30, -30)