- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleQuest
TypeDenizen Script
Date2014/12/12 04:58:40 UTC-08:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
2800
Quest:
  Type: assignment
  actions:
    on assignment:
    - trigger name:click state:true
    - trigger name:chat state:true
  interact scripts:
  - 10 Quest_start
Quest_start:
  Type: Interact
  steps:
    1:
      Click trigger:
        script:
          - engage
          - chat "mine me iron"
          - if !<player.has_flag[mine_iron_count]> queue clear
          - flag player mine_iron_count:0
          - disengage
Quest_world:
  Type: World
  events:
    on player breaks IRON_ORE:
    - flag player mine_iron_count:++
    - if <player.flag[mine_iron_count]> == 5 {
      - narrate "[Quest Complete]"
      }



RawRaw



Pastes made: 58443