From 6321eddab2384d986f3240da83f88dd94522bb99 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Sat, 8 Jun 2024 10:15:18 -0400 Subject: [PATCH] [MIRROR] [no gbp] fixes lobstrosities fishing infinite resources [MDB IGNORE] (#2911) * [no gbp] fixes lobstrosities fishing infinite resources (#83661) ## About The Pull Request fixes lobstrosities being able to fish tons of resources, closes #83565 ## Why It's Good For The Game fixes the fishing economy ## Changelog :cl: fix: lobstrosities will no longer be able to fish out multiple necropolis chests /:cl: * [no gbp] fixes lobstrosities fishing infinite resources --------- Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com> Co-authored-by: NovaBot13 --- code/datums/components/profound_fisher.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/components/profound_fisher.dm b/code/datums/components/profound_fisher.dm index 73c12198777..ec839e265f2 100644 --- a/code/datums/components/profound_fisher.dm +++ b/code/datums/components/profound_fisher.dm @@ -52,9 +52,9 @@ if(!do_after(living_parent, 10 SECONDS, target = target)) qdel(lure) return - var/reward_loot = pick_weight(fish_spot.fish_table) + var/reward_loot = fish_spot.roll_reward(our_rod, parent) if(ispath(reward_loot)) - new reward_loot(get_turf(living_parent)) + fish_spot.dispense_reward(reward_loot, parent, target) qdel(lure) /obj/item/fishing_rod/mob_fisher