Date: 2016/08/23 04:53:37 UTC-07:00
Type: Denizen Script
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
KingQuest:
type: assignment
actions:
on assignment:
- trait health state:true
- trigger name:click state:true
on death:
- if !<context.damager.is_player||false> {
- queue clear
}
- give money 100 player:<context.damager>
interact scripts:
- 10 KingInteract
king:
type: format
format: "<&7><npc.name.nickname> <&7>> <&a><text>"
KingInteract:
type: interact
steps:
1:
click trigger:
script:
- engage
- narrate format:king "Hey, could u please kill the King ?"
- wait 1s
- narrate "Type Yes or No in chat."
- disengage
chat trigger:
1:
trigger: /Yes/, i'll help you.
script:
- engage
- narrate format:chat "So, than kill him"
- zap 2
- disengage
2:
trigger: /No/, i can't.
script:
- random 2
- narrate format:chat "Screw off."
- narrate format:chat "K, Ciao."
2: