Fishing trouble

Discussion in 'RPG Maker MV' started by Jaded, Aug 22, 2019.

Thread Status:
Not open for further replies.
  1. Jaded

    Jaded Jaded from Seaweed village Veteran

    Messages:
    36
    Likes Received:
    13
    Location:
    Alaska
    First Language:
    English
    Primarily Uses:
    RMMV
    I first created all the items needed. I got the chopping block done that creates the "bait elixir". That works ok...
    The spot is set up a "action button" and just plays a splash animation and then common event bait elixir... (Edit: bait elixir is set up as a key item.)

    So I created a common event called "fishing spot" and one called "Bait elixir".

    bait elixir just runs the common event "fishing spot" 3 times...

    So I tested it and it chose 3 from the fishing spot list... it ran it again and one last time showing the right messages...
    I had many bait elixirs from testing the chopping board so kept trying the fishing spot. After a few tries it just began giving me the Bait elixir texts instead of my fishing spot items... did i set it up wrong????? Any help is appreciated! I haven't programmed in a long while!

    So, on the land just before this spot is a message how this is the best spot to fish in this area... I need to get it working before I add it to other areas...

    Here is bait elixir as text:
    (Edit: I added a check to make sure the party has a bait elixir but does not minus it as fishing spot does that for me )
    (edit: another aha! I need to move where I minus the bait elixir because the fishing spot takes one away each call instead of 3 turns 1 elixir... I will fix that and see if that fixed it...)

    ◆Text:None, Window, Bottom
    :Text:This looks like the best place to try...
    ◆Common Event:Fishing Spot
    ◆Text:None, Window, Bottom
    :Text:That was fun, the elixir has not run out yet!
    ◆Common Event:Fishing Spot
    ◆Text:None, Window, Bottom
    :Text:This is the last of the elixir...
    ◆Common Event:Fishing Spot
    ◆Text:None, Window, Bottom
    :Text:That was fun and your party learned a bit more
    :Text:about life and living it to the fullest.
    ◆Change EXP:Entire Party, + 300 (Show Level Up)



    rewrote it better... works now...

    new bait elixir:

    ◆Control Switches:#0002 Bait = ON
    ◆If:Party has Bait Elixir
    ◆Text:None, Window, Bottom
    :Text:This looks like the best place to try...
    ◆Common Event:Fishing Spot
    ◆Text:None, Window, Bottom
    :Text:That was fun, the elixir has not run out yet!
    ◆Common Event:Fishing Spot
    ◆Text:None, Window, Bottom
    :Text:This is the last of the elixir...
    ◆Common Event:Fishing Spot
    ◆Text:None, Window, Bottom
    :Text:That was fun and your party learned a bit more
    :Text:about life and living it to the fullest.

    :Else
    ◆Text:None, Window, Bottom
    :Text:You need some bait elixir!

    :End
    ◆Change EXP:Entire Party, + 300 (Show Level Up)
    ◆Change Items:Bait Elixir - 1
    ◆Control Switches:#0002 Bait = OFF





    New Fishing spot: (set to autorun on Bait)

    ◆Control Variables:#0006 attempts = Random 1..8
    ◆If:attempts = 1
    ◆Text:None, Window, Bottom
    :Text:This looks like a good spot to try! You feel a
    :Text:nibble...
    ◆Text:None, Window, Bottom
    :Text:You caught a salmon, not the king, just a salmon
    ◆Change Items:Salmon + 1

    :Else
    ◆If:attempts = 2
    ◆Text:None, Window, Bottom
    :Text:This is it! This is the King Himself!
    ◆Play SE:Applause1 (90, 100, 0)
    ◆Battle Processing:King Salmon
    :If Win
    ◆Text:None, Window, Bottom
    :Text:Oh, the crowd cheers and this tale will be told all
    :Text:over Ravenna tonight and for many nights to come!
    :Text:You caught the King!
    ◆Change Level:Entire Party, + 1 (Show Level Up)
    ◆Change Items:King Salmon + 1

    :If Lose
    ◆Text:Seeweed(0), Window, Bottom
    :Text:Your hard your grandma's voice telling
    :Text:you that losing is ok and it means to
    :Text:try harder...
    :Text:\n<Grandma's Voice in Your Head>

    :End

    :Else
    ◆If:attempts = 3
    ◆Text:None, Window, Bottom
    :Text:You feel a nibble...
    ◆Text:None, Window, Bottom
    :Text:You caught a small fish!
    ◆Change Items:Small Fish + 1

    :Else
    ◆If:attempts = 4
    ◆Text:None, Window, Bottom
    :Text:You feel a nibble...
    ◆Text:None, Window, Bottom
    :Text:You caught... more bait?
    ◆Change Items:Bait + 1

    :Else
    ◆If:attempts = 5
    ◆Text:None, Window, Bottom
    :Text:You feel a nibble...
    ◆Text:None, Window, Bottom
    :Text:You caught a large fish!
    ◆Change Items:Large Fish + 1

    :Else
    ◆If:attempts = 6
    ◆Text:None, Window, Bottom
    :Text:You feel...something...
    ◆Battle Processing:Same as Random Encounter

    :Else
    ◆If:attempts = 7
    ◆Text:None, Window, Bottom
    :Text:You feel a nibble...
    ◆Text:None, Window, Bottom
    :Text:Is this it?
    :Text:The crowd gathers eagerly...
    ◆Battle Processing:King Salmon's Champion
    :If Win
    ◆Text:None, Window, Bottom
    :Text:The crowd is excited!
    :Text:You are ready to meet the king!
    ◆Battle Processing:King Salmon
    :If Win
    ◆Text:None, Window, Bottom
    :Text:The crowd is going wild! This tale will be told all
    :Text:around Ravenna this night and many nights to come!
    ◆Change Items:King Salmon + 1
    ◆Change Level:Entire Party, + 1 (Show Level Up)

    :If Lose
    ◆Text:None, Window, Bottom
    :Text:The crowd quietly disperses...
    :Text:
    :Text:you do not mind, you feel like being alone a moment...

    :End

    :If Lose
    ◆Text:None, Window, Bottom
    :Text:You were not yet ready...

    :End

    :Else
    ◆If:attempts = 8
    ◆Text:None, Window, Bottom
    :Text:You feel a nibble...
    ◆Text:None, Window, Bottom
    :Text:Ewwwwwwwwww! You caught garbage!
    :Text:
    :Text:(at least you can make another bait elixir now)
    ◆Change Items:Garbage + 1

    :End

    :End

    :End

    :End

    :End

    :End

    :End

    :End
     

    Attached Files:

    Last edited: Aug 22, 2019
    #1
  2. Wavelength

    Wavelength Pre-Merge Boot Moderator

    Messages:
    4,209
    Likes Received:
    3,535
    Location:
    Florida, USA
    First Language:
    English
    Primarily Uses:
    RMVXA

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #2
    Jaded likes this.
Thread Status:
Not open for further replies.

Share This Page