Personal Crafting & Dependencies

This commit is contained in:
ShadowLarkens
2021-05-02 18:10:59 -07:00
parent 09f01ecef0
commit 1da76ed2b4
36 changed files with 961 additions and 100 deletions
+14
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