AnglerFishingNode

v2.0.0·Updated 2024-12-16

Adds a new node (map event) for the angler were you fish. (NOW JSON COMPATIBLE)

About this mod Author’s original text

Geck Volant Marin: Angler Fishing Node

This mod adds a new node with a new mechanic: Fishing!

On this new node, you will be asked by the angler to choose one of your cards to use as bait.

He will then proceed to fish with it, will you risk your bait?

How to add custom loots and bait behaviour

The mod currently only implements vanilla cards in the loot tables for fishing, but it's easy to add cards to the poll.

With this new version (2.0), it is now possible to add it with JSON as well, through custom properties!

Through code, you can add custom properties with the following function:

[any card info].SetExtendedProperty(GeckVolantMarin.AnglerFishingNode.NewProperties.[Any properties], [A string respecting the properties structure])

Exemple, adding the baits properties of the talking stoat.

CardLoader.GetCardByName("Stoat_Talking").SetExtendedProperty(NewProperties.baitAboutToDiveExamineDialogue, "This one uh?").SetExtendedProperty(NewProperties.baitKeepDialogueMessage, "Keep bait.").SetExtendedProperty(NewProperties.baitCatch0Loot0Rescue0DialogueMessage, "No fish...").SetExtendedProperty(NewProperties.baitLossProbability, "0.4").SetExtendedProperty(NewProperties.baitLossDialogueMessage, "Lost bait...").SetExtendedProperty(NewProperties.baitCatchFishProbability, "0.6").SetExtendedProperty(NewProperties.baitCatchBonusFishProbabilities, "[0.2]").SetExtendedProperty(NewProperties.baitCatchFishGlobalLuck, "0.0").SetExtendedProperty(NewProperties.baitCatchTinyFishProbabilityWeight, "0.2").SetExtendedProperty(NewProperties.baitCatchTinyFishLuck, "0.0").SetExtendedProperty(NewProperties.baitCatchSmallFishProbabilityWeight, "0.8").SetExtendedProperty(NewProperties.baitCatchSmallFishLuck, "0.0").SetExtendedProperty(NewProperties.baitCatchMediumFishProbabilityWeight, "3.0").SetExtendedProperty(NewProperties.baitCatchMediumFishLuck, "0.0").SetExtendedProperty(NewProperties.baitCatchBigFishProbabilityWeight, "3.0").SetExtendedProperty(NewProperties.baitCatchBigFishLuck, "0.0").SetExtendedProperty(NewProperties.baitCatchHugeFishProbabilityWeight, "0.4").SetExtendedProperty(NewProperties.baitCatchHugeFishLuck, "0.0").SetExtendedProperty(NewProperties.baitCatch1DialogueMessage, "Got fish!").SetExtendedProperty(NewProperties.baitCatchMoreThen1DialogueMessage, "Fish have feast on your Stoat...")

For.JDR2 (JSON users), here's the same exemple for the talking stoat.

{

"name": "Stoat_Talking",

"extensionProperties": {

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitAboutToDiveExamineDialogue": "This one uh?",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitKeepDialogueMessage": "Keep bait.",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatch0Loot0Rescue0DialogueMessage": "No fish....",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitLossProbability": "0.4",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitLossDialogueMessage": "Lost bait...",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchFishProbability": "0.6",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchBonusFishProbabilities": "[0.2]",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchFishGlobalLuck": "0.0",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchTinyFishProbabilityWeight": "0.2",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchTinyFishLuck": "0.0",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchSmallFishProbabilityWeight": "0.8",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchSmallFishLuck": "0.0",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchMediumFishProbabilityWeight": "3.0",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchMediumFishLuck": "0.0",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchBigFishProbabilityWeight": "3.0",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchBigFishLuck": "0.0",

"GeckVolantMarin.AnglerFishingNode.NewProperties.baitCatchHugeFishProbabilit

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

API_dev-APIGeckVolantMarin-LuckBasedRNG

File & checksum

Filename
AnglerFishingNode-2.0.0.zip
File size
12.2 MiB