Adds Service Airlocks (#13604)

This commit is contained in:
SleepyGemmy
2022-05-02 01:29:39 +02:00
committed by GitHub
parent 69a6fa2321
commit 0ef69c3cb6
8 changed files with 33 additions and 1 deletions
+19 -1
View File
@@ -141,6 +141,24 @@
return SSmaterials.get_material_by_name(mineral)
return SSmaterials.get_material_by_name(DEFAULT_WALL_MATERIAL)
/obj/machinery/door/airlock/service // Service Airlock
icon = 'icons/obj/doors/doorser.dmi'
assembly_type = /obj/structure/door_assembly/door_assembly_ser
hatch_colour = "#6f8751"
/obj/machinery/door/airlock/glass_service // Service Airlock (Glass)
name = "Glass Airlock"
icon = 'icons/obj/doors/doorserglass.dmi'
hitsound = 'sound/effects/glass_hit.ogg'
maxhealth = 300
explosion_resistance = 5
opacity = FALSE
assembly_type = /obj/structure/door_assembly/door_assembly_ser
glass = 1
hatch_colour = "#6f8751"
open_sound_powered = 'sound/machines/airlock/hall3o.ogg'
close_sound_powered = 'sound/machines/airlock/hall3c.ogg'
/obj/machinery/door/airlock/command
icon = 'icons/obj/doors/Doorcom.dmi'
assembly_type = /obj/structure/door_assembly/door_assembly_com
@@ -1680,4 +1698,4 @@ About the new airlock wires panel:
#undef CYBORG_AIRLOCKCRUSH_RESISTANCE
#undef BOLTS_FINE
#undef BOLTS_EXPOSED
#undef BOLTS_CUT
#undef BOLTS_CUT
@@ -25,6 +25,12 @@
. = ..()
update_state()
/obj/structure/door_assembly/door_assembly_ser
base_icon_state = "ser"
base_name = "Service Airlock"
glass_type = "/glass_service"
airlock_type = "/service"
/obj/structure/door_assembly/door_assembly_com
base_icon_state = "com"
base_name = "Command Airlock"
@@ -82,6 +82,7 @@
recipes += new /datum/stack_recipe_list("airlock assemblies",
list(
new /datum/stack_recipe("standard airlock assembly", /obj/structure/door_assembly, BUILD_AMT, time = 50, one_per_turf = 1, on_floor = 1),
new /datum/stack_recipe("service airlock assembly", /obj/structure/door_assembly/door_assembly_ser, BUILD_AMT, time = 50, one_per_turf = 1, on_floor = 1),
new /datum/stack_recipe("command airlock assembly", /obj/structure/door_assembly/door_assembly_com, BUILD_AMT, time = 50, one_per_turf = 1, on_floor = 1),
new /datum/stack_recipe("security airlock assembly", /obj/structure/door_assembly/door_assembly_sec, BUILD_AMT, time = 50, one_per_turf = 1, on_floor = 1),
new /datum/stack_recipe("engineering airlock assembly", /obj/structure/door_assembly/door_assembly_eng, BUILD_AMT, time = 50, one_per_turf = 1, on_floor = 1),
+7
View File
@@ -0,0 +1,7 @@
author: SleepyGemmy
delete-after: True
changes:
- rscadd: "Adds service airlocks to the code."
- tweak: "The default airlock sprite is now plain metal."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB