I tried to make my own fishing system and everything works except the green fish which it doesn’t give it to the player.
ps I made a rare chance to get all fish while fishing so that’s what the middle part is.
part that’s not working.
And you have tested this multiple times?
I mean maybe it is just landing on 2 every time, so what you might want to do is to see what number the variable it is set to (Using a notification, if only while you are testing the map) to see if it actually isn’t working or if is just landing on 2 every time.
(Cause I see nothing wrong with the block code like ClicClac said.)
If work is one, it grants all fish and ends the block code. If work is not one, then it proceed onto the else part. You only give the green fish in h to e else part if work is one, but work will never be one in the else part.
the variable work triggers the green fish. if work = 1 then it will go to the gold = 1 first and if gold doesn’t equal 1 then it just stops there. sorry if my wording is bad.
anyway here’s the solution:
instead of having a string of if statements do this; if work = 1 and gold = 1 and blue = 1 and seed = 1
then broadcast message on channel “fish_all_z1”