SSpersistence tweaks (#8087)

* Add some 'lossy' smartfridges and options

* Convert persistence to JSON

* Update map_datum to specify persistence levels
This commit is contained in:
Aronai Sieyes
2021-05-20 18:50:36 -09:00
committed by GitHub
parent 1c7d9c4cba
commit 9cd4a89782
14 changed files with 181 additions and 202 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ SUBSYSTEM_DEF(persistence)
if(!A || (A.flags & AREA_FLAG_IS_NOT_PERSISTENT))
return
// if((!T.z in GLOB.using_map.station_levels) || !initialized)
if(!T.z in using_map.station_levels)
if(!(T.z in using_map.persist_levels))
return
if(!tracking_values[track_type])