Files
Batrachophreno 4ecb0bc21c Repath obj/machinery to obj/structure/machinery [MDB Ignore] (#22500)
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.
2026-05-26 19:35:48 +00:00

128 lines
3.6 KiB
Plaintext

/singleton/cargo_item/miningvoidsuit
category = "mining"
name = "mining voidsuit"
supplier = "nanotrasen"
description = "A special suit that protects against hazardous, low pressure environments. Has reinforced plating."
price = 800
items = list(
/obj/item/clothing/suit/space/void/mining
)
access = ACCESS_MINING
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/miningvoidsuithelmet
category = "mining"
name = "mining voidsuit helmet"
supplier = "nanotrasen"
description = "A special helmet designed for work in a hazardous, low pressure environment. Has reinforced plating."
price = 500
items = list(
/obj/item/clothing/head/helmet/space/void/mining
)
access = ACCESS_MINING
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/classakineticaccelerator
category = "mining"
name = "Class A Kinetic Accelerator"
supplier = "hephaestus"
description = "Contains a tactical KA frame, an experimental core KA power converter, a recoil reloading KA cell, and a upgrade chip - damage increase."
price = 3200
items = list(
/obj/item/gun/custom_ka/frame05/prebuilt
)
access = ACCESS_MINING
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/classbkineticaccelerator
category = "mining"
name = "Class B Kinetic Accelerator"
supplier = "hephaestus"
description = "Contains a heavy KA frame, a planet core KA power converter, a uranium recharging KA cell, and a upgrade chip - efficiency increase."
price = 2850
items = list(
/obj/item/gun/custom_ka/frame04/prebuilt
)
access = ACCESS_MINING
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/classckineticaccelerator
category = "mining"
name = "Class C Kinetic Accelerator"
supplier = "hephaestus"
description = "Contains a medium KA frame, a meteor core KA power converter, a kinetic KA cell, and a upgrade chip - focusing."
price = 2200
items = list(
/obj/item/gun/custom_ka/frame03/prebuilt
)
access = ACCESS_MINING
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/classdkineticaccelerator
category = "mining"
name = "Class D Kinetic Accelerator"
supplier = "hephaestus"
description = "Contains a light KA frame, a professional core KA power converter, an advanced pump recharging KA cell, and a upgrade chip - firedelay increase."
price = 1850
items = list(
/obj/item/gun/custom_ka/frame02/prebuilt
)
access = ACCESS_MINING
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/classekineticaccelerator
category = "mining"
name = "Class E Kinetic Accelerator"
supplier = "hephaestus"
description = "Contains a compact KA frame, a standard core KA power converter, a pump recharging KA cell, and a upgrade chip - focusing."
price = 1400
items = list(
/obj/item/gun/custom_ka/frame01/prebuilt
)
access = ACCESS_MINING
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/industrialminingdrill
category = "mining"
name = "mining drill"
supplier = "hephaestus"
description = "A large industrial drill. Its bore does not penetrate deep enough to access the sublevels."
price = 5000
items = list(
/obj/structure/machinery/mining/drill,
/obj/structure/machinery/mining/brace,
/obj/structure/machinery/mining/brace
)
access = ACCESS_MINING
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/orebox
category = "mining"
name = "ore box"
supplier = "hephaestus"
description = "Contains a box for storing ore."
price = 150
items = list(
/obj/structure/ore_box
)
access = 0
container_type = "box"
groupable = TRUE
spawn_amount = 1