mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 16:44:43 +01:00
Display cases can now have a list where to randomly spawn items from (#36058)
* Adds allowing display cases to pick from a random list Keeps compatibility with older maps and moves trophy/plaque message to all display cases * A bit more legible * Refactors statues tool interaction code * Don't override it already exists * done
This commit is contained in:
@@ -171,6 +171,8 @@ SUBSYSTEM_DEF(persistence)
|
||||
/datum/controller/subsystem/persistence/proc/SetUpTrophies(list/trophy_items)
|
||||
for(var/A in GLOB.trophy_cases)
|
||||
var/obj/structure/displaycase/trophy/T = A
|
||||
if (T.showpiece)
|
||||
continue
|
||||
T.added_roundstart = TRUE
|
||||
|
||||
var/trophy_data = pick_n_take(trophy_items)
|
||||
|
||||
Reference in New Issue
Block a user