Improve ornament, barricade, grille, and girder random spawners (#65252)

This commit is contained in:
Tim
2022-03-12 17:47:17 -08:00
committed by GitHub
parent f006ef2833
commit 974baec043
2 changed files with 12 additions and 9 deletions
@@ -32,12 +32,12 @@
name = "ornament spawner"
icon_state = "lamp"
loot = list(
/obj/item/sign = 10,
/obj/item/flashlight/lamp/green = 10,
/obj/item/plaque = 5,
/obj/item/flashlight/lamp = 35,
/obj/item/flashlight/lamp/green = 35,
/obj/item/flashlight/lantern = 10,
/obj/item/phone = 10,
/obj/item/flashlight/lantern/jade = 5,
/obj/item/phone = 5,
/obj/item/flashlight/lamp/bananalamp = 3,
/obj/item/flashlight/lamp/bananalamp = 5,
)
/obj/effect/spawner/random/decoration/generic
@@ -25,16 +25,18 @@
/obj/effect/spawner/random/structure/girder
name = "girder spawner"
icon_state = "girder"
loot = list(
/obj/structure/girder = 4,
spawn_loot_chance = 90
loot = list( // 80% chance normal girder, 10% chance of displaced, 10% chance of nothing
/obj/structure/girder = 8,
/obj/structure/girder/displaced = 1,
)
/obj/effect/spawner/random/structure/grille
name = "grille spawner"
icon_state = "grille"
loot = list(
/obj/structure/grille = 4,
spawn_loot_chance = 90
loot = list( // 80% chance normal grille, 10% chance of broken, 10% chance of nothing
/obj/structure/grille = 8,
/obj/structure/grille/broken = 1,
)
@@ -173,6 +175,7 @@
/obj/effect/spawner/random/structure/barricade
name = "barricade spawner"
icon_state = "barricade"
spawn_loot_chance = 80
loot = list(
/obj/structure/barricade/wooden,
/obj/structure/barricade/wooden/crude,