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 -1
View File
@@ -8,6 +8,7 @@
var/parts
var/list/climbers
var/list/footstep_sound //footstep sounds when stepped on
var/material/material
/obj/structure/Destroy()
if(parts)
@@ -187,5 +188,9 @@
return 0
visible_message("<span class='danger'>[user] [attack_verb] the [src] apart!</span>")
user.do_attack_animation(src)
spawn(1) qdel(src)
spawn(1)
qdel(src)
return 1
/obj/structure/get_material()
return material