mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Materials subsystem, material defines instead of strings, structure materials. (#8447)
The shitcode crusade begins.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user