mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
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>
This commit is contained in:
co-authored by
SleepyGemmy
FluffyGhost <FluffyGhost>
parent
75c2873fb8
commit
203a780eae
@@ -1,6 +1,11 @@
|
||||
/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
|
||||
|
||||
@@ -83,4 +88,4 @@
|
||||
value = 5
|
||||
|
||||
/material/bone/necromancer
|
||||
value = 50
|
||||
value = 50
|
||||
|
||||
Reference in New Issue
Block a user