Personal crafting & Dependencies

This commit is contained in:
Chompstation Bot
2021-05-06 04:51:46 +00:00
committed by Darlantan
parent 04a8c35801
commit d7f20396de
42 changed files with 2569 additions and 386 deletions

View File

@@ -0,0 +1,14 @@
GLOBAL_LIST_EMPTY(string_lists)
/**
* Caches lists with non-numeric stringify-able values (text or typepath).
*/
/proc/string_list(list/values)
var/string_id = values.Join("-")
. = GLOB.string_lists[string_id]
if(.)
return
return GLOB.string_lists[string_id] = values