Question Adding Fishes to Specific Underground Mines Floors

Rose_Thorndyke

Newcomer
Hello everyone,

I am currently working on my first content patch (with Content Patcher), which adds some fishes to the game.
I have been looking for a way of setting the fishing location of these fishes to specific floors of the mine (let's say, level 20, level 60 and level 100 of the mines) but to no avail.

Best I could do is setting their location to the underground mines, which means they can be fished at any level in the mines.
For the reference, I have been following this tutorial on stardewmodding.wiki.gg : https://stardewmodding.wiki.gg/wiki/Tutorial:_Adding_a_New_Fish

Is there any way I can do this?
 
I came back with the answer.

1739384351205.png


On the fishing location, there is a key called "Condition" that accepts an game state query: https://stardewvalleywiki.com/Modding:Game_state_queries
With that, I can set the appearance condition to being in the 20th floor of the mines only. I hope this helps someone
 
Back
Top