mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Adds Service Airlocks (#13604)
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user