Paste #16284: Untitled Paste

Date: 2015/06/04 23:31:42 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


"QuestTrait":
    type: assignment
    interact scripts:
        - 100 StandardInteract
"StandardInteract":
    type: Interact
    Steps:
      1:
        Click Trigger:
            script:
                - narrate test

QuestProcessor:
  type: task 
  script:
  - ^if !<npc.has_flag[Quests]> {
       - announce "<red>There are no quests assigned to the npc <npc.name>! Fix it." to_ops
     }
  - foreach <npc.flag[Quests].as_list> {
       - 
    }

On Command Event Tutorial: 
  type: world 
  events: 
    on testcommand command: 
    - narrate 'You just used the /testcommand command!' 
    - determine fulfilled