mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 07:58:57 +01:00
4ecb0bc21c
Repaths obj/machinery to obj/structure/machinery. **Note for reviewers:** the only meaningful changed code exists within **code/game/objects/structures.dm** and **code/game/objects/structures/_machinery.dm**, largely concerning damage procs. With the exception of moving airlock defines to their own file, ALL OTHER CHANGES ARE STRICTLY PATH CHANGES. Objects, _categorically_, are largely divided between those you can hold in your hand/inventory and those you can't. Machinery objects are already subtypes of Structures behaviorally, this PR just makes their pathing reflect that, and allows for future work (tool actions, more health/destruction functionality) to be developed without unnecessary code duplication. I have tested this PR by loading up the Horizon and dismantling various machines and structures with tools, shooting guns of various types throughout the ship, and detonating a bunch of explosions throughout the ship.
266 lines
7.2 KiB
Plaintext
266 lines
7.2 KiB
Plaintext
/singleton/cargo_item/oxygentank
|
|
category = "atmos"
|
|
name = "oxygen tank"
|
|
supplier = "hephaestus"
|
|
description = "A man-portable tank containing oxygen, the precious gas of life. Unless you're Vaurca, in which case it's pure poison."
|
|
price = 80
|
|
items = list(
|
|
/obj/item/tank/oxygen
|
|
)
|
|
access = 0
|
|
container_type = "crate"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/phorontank
|
|
category = "atmos"
|
|
name = "phoron tank"
|
|
supplier = "nanotrasen"
|
|
description = "A man-portable tank containing phoron, pure poison. Unless you're Vaurca, in which case it's the precious gas of life."
|
|
price = 1200
|
|
items = list(
|
|
/obj/item/tank/phoron
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "crate"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/hydrogentank
|
|
category = "atmos"
|
|
name = "hydrogen tank"
|
|
supplier = "hephaestus"
|
|
description = "A man-portable tank containing hydrogen. Do not inhale. Warning: extremely flammable."
|
|
price = 45
|
|
items = list(
|
|
/obj/item/tank/hydrogen
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "crate"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/portable_air_pump
|
|
category = "atmos"
|
|
name = "portable air pump"
|
|
supplier = "hephaestus"
|
|
description = "Used to fill or drain rooms without differentiating between gasses. NOTE: Does not come pre-filled. Air sold separately."
|
|
price = 130
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/powered/pump
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/portable_air_scrubber
|
|
category = "atmos"
|
|
name = "portable air scrubber"
|
|
supplier = "hephaestus"
|
|
description = "Scrubs contaminants from the local atmosphere or the connected portable tank."
|
|
price = 150
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/powered/scrubber
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_air
|
|
category = "atmos"
|
|
name = "Canister (Air)"
|
|
supplier = "hephaestus"
|
|
description = "Holds a nitrogen-oxygen mixture of breathable air. Has a built-in valve to allow for filling portable tanks."
|
|
price = 180
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/air
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_3he
|
|
category = "atmos"
|
|
name = "Canister (Helium-3)"
|
|
supplier = "hephaestus"
|
|
description = "Holds Helium-3 gas, a valuable fusion fuel. Has a built-in valve to allow for filling portable tanks."
|
|
price = 3800
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/heliumfuel
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_co2
|
|
category = "atmos"
|
|
name = "Canister (CO2)"
|
|
supplier = "hephaestus"
|
|
description = "Holds heavy CO2 gas, whatever that is. Has a built-in valve to allow for filling portable tanks."
|
|
price = 300
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/carbon_dioxide
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_h2
|
|
category = "atmos"
|
|
name = "Canister (Hydrogen)"
|
|
supplier = "hephaestus"
|
|
description = "Holds flammable hydrogen. Has a built-in valve to allow for filling portable tanks."
|
|
price = 350
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/hydrogen
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_he
|
|
category = "atmos"
|
|
name = "Canister (Helium)"
|
|
supplier = "hephaestus"
|
|
description = "Holds voice-changing helium. Has a built-in valve to allow for filling portable tanks."
|
|
price = 320
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/helium
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_n2
|
|
category = "atmos"
|
|
name = "Canister (Nitrogen)"
|
|
supplier = "hephaestus"
|
|
description = "Holds inert nitrogen. Has a built-in valve to allow for filling portable tanks."
|
|
price = 320
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/nitrogen
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_n2o
|
|
category = "atmos"
|
|
name = "Canister (Nitrous Oxide)"
|
|
supplier = "hephaestus"
|
|
description = "Holds sleepy nitrous oxide. Has a built-in valve to allow for filling portable tanks."
|
|
price = 650
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/sleeping_agent
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_o2
|
|
category = "atmos"
|
|
name = "Canister (Oxygen)"
|
|
supplier = "hephaestus"
|
|
description = "Holds precious oxygen. Has a built-in valve to allow for filling portable tanks."
|
|
price = 450
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/oxygen
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/canister_phoron
|
|
category = "atmos"
|
|
name = "Canister (Phoron)"
|
|
supplier = "nanotrasen"
|
|
description = "Holds valuable phoron gas. Has a built-in valve to allow for filling portable tanks."
|
|
price = 5500
|
|
items = list(
|
|
/obj/structure/machinery/portable_atmospherics/canister/phoron
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/pipedispenser
|
|
category = "atmos"
|
|
name = "pipe dispenser"
|
|
supplier = "hephaestus"
|
|
description = "It dispenses pipes, no idea how though."
|
|
price = 90
|
|
items = list(
|
|
/obj/structure/machinery/pipedispenser/orderable
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "box"
|
|
groupable = FALSE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/paint_sprayer
|
|
category = "atmos"
|
|
name = "paint sprayer"
|
|
supplier = "hephaestus"
|
|
description = "Its said that green pipes are safe to travel through."
|
|
price = 25
|
|
items = list(
|
|
/obj/item/paint_sprayer
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "crate"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/rpd
|
|
category = "atmos"
|
|
name = "Rapid Fabrication Device P-Class"
|
|
supplier = "hephaestus"
|
|
description = "A heavily modified RFD, modified to construct pipes and piping accessories."
|
|
price = 45
|
|
items = list(
|
|
/obj/item/rfd/piping
|
|
)
|
|
access = ACCESS_ENGINE
|
|
container_type = "crate"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/atmosvoidsuit
|
|
category = "atmos"
|
|
name = "atmospherics voidsuit"
|
|
supplier = "hephaestus"
|
|
description = "A special suit that protects against hazardous, low pressure environments. Has unmatched thermal protection and minor radiation protection."
|
|
price = 800
|
|
items = list(
|
|
/obj/item/clothing/suit/space/void/atmos
|
|
)
|
|
access = ACCESS_ATMOSPHERICS
|
|
container_type = "crate"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|
|
|
|
/singleton/cargo_item/atmosphericsvoidsuithelmet
|
|
category = "atmos"
|
|
name = "atmospherics voidsuit helmet"
|
|
supplier = "hephaestus"
|
|
description = "A special helmet designed for work in a hazardous, low pressure environments. Has unmatched thermal and minor radiation protection."
|
|
price = 500
|
|
items = list(
|
|
/obj/item/clothing/head/helmet/space/void/atmos
|
|
)
|
|
access = ACCESS_ATMOSPHERICS
|
|
container_type = "crate"
|
|
groupable = TRUE
|
|
spawn_amount = 1
|