fishcountworld:
type: world
events:
on player fishes:
- narrate '<c.state>'
- run locally <c.state>
BITE:
- title 'title:Reel it in!'
CAUGHT_ENTITY:
- title 'title:The fishing rod is not a weapon!'
CAUGHT_FISH:
- - define item '<c.item||null>'
- - if %item% == null {
+ - ^define item '<c.item||null>'
+ - ^if %item% == null {
- narrate "Must have been a dud"
}
- ^title 'title:You<&sq>ve caught one!'
- ^if li@raw_fish|raw_pufferfish|raw_salmon !contains %item% {
- - ^narrate "We don<&sq>t care about %item%"
- - ^queue clear
+ - narrate "We don<&sq>t care about %item%"
+ - queue clear
}
- ^flag player %item%_count:++
- ^narrate "You have caught <player.flag[%item%_count].as_int> <def[item].name>."
FISHING:
- title 'title:Now wait for the bobber to bob!'
IN_GROUND:
- title 'title:Bad cast!'
FAILED_ATTEMPT:
- title 'title:You caught nothing!'