mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 01:54:52 +01:00
2bcbb36ab9
* [TEST-MERGE FIRST] Allows all limbs to be dismembered and significantly refactors wounds * ah fuck it * test * edaawdawd * Revert "edaawdawd" This reverts commit 47be710fe61a1f4ca79212b29b3e88bf05ec9a3a. * nothing but sheer hatred * freaawd * dzfxg * Fixing some diffs here while we are at it. * These are deprecated and should be removed --------- Co-authored-by: nikothedude <59709059+nikothedude@users.noreply.github.com> Co-authored-by: nikothedude <simon.prouty@gmail.com> Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
21 lines
567 B
Plaintext
21 lines
567 B
Plaintext
GLOBAL_LIST_INIT_TYPED(all_static_scar_data, /datum/static_scar_data, generate_static_scar_data())
|
|
|
|
/proc/generate_static_scar_data()
|
|
RETURN_TYPE(/list/datum/static_scar_data)
|
|
|
|
var/list/datum/wound_pregen_data/data = list()
|
|
|
|
for (var/datum/wound_pregen_data/path as anything in typecacheof(path = /datum/static_scar_data, ignore_root_path = TRUE))
|
|
if (initial(path.abstract))
|
|
continue
|
|
|
|
var/datum/wound_pregen_data/pregen_data = new path
|
|
data[pregen_data.wound_path_to_generate] = pregen_data
|
|
|
|
return data
|
|
|
|
/datum/static_scar_data
|
|
var/abstract = FALSE
|
|
|
|
|