Greetings all. This is my first time trying to code a plug-in so any advice is greatly appreciated. I might have gotten a bit stuck. The javascript that I have so far can be read here: Vala_Fishing.js It is basically supposed to be a Fishing mini-game where you can catch fish of different rarities, clams with the chance to get pearls, and if very lucky a Mermaid.
Greetings all.
This is my first time trying to code a plug-in so any advice is greatly appreciated. I might have gotten a bit stuck.
The javascript that I have so far can be read here:
Vala_Fishing.js
It is basically supposed to be a Fishing mini-game where you can catch fish of different rarities, clams with the chance to get pearls, and if very lucky a Mermaid.
If the player successfully catches a clam, there is a chance to obtain a pearl based on the "PearlChance" parameter. If the pearl is obtained, it is added to the player's inventory, and a message is displayed, indicating the pearl reward.
When a mermaid is caught, the plugin should trigger a cutscene after which the Mermaid gives the player a quest. There is room for improvement here as you don't have to catch the same mermaid each time and different mermaids could give the player different quests.
The part I think I'm mostly stuck with is getting the mermaid quest to work. >_<
P.s. Haven't used Java since Highschool 7 years ago
RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.