mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-01 13:12:23 +00:00
* Gives all status effects an ID * Actually delete * Update code/datums/status_effects/buffs.dm Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/datums/status_effects/buffs.dm Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * We ball * Fix CI and remove stack trace --------- Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
9 lines
323 B
Plaintext
9 lines
323 B
Plaintext
/datum/unit_test/status_effect_ids/Run()
|
|
var/list/bad_statuses = list()
|
|
for(var/datum/status_effect/effect as anything in subtypesof(/datum/status_effect))
|
|
if(initial(effect.id) == null)
|
|
bad_statuses += effect
|
|
|
|
if(length(bad_statuses))
|
|
Fail("STatus effects found without an unique ID: [bad_statuses.Join(", ")]")
|