This commit is contained in:
silicons
2020-12-25 16:07:17 -08:00
parent 999262665b
commit 5e66e4509f
4 changed files with 38 additions and 2 deletions
@@ -0,0 +1,17 @@
/// Whether or not to use the persistence system for cleanable objects
/datum/config_entry/flag/persistent_debris
config_entry_value = FALSE
/// Whether or not to nuke all roundstart debris that isn't due to persistence if the above is true
/datum/config_entry/flag/persistent_debris_only
config_entry_value = TRUE
/// Max amount of objects to store, total
/datum/config_entry/number/persistent_debris_global_max
config_entry_value = 10000
integer = TRUE
/// Max amount of objects to store per type
/datum/config_entry/number/persistent_debris_type_max
config_entry_value = 2000
integer = TRUE
@@ -67,6 +67,7 @@ SUBSYSTEM_DEF(persistence)
LoadChiselMessages()
LoadPhotoPersistence()
LoadRandomizedRecipes()
LoadPaintings()
/**
* Saves persistent data relevant to the game in general: Trophies, antag reputation, etc
@@ -247,8 +248,6 @@ SUBSYSTEM_DEF(persistence)
/datum/controller/subsystem/persistence/proc/SaveChiselMessage(obj/structure/chisel_message/M)
saved_messages += list(M.pack()) // dm eats one list
/datum/controller/subsystem/persistence/proc/CollectAntagReputation()
var/ANTAG_REP_MAXIMUM = CONFIG_GET(number/antag_rep_maximum)
@@ -0,0 +1,3 @@
/**
* Persistence for cleanable debris.
*/