AnglerFishingNode
Adds a new node (map event) for the angler were you use one of your cards as bait. (FIXED ISSUE)
Last updated | a day ago |
Total downloads | 55 |
Total rating | 0 |
Categories | Act I Kaycee's Mod Regions |
Dependency string | GeckVolantMarin-AnglerFishingNode-1.0.2 |
Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
API_dev-API
The de-facto standard core API for all Inscryption mods. This lets you create new cards, abilities, challenges, map nodes, starter decks, and more.
Preferred version: 2.22.3README
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
The mod currently only uses vanilla cards for fishing, but it's easy to add cards to the poll.
Adding new fishes
To add a new fish that can be catched, you can add it's card info with code in one of the following lists:
GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.smallFishs
(Fishes that can only be catched by using a very small baits)GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.mediumFishs
(Fishes that can only be catched by using a small baits or smaller)GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.bigFishs
(Fishes that can only be catched by using a medium baits or smaller)GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.hugeFishs
(Fishes that can be catch by any bait, but mostly by big baits.)GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.fishableBoons
(You can add fishable boon, can only be catche by baits having boon attractor bait traits)GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.grabableFishs
(Fish that can be grabed by cards that have grabber bait traits)GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.fishableTrashs
(Trash cards that can be catched by card having trash attractor bait traits)GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.fishableTreasures
(Treasure cards that can be catched by card having treasure attractor bait traits) Note that smaller bait can catch fish from bigger size, but the probability are lower.
Setting card bait traits
Also, you can add many of the following traits to a card to define them as a bait:
-
GeckVolantMarin.AnglerFishingNode.NewTraits.veryBadFishingBait
(Will be lost for sure when using as bait (Lost means no fish too)) -
GeckVolantMarin.AnglerFishingNode.NewTraits.badFishingBait
(Has a 70% chance of being lost when using as bait) -
GeckVolantMarin.AnglerFishingNode.NewTraits.averageFishingBait
(Has a 40% chance of being lost when using as bait) -
GeckVolantMarin.AnglerFishingNode.NewTraits.goodFishingBait
(Has a 10% chance of being lost when using as bait) -
GeckVolantMarin.AnglerFishingNode.NewTraits.verySmallFishingBait
(If not lost, will catch a small or bigger fish) -
GeckVolantMarin.AnglerFishingNode.NewTraits.smallFishingBait
(If not lost, will catch a medium or bigger fish) -
GeckVolantMarin.AnglerFishingNode.NewTraits.mediumFishingBait
(If not lost, will catch a big or bigger fish) -
GeckVolantMarin.AnglerFishingNode.NewTraits.bigFishingBait
(If not lost, will catch a huge or bigger fish) -
GeckVolantMarin.AnglerFishingNode.NewTraits.badTrashAttractorBait
(If not lost, has 10% chance of finding trash.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.averageTrashAttractorBait
(If not lost, has 40% chance of finding trash.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.goodTrashAttractorBait
(If not lost, has 70% chance of finding trash.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.veryGoodTrashAttractorBait
(If not lost, has 100% chance of finding trash.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.badTreasureAttractorBait
(If not lost, has 10% chance of finding treasure.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.averageTreasureAttractorBait
(If not lost, has 40% chance of finding treasure.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.goodTreasureAttractorBait
(If not lost, has 70% chance of finding treasure.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.veryGoodTreasureAttractorBait
(If not lost, has 100% chance of finding treasure.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.badBoonAttractorBait
(If not lost, has 10% chance of finding boon.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.averageBoonAttractorBait
(If not lost, has 40% chance of finding boon.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.goodBoonAttractorBait
(If not lost, has 70% chance of finding boon.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.veryGoodBoonAttractorBait
(If not lost, has 100% chance of finding boon.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.badGrabberBait
(If not lost, has 10% chance of grabbing bonus fish.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.averageGrabberBait
(If not lost, has 40% chance of grabbing bonus fish.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.goodGrabberBait
(If not lost, has 70% chance of grabbing bonus fish.) -
GeckVolantMarin.AnglerFishingNode.NewTraits.veryGoodGrabberBait
(If not lost, has 100% chance of grabbing bonus fish.) Note that if they don't have any, when using as bait, they will catch nothing and go back to your deck.
More modding
There are 2 functions you can patch to add functionnalities
GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.OnBaitTransformIntoFish(CardInfo baitInfo)
This function handle the transformation of the bait into the catched fish.
You also generate any `boonCard`, `trashCard`, `treasureCard` or `grabbedFishCard` (Only define CardInfo)
Finaly, you generate a `FishingResults` and return it. You need to define all of it's variables.
You don't need to delete the card if it's lost.
GeckVolantMarin.AnglerFishingNode.AnglerFishingNodeSequencer.OnRevealFish(FishingResults fishResults, CardInfo baitInfo)
This IEnumerator handles how the angler react to what have been fished.
In this function, you **NEED** to add the found cards into the players deck, and you **CAN** add
the anglers reactions and a ExamineCardWithDialogue() method.
Source code
The source code is available in the plugin folder, in SourceCode.zip.
Thanks To:
- The modding community
- ILSpy developers (For unpacking the code base game)
- AssetStudio developers (For unpacking the assets of the base game)
Credits
@Heartslot