read-only alist support for VV (#95501)

## About The Pull Request

This adds experimental read-only support for `/alist`s in VV.

I'm not quite sure how to add support for properly changing alists, but
this is better than nothing at least.

### Before

<img width="474" height="262" alt="image"
src="https://github.com/user-attachments/assets/8701fc64-855b-429e-88d1-f6607000b2c8"
/>

### After

<img width="943" height="539" alt="2026-03-23 (1774313721) ~
dreamseeker"
src="https://github.com/user-attachments/assets/cb6caf2a-19fd-49a9-b228-1bccb2c315f3"
/>

## Why It's Good For The Game

Should be able to at least view alists with VV.

## Changelog
🆑
admin: View Variables can now properly view alists, altho it cannot edit
them.
/🆑
This commit is contained in:
Lucy
2026-04-03 15:26:31 +01:00
committed by GitHub
parent caedbbf609
commit 0fe77e9dd3
5 changed files with 43 additions and 13 deletions
@@ -197,7 +197,7 @@ GLOBAL_ALIST_EMPTY(reftracker_skip_typecache_b)
else if(islist(potential_container))
var/list/potential_cache = potential_container
var/is_alist = istype(potential_cache, /alist)
var/is_alist = isalist(potential_cache)
for(var/element_in_list in potential_cache)
//Check normal sublists
if(islist(element_in_list))