Date: 2015/11/28 21:47:27 UTC-08: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
QuestShopAssistant:
type: assignment
actions:
on assignment:
- trigger name:click state:true
interact scripts:
- 10 ShopAssistant
ShopAssistant:
type: interact
steps:
1:
Click Trigger:
Script:
- if <player.has_flag[quest_1_stage_1]> {
- narrate format:npcchat "Greetings friend, how can I help you today?"
- wait 2
- narrate format:npcchat "Ooooh! You're here for Nexusrightsi's package!"
- narrate format:npcchat "Hold on, let me get it for you than!"
- wait 2
- flag <npc> step:1
- walk <def[masternpc].anchror[spot1]> auto_range
- wait 5
- flag <npc> step:2
- walk <def[masternpc].anchror[spot2]> auto_range
- wait 5
- flag <npc> step:3
- walk <def[masternpc].anchror[spot3]> auto_range
- wait 5
- flag <npc> step:4
- walk <def[masternpc].anchror[spot4]> auto_range
- wait 5
- narrate format:npcchat "Found it! Here you go. Tell Nexusrightsi I said hello, will you!?"
- execute as_server "ils give <player.name> &bPackage"
- flag player quest_1_stage_2
- flag player quest_1_stage_1:!
- wait 20
- remove <npc>
- zap 2
}