This commit is contained in:
Ghommie
2019-06-22 19:50:56 +02:00
parent d71b50a4f1
commit f97a4b3a78
4 changed files with 32 additions and 28 deletions
@@ -214,6 +214,21 @@
/obj/item/aiModule/core/full/damaged
)
/obj/effect/spawner/lootdrop/mre
name = "random MRE"
icon = 'icons/obj/storage.dmi'
icon_state = "mre"
/obj/effect/spawner/lootdrop/mre/Initialize()
for(var/A in subtypesof(/obj/item/storage/box/mre))
var/obj/item/storage/box/mre/M = A
var/our_chance = initial(M.spawner_chance)
if(our_chance)
loot += M
loot[M] = our_chance
return ..()
// Tech storage circuit board spawners
// For these, make sure that lootcount equals the number of list items