Merge pull request #13257 from Heroman3003/produce-persist

Fixes produce persistance
This commit is contained in:
Casey
2022-07-03 05:09:39 -04:00
committed by CHOMPStation2
parent acb9521a80
commit 0569f6bc99

View File

@@ -65,12 +65,12 @@
/datum/persistent/storage/smartfridge/produce
name = "fruit storage"
max_storage = 50
store_per_type = FALSE
store_per_type = TRUE
target_type = /obj/machinery/smartfridge/produce
/datum/persistent/storage/smartfridge/produce/lossy
name = "fruit storage lossy"
go_missing_chance = 12.5 // 10% loss between rounds
go_missing_chance = 10 // 10% loss chance between rounds
/datum/persistent/storage/smartfridge/produce/generate_items(var/list/L) // Mostly same as storage/generate_items() but without converting string to path
. = list()