Reorganise smithing files into a modules folder (#28782)

* reorganise smithing into a module

* move casts

* rename and move some files

* move defines

* update dme

* move hopper defines

* move ORM/hopper point defines

* remove redefine

* rename smith defines, move smith datums

* implement 28806 and 28877

* remove old files
This commit is contained in:
datlo
2025-04-04 07:59:01 +00:00
committed by GitHub
parent 5563f3ff19
commit d46e2f8fde
24 changed files with 2324 additions and 2358 deletions
@@ -0,0 +1,131 @@
/obj/item/smithed_item/component/insert_frame
name = "Debug insert frame"
icon_state = "insert_frame"
desc = "Debug smithed component part of an insert. If you see this, notify the development team."
part_type = PART_PRIMARY
/obj/item/smithed_item/component/insert_frame/ballistic
name = "ballistic insert frame"
desc = "This is the primary component of a ballistic plate."
materials = list(MAT_METAL = 10000)
finished_product = /obj/item/smithed_item/insert/ballistic
/obj/item/smithed_item/component/insert_frame/thermal
name = "thermal insert frame"
desc = "This is the primary component of a thermal plate."
materials = list(MAT_GOLD = 6000)
finished_product = /obj/item/smithed_item/insert/thermal
/obj/item/smithed_item/component/insert_frame/fireproofing
name = "fireproofing insert frame"
desc = "This is the primary component of a fireproofing plate."
materials = list(MAT_SILVER = 10000)
finished_product = /obj/item/smithed_item/insert/fireproofing
/obj/item/smithed_item/component/insert_frame/reflective
name = "reflective insert frame"
desc = "This is the primary component of a reflective plate."
materials = list(MAT_SILVER = 10000)
finished_product = /obj/item/smithed_item/insert/reflective
/obj/item/smithed_item/component/insert_frame/rad_hazard
name = "radiation hazard insert frame"
desc = "This is the primary component of a radiation hazard plate."
materials = list(MAT_GOLD = 6000)
finished_product = /obj/item/smithed_item/insert/rad_hazard
/obj/item/smithed_item/component/insert_frame/rubberized
name = "rubberized insert frame"
desc = "This is the primary component of a rubberized plate."
materials = list(MAT_PLASMA = 10000)
finished_product = /obj/item/smithed_item/insert/rubberized
/obj/item/smithed_item/component/insert_frame/advanced
name = "advanced insert frame"
desc = "This is the primary component of a advanced armor mesh."
materials = list(MAT_METAL = 10000, MAT_PLASMA = 10000)
finished_product = /obj/item/smithed_item/insert/advanced
/obj/item/smithed_item/component/insert_frame/engineering
name = "engineering insert frame"
desc = "This is the primary component of a advanced engineering mesh."
materials = list(MAT_GOLD = 10000, MAT_SILVER = 10000)
finished_product = /obj/item/smithed_item/insert/engineering
/obj/item/smithed_item/component/insert_frame/heavy
name = "heavy duty insert frame"
desc = "This is the primary component of a advanced heavy duty plate."
materials = list(MAT_TITANIUM = 20000, MAT_PLASMA = 20000)
finished_product = /obj/item/smithed_item/insert/heavy
/obj/item/smithed_item/component/insert_frame/mobility
name = "mobility mesh insert frame"
desc = "This is the primary component of a advanced mobility mesh."
materials = list(MAT_BLUESPACE = 4000)
finished_product = /obj/item/smithed_item/insert/mobility
/obj/item/smithed_item/component/insert_lining
name = "Debug insert lining"
icon_state = "insert_lining"
desc = "Debug smithed component part of an insert. If you see this, notify the development team."
part_type = PART_SECONDARY
/obj/item/smithed_item/component/insert_lining/ballistic
name = "ballistic insert lining"
desc = "This is the secondary component of a ballistic plate."
materials = list(MAT_METAL = 10000)
finished_product = /obj/item/smithed_item/insert/ballistic
/obj/item/smithed_item/component/insert_lining/thermal
name = "thermal insert lining"
desc = "This is the secondary component of a thermal plate."
materials = list(MAT_METAL = 10000)
finished_product = /obj/item/smithed_item/insert/thermal
/obj/item/smithed_item/component/insert_lining/fireproofing
name = "fireproofing insert lining"
desc = "This is the secondary component of a fireproofing plate."
materials = list(MAT_METAL = 10000, MAT_PLASMA = 10000)
finished_product = /obj/item/smithed_item/insert/fireproofing
/obj/item/smithed_item/component/insert_lining/reflective
name = "reflective insert lining"
desc = "This is the secondary component of a reflective plate."
materials = list(MAT_GOLD = 6000)
finished_product = /obj/item/smithed_item/insert/reflective
/obj/item/smithed_item/component/insert_lining/rad_hazard
name = "radiation hazard insert lining"
desc = "This is the secondary component of a radiation hazard plate."
materials = list(MAT_TITANIUM = 10000)
finished_product = /obj/item/smithed_item/insert/rad_hazard
/obj/item/smithed_item/component/insert_lining/rubberized
name = "rubberized insert lining"
desc = "This is the secondary component of a rubberized plate."
materials = list(MAT_PLASMA = 10000)
finished_product = /obj/item/smithed_item/insert/rubberized
/obj/item/smithed_item/component/insert_lining/advanced
name = "advanced insert lining"
desc = "This is the secondary component of a advanced armor mesh."
materials = list(MAT_TITANIUM = 10000, MAT_DIAMOND = 2000)
finished_product = /obj/item/smithed_item/insert/advanced
/obj/item/smithed_item/component/insert_lining/engineering
name = "engineering insert lining"
desc = "This is the secondary component of a advanced engineering mesh."
materials = list(MAT_TITANIUM = 10000, MAT_IRIDIUM = 2000)
finished_product = /obj/item/smithed_item/insert/engineering
/obj/item/smithed_item/component/insert_lining/heavy
name = "heavy duty insert lining"
desc = "This is the secondary component of a advanced heavy duty plate."
materials = list(MAT_TITANIUM = 10000, MAT_PLATINUM = 2000)
finished_product = /obj/item/smithed_item/insert/heavy
/obj/item/smithed_item/component/insert_lining/mobility
name = "mobility mesh insert lining"
desc = "This is the secondary component of a advanced mobility mesh."
materials = list(MAT_PALLADIUM = 2000)
finished_product = /obj/item/smithed_item/insert/mobility
@@ -0,0 +1,95 @@
/obj/item/smithed_item/component/lens_frame
name = "Debug lens frame"
icon_state = "lens_frame"
desc = "Debug smithed component part of a laser lens. If you see this, notify the development team."
part_type = PART_PRIMARY
/obj/item/smithed_item/component/lens_frame/accelerator
name = "accelerator lens frame"
desc = "This is the primary component of an accelerator lens."
materials = list(MAT_TITANIUM = 4000)
finished_product = /obj/item/smithed_item/lens/accelerator
/obj/item/smithed_item/component/lens_frame/speed
name = "speed lens frame"
desc = "This is the primary component of a speed lens."
materials = list(MAT_METAL = 4000)
finished_product = /obj/item/smithed_item/lens/speed
/obj/item/smithed_item/component/lens_frame/amplifier
name = "amplifier lens frame"
desc = "This is the primary component of an amplifier lens."
materials = list(MAT_GOLD = 4000)
finished_product = /obj/item/smithed_item/lens/amplifier
/obj/item/smithed_item/component/lens_frame/efficiency
name = "efficiency lens frame"
desc = "This is the primary component of an efficiency lens."
materials = list(MAT_SILVER = 4000)
finished_product = /obj/item/smithed_item/lens/efficiency
/obj/item/smithed_item/component/lens_frame/rapid
name = "rapid lens frame"
desc = "This is the primary component of an advanced rapid lens."
materials = list(MAT_PALLADIUM = 2000)
finished_product = /obj/item/smithed_item/lens/rapid
/obj/item/smithed_item/component/lens_frame/densifier
name = "densifier lens frame"
desc = "This is the primary component of an advanced densifier lens."
materials = list(MAT_PLATINUM = 2000)
finished_product = /obj/item/smithed_item/lens/densifier
/obj/item/smithed_item/component/lens_frame/velocity
name = "velocity lens frame"
desc = "This is the primary component of an advanced velocity lens."
materials = list(MAT_BRASS = 30000)
finished_product = /obj/item/smithed_item/lens/velocity
/obj/item/smithed_item/component/lens_focus
name = "Debug lens focus"
icon_state = "lens_focus"
desc = "Debug smithed component part of a laser lens. If you see this, notify the development team."
part_type = PART_SECONDARY
/obj/item/smithed_item/component/lens_focus/accelerator
name = "accelerator lens focus"
desc = "This is the secondary component of an accelerator lens."
materials = list(MAT_METAL = 4000, MAT_GLASS = 10000)
finished_product = /obj/item/smithed_item/lens/accelerator
/obj/item/smithed_item/component/lens_focus/speed
name = "speed lens focus"
desc = "This is the secondary component of a speed lens."
materials = list(MAT_PLASMA = 4000, MAT_GLASS = 10000)
finished_product = /obj/item/smithed_item/lens/speed
/obj/item/smithed_item/component/lens_focus/amplifier
name = "amplifier lens focus"
desc = "This is the secondary component of an amplifier lens."
materials = list(MAT_TITANIUM = 4000, MAT_GLASS = 10000)
finished_product = /obj/item/smithed_item/lens/amplifier
/obj/item/smithed_item/component/lens_focus/efficiency
name = "efficiency lens focus"
desc = "This is the secondary component of an efficiency lens."
materials = list(MAT_METAL = 4000, MAT_GLASS = 10000)
finished_product = /obj/item/smithed_item/lens/efficiency
/obj/item/smithed_item/component/lens_focus/rapid
name = "rapid lens focus"
desc = "This is the secondary component of an advanced rapid lens."
materials = list(MAT_PLASMA = 10000, MAT_GLASS = 10000, MAT_DIAMOND = 2000)
finished_product = /obj/item/smithed_item/lens/rapid
/obj/item/smithed_item/component/lens_focus/densifier
name = "densifier lens focus"
desc = "This is the secondary component of an advanced densifier lens."
materials = list(MAT_PLASMA = 10000, MAT_GLASS = 10000, MAT_DIAMOND = 2000)
finished_product = /obj/item/smithed_item/lens/densifier
/obj/item/smithed_item/component/lens_focus/velocity
name = "velocity lens focus"
desc = "This is the secondary component of an advanced velocity lens."
materials = list(MAT_PLASMA = 10000, MAT_GLASS = 10000, MAT_DIAMOND = 2000)
finished_product = /obj/item/smithed_item/lens/velocity
@@ -0,0 +1,83 @@
/obj/item/smithed_item/component/bit_mount
name = "Debug bit mount"
icon_state = "bit_mount"
desc = "Debug smithed component part of a tool bit. If you see this, notify the development team."
part_type = PART_PRIMARY
/obj/item/smithed_item/component/bit_mount/speed
name = "speed bit mount"
desc = "This is the primary component of a speed bit"
materials = list(MAT_TITANIUM = 4000)
finished_product = /obj/item/smithed_item/tool_bit/speed
/obj/item/smithed_item/component/bit_mount/efficiency
name = "efficiency bit mount"
desc = "This is the primary component of an efficiency bit"
materials = list(MAT_SILVER = 4000)
finished_product = /obj/item/smithed_item/tool_bit/efficiency
/obj/item/smithed_item/component/bit_mount/balanced
name = "balanced bit mount"
desc = "This is the primary component of an balanced bit."
materials = list(MAT_TITANIUM = 4000)
finished_product = /obj/item/smithed_item/tool_bit/balanced
/obj/item/smithed_item/component/bit_mount/heavy
name = "heavy duty bit mount"
desc = "This is the primary component of a heavy duty bit."
materials = list(MAT_TITANIUM = 8000, MAT_PLASMA = 8000)
finished_product = /obj/item/smithed_item/tool_bit/heavy
/obj/item/smithed_item/component/bit_mount/economical
name = "economical bit mount"
desc = "This is the primary component of an economical bit."
materials = list(MAT_TITANIUM = 4000, MAT_PLASMA = 4000)
finished_product = /obj/item/smithed_item/tool_bit/economical
/obj/item/smithed_item/component/bit_mount/advanced
name = "advanced bit mount"
desc = "This is the primary component of an advanced bit."
materials = list(MAT_TITANIUM = 4000, MAT_PLASMA = 4000)
finished_product = /obj/item/smithed_item/tool_bit/advanced
/obj/item/smithed_item/component/bit_head
name = "Debug bit head"
icon_state = "bit_head"
desc = "Debug smithed component part of a tool bit. If you see this, notify the development team."
part_type = PART_SECONDARY
/obj/item/smithed_item/component/bit_head/speed
name = "speed bit head"
desc = "This is the secondary component of a speed bit."
materials = list(MAT_METAL = 4000)
finished_product = /obj/item/smithed_item/tool_bit/speed
/obj/item/smithed_item/component/bit_head/efficiency
name = "efficiency bit head"
desc = "This is the secondary component of an efficiency bit."
materials = list(MAT_METAL = 4000)
finished_product = /obj/item/smithed_item/tool_bit/efficiency
/obj/item/smithed_item/component/bit_head/balanced
name = "balanced bit head"
desc = "This is the secondary component of a balanced bit."
materials = list(MAT_BRASS = 4000)
finished_product = /obj/item/smithed_item/tool_bit/balanced
/obj/item/smithed_item/component/bit_head/heavy
name = "heavy duty bit head"
desc = "This is the secondary component of a heavy duty bit."
materials = list(MAT_METAL = 8000, MAT_PLASMA = 8000)
finished_product = /obj/item/smithed_item/tool_bit/heavy
/obj/item/smithed_item/component/bit_head/economical
name = "economical bit head"
desc = "This is the secondary component of an economical bit."
materials = list(MAT_METAL = 4000, MAT_PLASMA = 4000)
finished_product = /obj/item/smithed_item/tool_bit/economical
/obj/item/smithed_item/component/bit_head/advanced
name = "advanced bit head"
desc = "This is the secondary component of an advanced bit."
materials = list(MAT_METAL = 4000, MAT_PLATINUM = 4000)
finished_product = /obj/item/smithed_item/tool_bit/advanced
+95
View File
@@ -0,0 +1,95 @@
/obj/item/smithed_item/component/trim
name = "Debug trim"
icon_state = "trim"
desc = "Debug smithed component part of any smithed item. If you see this, notify the development team."
part_type = PART_TRIM
/obj/item/smithed_item/component/trim/set_name()
if(!quality)
return
name = "[quality.name] " + name
return
/obj/item/smithed_item/component/trim/metal
name = "metal trim"
desc = "Smithed component of any smithing item. Made of metal."
materials = list(MAT_METAL = 10000)
material = /datum/smith_material/metal
/obj/item/smithed_item/component/trim/silver
name = "silver trim"
desc = "Smithed component of any smithing item. Made of silver."
materials = list(MAT_SILVER = 10000)
material = /datum/smith_material/silver
/obj/item/smithed_item/component/trim/gold
name = "gold trim"
desc = "Smithed component of any smithing item. Made of gold."
materials = list(MAT_GOLD = 10000)
material = /datum/smith_material/gold
/obj/item/smithed_item/component/trim/plasma
name = "plasma trim"
desc = "Smithed component of any smithing item. Made of solid plasma."
materials = list(MAT_PLASMA = 10000)
material = /datum/smith_material/plasma
/obj/item/smithed_item/component/trim/titanium
name = "titanium trim"
desc = "Smithed component of any smithing item. Made of titanium."
materials = list(MAT_TITANIUM = 10000)
material = /datum/smith_material/titanium
/obj/item/smithed_item/component/trim/uranium
name = "uranium trim"
desc = "Smithed component of any smithing item. Made of uranium."
materials = list(MAT_URANIUM = 10000)
material = /datum/smith_material/uranium
/obj/item/smithed_item/component/trim/diamond
name = "diamond trim"
desc = "Smithed component of any smithing item. Made of diamond."
materials = list(MAT_DIAMOND = 10000)
material = /datum/smith_material/diamond
/obj/item/smithed_item/component/trim/bluespace
name = "bluespace trim"
desc = "Smithed component of any smithing item. Made of bluespace crystals."
materials = list(MAT_BLUESPACE = 10000)
material = /datum/smith_material/bluespace
/obj/item/smithed_item/component/trim/plasteel
name = "plasteel trim"
desc = "Smithed component of any smithing item. Made of plasteel."
materials = list(MAT_METAL = 10000, MAT_PLASMA = 10000)
material = /datum/smith_material/plasteel
/obj/item/smithed_item/component/trim/plastitanium
name = "plastitanium trim"
desc = "Smithed component of any smithing item. Made of plastitanium."
materials = list(MAT_TITANIUM = 10000, MAT_PLASMA = 10000)
material = /datum/smith_material/plastitanium
/obj/item/smithed_item/component/trim/iridium
name = "iridium trim"
desc = "Smithed component of any smithing item. Made of iridium."
materials = list(MAT_IRIDIUM = 10000)
material = /datum/smith_material/iridium
/obj/item/smithed_item/component/trim/palladium
name = "palladium trim"
desc = "Smithed component of any smithing item. Made of palladium."
materials = list(MAT_PALLADIUM = 10000)
material = /datum/smith_material/palladium
/obj/item/smithed_item/component/trim/platinum
name = "platinum trim"
desc = "Smithed component of any smithing item. Made of platinum."
materials = list(MAT_PLATINUM = 10000)
material = /datum/smith_material/platinum
/obj/item/smithed_item/component/trim/brass
name = "brass trim"
desc = "Smithed component of any smithing item. Made of brass."
materials = list(MAT_BRASS = 10000)
material = /datum/smith_material/brass