Paste #31665: Edit of P#31664 - Edit of P#31663 - Fish World Script

Date: 2016/03/15 19:18:21 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


fishcountworld:
  type: world
  events:
    on player fishes:
      - run locally <c.state>

  BITE:
    - title 'title:Reel it in!'

  CAUGHT_ENTITY:
    - title 'title:The fishing rod is not a weapon!'

  CAUGHT_FISH:
    - title 'title:You<&sq>ve caught one!'
    - if li@raw_fish|raw_pufferfish|raw_salmon !contains <context.item> {
      - queue clear
      }
    - flag player <context.item>_count:++
    - narrate "You have caught <player.flag[<context.item>_count].as_int> <context.item.name>."

  FISHING:
    - title 'title:Now wait for the bobber to bob!'

  IN_GROUND:
    - title 'title:Bad cast!'