mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
* Refactors armor into dedicated subtypes * start * most tg things * pain (#18584) * shit * non-mod changes * compile Co-authored-by: John Doe <gamingskeleton3@gmail.com> * #18291 * compile fix * ??? Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: John Doe <gamingskeleton3@gmail.com> Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
63 lines
1.8 KiB
Plaintext
63 lines
1.8 KiB
Plaintext
/obj/machinery/door/poddoor/shutters
|
|
gender = PLURAL
|
|
name = "shutters"
|
|
desc = "Heavy duty mechanical shutters with an atmospheric seal that keeps them airtight once closed."
|
|
icon = 'icons/obj/doors/shutters.dmi'
|
|
layer = SHUTTER_LAYER
|
|
closingLayer = SHUTTER_LAYER
|
|
damage_deflection = 20
|
|
armor_type = /datum/armor/poddoor_shutters
|
|
max_integrity = 100
|
|
recipe_type = /datum/crafting_recipe/shutters
|
|
|
|
/obj/machinery/door/poddoor/shutters/preopen
|
|
icon_state = "open"
|
|
density = FALSE
|
|
opacity = FALSE
|
|
|
|
/obj/machinery/door/poddoor/shutters/indestructible
|
|
name = "hardened shutters"
|
|
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
|
|
|
/obj/machinery/door/poddoor/shutters/radiation
|
|
name = "radiation shutters"
|
|
desc = "Lead-lined shutters with a radiation hazard symbol. Whilst this won't stop you getting irradiated, especially by a supermatter crystal, it will stop radiation travelling as far."
|
|
icon = 'icons/obj/doors/shutters_radiation.dmi'
|
|
icon_state = "closed"
|
|
rad_insulation = RAD_EXTREME_INSULATION
|
|
|
|
/obj/machinery/door/poddoor/shutters/radiation/preopen
|
|
icon_state = "open"
|
|
density = FALSE
|
|
opacity = FALSE
|
|
rad_insulation = RAD_NO_INSULATION
|
|
|
|
/datum/armor/poddoor_shutters
|
|
melee = 20
|
|
bullet = 20
|
|
laser = 20
|
|
energy = 75
|
|
bomb = 25
|
|
fire = 100
|
|
acid = 70
|
|
|
|
/obj/machinery/door/poddoor/shutters/radiation/open()
|
|
. = ..()
|
|
rad_insulation = RAD_NO_INSULATION
|
|
|
|
/obj/machinery/door/poddoor/shutters/radiation/close()
|
|
. = ..()
|
|
rad_insulation = RAD_EXTREME_INSULATION
|
|
|
|
/obj/machinery/door/poddoor/shutters/window
|
|
name = "windowed shutters"
|
|
desc = "A shutter with a thick see-through polycarbonate window."
|
|
icon = 'icons/obj/doors/shutters_window.dmi'
|
|
icon_state = "closed"
|
|
opacity = FALSE
|
|
glass = TRUE
|
|
|
|
/obj/machinery/door/poddoor/shutters/window/preopen
|
|
icon_state = "open"
|
|
density = FALSE
|