From 2fa44b8eeae0cdf428a8bfa81b6b879626160f13 Mon Sep 17 00:00:00 2001 From: Krysonism <49783092+Krysonism@users.noreply.github.com> Date: Sat, 25 Sep 2021 03:34:58 +0200 Subject: [PATCH] Fixes neglected fern cell ine amounts + reverts undocumented crate spawner change that removed my brand new fern from the game. (#61671) --- .../objects/effects/spawners/random/structure.dm | 16 ++++++++-------- code/game/objects/structures/flora.dm | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/code/game/objects/effects/spawners/random/structure.dm b/code/game/objects/effects/spawners/random/structure.dm index 5a503d8d275..b7c69328452 100644 --- a/code/game/objects/effects/spawners/random/structure.dm +++ b/code/game/objects/effects/spawners/random/structure.dm @@ -6,14 +6,14 @@ name = "crate spawner" icon_state = "crate" loot = list( - /obj/effect/spawner/random/structure/crate_empty = 75, - /obj/structure/closet/crate/trashcart/filled = 7, - /obj/effect/spawner/random/trash/moisture_trap = 5, - /obj/effect/spawner/random/trash/hobo_squat = 3, - /obj/structure/closet/mini_fridge = 3, - /obj/item/kirbyplants/random = 3, - /obj/effect/spawner/random/trash/mess = 3, - /obj/structure/closet/crate/decorations = 1, + /obj/effect/spawner/random/structure/crate_loot = 745, + /obj/structure/closet/crate/trashcart/filled = 75, + /obj/effect/spawner/random/trash/moisture_trap = 50, + /obj/effect/spawner/random/trash/hobo_squat = 30, + /obj/structure/closet/mini_fridge = 35, + /obj/effect/spawner/random/trash/mess = 30, + /obj/item/kirbyplants/fern = 20, + /obj/structure/closet/crate/decorations = 15, ) /obj/effect/spawner/random/structure/crate_abandoned diff --git a/code/game/objects/structures/flora.dm b/code/game/objects/structures/flora.dm index 5ef89884bc1..9daff55beec 100644 --- a/code/game/objects/structures/flora.dm +++ b/code/game/objects/structures/flora.dm @@ -400,7 +400,7 @@ /obj/item/kirbyplants/fern/Initialize() . = ..() - AddElement(/datum/element/swabable, CELL_LINE_TABLE_ALGAE, CELL_VIRUS_TABLE_GENERIC, 1, 5) + AddElement(/datum/element/swabable, CELL_LINE_TABLE_ALGAE, CELL_VIRUS_TABLE_GENERIC, rand(2,4), 5) //a rock is flora according to where the icon file is //and now these defines