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
@@ -716,7 +716,7 @@ var/global/list/golem_types = list("Coal Golem",
heat_level_2 = T0C+80
heat_level_3 = T0C+100
golem_designation = "plastic"
golem_designation = MATERIAL_PLASTIC
/datum/species/golem/plastic/handle_post_spawn(var/mob/living/carbon/human/H)
H.change_skin_color(171,171,171)
@@ -13,7 +13,7 @@
throw_speed = 5
throw_range = 10
origin_tech = list(TECH_MAGNET = 2, TECH_BIO = 1, TECH_ENGINEERING = 2)
matter = list(DEFAULT_WALL_MATERIAL = 500, "glass" = 200)
matter = list(DEFAULT_WALL_MATERIAL = 500, MATERIAL_GLASS = 200)
var/mode = 1
/obj/item/device/robotanalyzer/attack(mob/living/M, mob/living/user)