Paste #43021: Edit of P#43020 - Script which is failing

Date: 2017/07/13 15:35:52 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


on time 18 in world:
    - foreach <server.flag[npcjob_fishermen].as_list> {
      - animate %value% animation:stop_sitting
      - ^animate %value% animation:stop_sleeping
      - ^walk e@%value% <n@%value%.anchor[fisherman_setfish]>
      - wait 2s
      - animate %value% animation:sit
      - fish <n@%value%.anchor[fisherman_waterloc]> catch:junk
      }
    on time 2 in world:
    - foreach <server.flag[npcjob_fishermen].as_list> {
      - animate %value% animation:stop_sitting
      - walk e@%value% <n@%value%.anchor[fisherman_setchest]>
      - wait 1s
      - animate %value% animation:ARM_SWING_OFFHAND
      - ^animatechest <n@%value%.anchor[fisherman_setchest]>
      - inventory move d:<n@%value%.anchor[fisherman_setchest]> o:<%value%.inventory>
      - wait 4s
      - ^animatechest <n@%value%.anchor[fisherman_setchest]> close
      }