Paste #31682: Diff note for paste #31681

Date: 2016/03/15 19:35:52 UTC-07:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


 fishcountworld:
   type: world
   events:
     on player fishes:
       - narrate '<c.state>'
-      - run locally <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 {
+    - ^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% {
+    - ^if 'li@raw_fish|raw_pufferfish|raw_salmon' !contains '%item%' {
       - narrate "We don<&sq>t care about %item%" 
       - queue clear
       }
-    - ^flag player %item%_count:++
+    - ^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!'