Mining RFD can now make train engine and carts (#19235)

Improved / refactored some code, particularly around RFD.
Added the ability for mining RFD to build the mining train engine and
carts.
Removed the RFD, carts and engine from the mining vendor.
Added the RFD as a roundstart printable protolathe design.
Made the mining vendor list a GLOB variable.
Resolved a runtime on vehicles trying to turn on without a cell being
present.
Mining vendor pizzas now have a random pizza subtype.
This commit is contained in:
Fluffy
2024-05-31 20:14:02 +00:00
committed by GitHub
parent f6a0f0595f
commit ad37d8d81d
6 changed files with 242 additions and 66 deletions
@@ -1,6 +1,13 @@
/datum/design/item/mining
p_category = "Mining Equipment Designs"
/datum/design/item/mining/mining_rfd
name = "Rapid Fabrication Device, Mining Class"
desc = "A Rapid Fabrication Device, modified to construct rails and mining carts, for an efficient mining operation."
materials = list(DEFAULT_WALL_MATERIAL = 3000, MATERIAL_GLASS = 3000)
build_path = /obj/item/rfd/mining
/datum/design/item/mining/jackhammer
req_tech = list(TECH_MATERIAL = 3, TECH_POWER = 2, TECH_ENGINEERING = 2)
materials = list(DEFAULT_WALL_MATERIAL = 2000, MATERIAL_GLASS = 500, MATERIAL_SILVER = 500)