mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
16 lines
473 B
Plaintext
16 lines
473 B
Plaintext
// A list of all the special byond lists that need to be handled different by vv
|
|
GLOBAL_LIST_INIT(vv_special_lists, init_special_list_names())
|
|
|
|
/proc/init_special_list_names()
|
|
var/list/output = list()
|
|
var/obj/sacrifice = new
|
|
for(var/varname in sacrifice.vars)
|
|
var/value = sacrifice.vars[varname]
|
|
if(!islist(value))
|
|
if(!isdatum(value) && hascall(value, "Cut"))
|
|
output += varname
|
|
continue
|
|
if(isnull(locate(REF(value))))
|
|
output += varname
|
|
return output
|