Date: 2015/04/03 08:31:45 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
TestStarostaAssign:
type: assignment
interact scripts:
- 10 TestStarostaQuest
TestStarostaQuest:
type: interact
steps:
1:
click trigger:
script:
- chat "Nic nepotrebujem, ale dakujem za opytanie"
2:
click trigger:
script:
- if <player.has_flag[NPCLock]> {
- queue clear
}
- ^flag NPCLock
- chat "Co by si potreboval, <player.name>?"
- wait 3
- narrate "<yellow>Quest tip: <white>Do chatu (bez lomitka) napis <italic>zmluvu"
- zap 3
- flag NPCLock:!
3:
chat trigger:
zmluva:
trigger: /zmluvu/ pre Bylinkara
script:
- if <player.has_flag[NPCLock]> {
- queue clear
}
- ^flag NPCLock
- wait 3
- chat "Tak zmluvu?"
- wait 2
- chat "Vedel som to.."
- wait 3
- chat "Schvalne, vies preco chce tu zmluvu?"
- wait 4
- chat "Lebo ho nenavidi polovica mesta"
- wait 4
- chat "Ale nemam sa s nim chut hadat"
- wait 4
- chat "Tak nieco za nieco. Ukaz mi tie bylinky"
- wait 5
- take i@TestBylinkarBylinky
- wait 1
- chat "No tie su skvele"
- wait 3
- chat "Tu mas tu zmluvu"
- wait 3
- give i@TestStarostaZmluva
- chat "Urcite sa ponahla, chod za nim"
- zap 1
- zap step:3 script:TestBylinkarQuest
- flag NPCLock:!
TestStarostaZmluva:
type: item
material: paper
display name: Zmluva pre Bylinkara
bound: true
lore:
- Questovy item