Date: 2015/09/24 02:51:20 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
69
70
71
72
73
74
75
Jason:
type: assignment
debug: false
actions:
on assignment:
- trigger name:click toggle:true
- trigger name:chat toggle:true
- lookclose state:true
interact scripts:
- 10 jason_interact
jason_interact:
type: interact
Steps:
1:
click trigger:
Script:
- narrate "<dark_green>Jason<white><&co> Can you help me please?"
- wait 2
- narrate "<dark_green>Jason<white><&co> I need something from the blacksmith"
- narrate "<blue> Type yes or no"
2:
chat trigger:
1:
trigger: /yes/, how can i help you?
script:
- narrate "<dark_green>Jason<white><&co> Ohh... thank you, get a <blue>[Gold Ingot]<white> to me..."
- wait 1
- narrate "<dark_green>Jason<white><&co> I think the blacksmith took it, he loves gold more than anything else..."
- wait 2
- narrate "<dark_green>Jason<white><&co> For about 9 month ago he was a very happy man, he had alot of friends, we all loved him but then.."
- wait 2
- narrate "<dark_green>Jason<white><&co> But then he took to the Kingdom of Dwarfs to talk with some old friends, he came back 1 month later.."
- wait 2
- narrate "<dark_green>Jason<white><&co> And then he only talked about gold, every single day.. but now he won't even come up"
- wait 2
- narrate "<dark_green>Jason<white><&co> It's so sad..."
- wait 1
- narrate "<grey>[Quest: Find and deliver the gold ingot to Jason]"
- zap step:3
2:
trigger: /no/, im too busy
script:
- narrate "<dark_green>Jason<white><&co> okay , come back later then."
- zap step:1
3:
click trigger:
script:
- if <player.inventory.contains[GOLD_INGOT].qty[1]> {
- take gold_ingot qty:1
- wait 1
- narrate "<dark_green>Jason<white><&co> Thank you so much."
- wait 1
- narrate "<dark_green>Jason<white><&co> Walk around and try to find a new quest."
- wait 2
- narrate "<dark_green>Jason<white><&co> I think my friend jeffery can help you!"
- wait 2
- narrate "<dark_green>Jason<white><&co> Here is your reward my friend."
- give i@Copper qty:13
- zap step:4
} else {
- narrate "<dark_green>Jason<white><&co> Go find my gold ingot!"
- wait 2
- narrate "<dark_green>Jason<white><&co> come back when you found it."
}
4:
click trigger:
script:
- narrate "<dark_green>Jason<white><&co> Thank you for the help last time."
Copper:
type: item
material: brick
display name: <red>Copper
lore: <dark_aqua>Worth<&co>1 Copper