mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
[MIRROR] Aberrations (#12852)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
93c968e734
commit
1f66295b54
@@ -26,7 +26,7 @@
|
||||
var/default_material = MAT_STEEL
|
||||
var/datum/material/material
|
||||
var/drops_debris = 1
|
||||
var/named_from_material = 1 //YW EDIT, Does it prepend the material's name to it's name?
|
||||
var/named_from_material = TRUE
|
||||
|
||||
/obj/item/material/Initialize(mapload, material_key)
|
||||
. = ..()
|
||||
@@ -65,7 +65,7 @@
|
||||
if(!material)
|
||||
qdel(src)
|
||||
else
|
||||
if(named_from_material) //YW EDIT
|
||||
if(named_from_material)
|
||||
name = "[material.display_name] [initial(name)]"
|
||||
health = round(material.integrity/10)
|
||||
if(applies_material_colour)
|
||||
|
||||
Reference in New Issue
Block a user