Date: 2015/06/28 09:21:54 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
Bushima:
type: assignment
interact scripts:
- 10 Class
Class:
type: interact
steps:
1:
click trigger:
script:
- ^engage
- chat "the ^ means it's instant, otherwise you have 0.5sec delay"
- ^chat "this is the chat command it contains the npcs name"
- wait 1
- narrate "wait command above"
- narrate "engage and disengage is so another player won't be able to talk to him again and you can't click him twice"
- narrate "Say <green>Yes<green> <white>or<red> No"
- narrate "this is the narrate it narrates, color example above"
- ^disengage
- ^zap step:2
2:
click trigger:
script:
- ^chat "Hello again, <player.name>. Have you made your decision?"
- narrate "Say <green>Yes<green> <white>or<red> No"
chat trigger:
1:
trigger: /Yes/, I am ready.
script:
- ^chat "In these ruins, our power is at its greatest. By continuing down one the path to my west, you can select your destiny."
- wait 1
- ^chat "Will you be a fighter, or will you model yourself after the dwarven crafters or elven farmers?"
- wait 1
- ^chat "I do not foresee us meeting once again for some time. I would like to give you some items to assist you on your journey."
- wait 1
- ^chat "What destiny do you feel you will be following?"
- narrate "Say <Gold><bold>Crafter<white> or <dark_gray><bold>Fighter<white> or <Green><bold>Farmer<white>"
- ^zap step:1
2:
trigger: /No/, I am not ready.
script:
- chat "I see. I encourage you to return to me in the future if you change your mind."
- ^zap step:1