Characteristics - Stats / Skills / Talents Backend, /datum/character backend, background-locked alt title backend (#4840)

Co-authored-by: VM_USER <VM_USER>
Co-authored-by: silicons <no@you.cat>
Co-authored-by: Felix <58342752+TheLordME@users.noreply.github.com>
This commit is contained in:
silicons
2023-02-09 23:34:43 +01:00
committed by GitHub
co-authored by VM_USER <VM_USER> silicons Felix
parent 0787a406c7
commit 817e7c1f22
230 changed files with 3069 additions and 1272 deletions
@@ -48,8 +48,12 @@
else if (islist(value))
var/list/L = value
var/list/items = list()
if (L.len > 0 && !(name == "underlays" || name == "overlays" || L.len > (IS_NORMAL_LIST(L) ? VV_NORMAL_LIST_NO_EXPAND_THRESHOLD : VV_SPECIAL_LIST_NO_EXPAND_THRESHOLD)))
// don't expand if it's:
// 1. overlays - this info is rarely needing to be accessed unless you're doing overlay debugging
// 2. underlays - ditto
// 3. GLOB - there's a metric ton of lists on global variables and we want to avoid admins needing to download MB's of data instantly
// 4. if the list is too long otherwise
if (L.len > 0 && !(name == "underlays" || name == "overlays" || D == GLOB || L.len > (IS_NORMAL_LIST(L) ? VV_NORMAL_LIST_NO_EXPAND_THRESHOLD : VV_SPECIAL_LIST_NO_EXPAND_THRESHOLD)))
for (var/i in 1 to L.len)
var/key = L[i]
var/val