Files
Aurora.3/code/modules/item_worth/materials.dm
Fluffy 203a780eae Materials stacktrace on deletion (#17056)
* Atomization

* changelog

* sdf

* Update code/modules/item_worth/materials.dm

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>

---------

Co-authored-by: FluffyGhost <FluffyGhost>
Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
2023-08-14 15:50:28 +00:00

92 lines
1.1 KiB
Plaintext

/material
var/value = 1
/material/Destroy(force)
stack_trace("Someone tried to delete a /material.")
. = ..()
return QDEL_HINT_LETMELIVE //Materials cannot be deleted, as you cannot poof the concept out of existence
/material/uranium
value = 100
/material/diamond
value = 170
/material/gold
value = 40
/material/silver
value = 35
/material/bronze
value = 25
/material/phoron
value = 150
/material/stone/marble
value = 4
/material/steel
value = 4
/material/diona
value = 5
/material/steel/holographic
value = 0
/material/plasteel
value = 12
/material/plasteel/titanium
value = 10
/material/glass/reinforced
value = 2
/material/glass/phoron
value = 30
/material/glass/phoron/reinforced
value = 40
/material/osmium
value = 30
/material/tritium
value = 300
/material/mhydrogen
value = 100
/material/platinum
value = 200
/material/iron
value = 5
/material/wood
value = 3
/material/wood/holographic
value = 0
/material/cardboard
value = 0
/material/leather
value = 3
/material/hide
value = 5
/material/hide/human
value = 35
/material/bone
value = 5
/material/bone/necromancer
value = 50