Date: 2015/06/09 20:30:06 UTC-07:00
Type: Denizen Script
ShowIntro:
type: task
debug: false
definitions: value
script:
- narrate "%value%Intro"
- narrate "<npc> is npc"
- run %value%Intro as:<npc>
- ^run ShowJsonButton "def:<s@%value%Constants.constant[AcceptText]>|<bold><s@%value%Constants.constant[AcceptDescription]>|DoAccept|%value%"
- ^run ShowJsonButton def:<s@%value%Constants.constant[DenyText]>|<bold><s@%value%Constants.constant[DenyDescription]>|%value%Deny|%value%"
ExampleQuestIntro:
type: task
debug: false
script:
- chat "This runs when the player clicks the quest info button."
- chat "Put whatever you want here. Remember that the quest hasn't been accepted yet."
- chat "The player can run the intro as many times as s/he likes."
- ^chat "Delays will work, so remember every action without a carat has a 0.5s delay!"