Materials subsystem, material defines instead of strings, structure materials. (#8447)

The shitcode crusade begins.
This commit is contained in:
Matt Atlas
2020-03-18 20:19:11 +01:00
committed by GitHub
parent d952493ca0
commit 82437acd43
127 changed files with 687 additions and 646 deletions
+6 -6
View File
@@ -14,25 +14,25 @@
/obj/item/stack/material/cyborg/plastic
icon_state = "sheet-plastic"
default_type = "plastic"
default_type = MATERIAL_PLASTIC
/obj/item/stack/material/cyborg/steel
icon_state = "sheet-metal"
default_type = "steel"
default_type = MATERIAL_STEEL
/obj/item/stack/material/cyborg/plasteel
icon_state = "sheet-plasteel"
default_type = "plasteel"
default_type = MATERIAL_PLASTEEL
/obj/item/stack/material/cyborg/wood
icon_state = "sheet-wood"
default_type = "wood"
default_type = MATERIAL_WOOD
/obj/item/stack/material/cyborg/glass
icon_state = "sheet-glass"
default_type = "glass"
default_type = MATERIAL_GLASS
/obj/item/stack/material/cyborg/glass/reinforced
icon_state = "sheet-rglass"
default_type = "rglass"
default_type = MATERIAL_GLASS_REINFORCED
charge_costs = list(500, 1000)