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
+1 -1
View File
@@ -308,7 +308,7 @@
seed_name = "golden apple"
display_name = "gold apple tree"
mutants = null
chems = list("applejuice" = list(1,10), "gold" = list(1,5))
chems = list("applejuice" = list(1,10), MATERIAL_GOLD = list(1,5))
kitchen_tag = "goldapple"
/datum/seed/apple/gold/setup_traits()
+1 -1
View File
@@ -11,7 +11,7 @@
item_state = "analyzer"
var/form_title
var/last_data
matter = list(DEFAULT_WALL_MATERIAL = 80,"glass" = 20)
matter = list(DEFAULT_WALL_MATERIAL = 80, MATERIAL_GLASS = 20)
origin_tech = list(TECH_MAGNET = 1, TECH_BIO = 1)
/obj/item/device/analyzer/plant_analyzer/proc/print_report_verb()