You can now try to fish random products out of vending machines with a fishing rod and a few bucks. (#88290)

## About The Pull Request
You can now use a fishing rod to fish random vending products from
vending machines, using holochips, coins and spacecash as bait. The
value of the money used as bait will positively influence the chance of
getting the pricier vending items, while using less than the minimum
paycheck (25 credits) will increase the minigame difficulty and carries
an additional, small risk of getting a dud or even hurling the vending
machine in your direction.

This also warranted a slight refactor of how vending product prices are
set.

## Why It's Good For The Game
Expands the list of things you can do with a fishing rod. Like for the
organ manipulation fishing PR. This is not about getting fish, but the
unconventional things we can do along the way.

Now tested, it works.

## Changelog

🆑
add: You can now try to fish random products out of vending machines
with a fishing rod and a few bucks.
fix: Fixing the 1000 cr holochip loot from exploration drones.
/🆑
This commit is contained in:
Ghom
2025-01-04 12:51:38 -05:00
committed by GitHub
parent f435f3b156
commit 9d6f164501
17 changed files with 267 additions and 84 deletions
+1
View File
@@ -441,6 +441,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
icon_state = "coin_[coinflip]"
pixel_x = base_pixel_x + rand(0, 16) - 8
pixel_y = base_pixel_y + rand(0, 8) - 8
add_traits(list(TRAIT_FISHING_BAIT, TRAIT_BAIT_ALLOW_FISHING_DUD), INNATE_TRAIT)
/obj/item/coin/finalize_material_effects(list/materials)
. = ..()