Date: 2019/08/10 12:34:44 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
dexter_start:
type: assignment
actions:
on assignment:
- trigger name:proximity state:true radius:5
interact scripts:
- 10 dexter_help
cdexter:
type: format
format: "<&5>> <&6><Dexter> <&7>--> <&e><text>"
cnarrator:
type: format
format: "<&5>> <&7><You> <&7>--> <&7><&0><text>"
cguide:
type: format
format: "<&5>Make A Choice:<&e>"
dexter_help:
type: interact
steps:
1:
proximity trigger:
entry:
script:
- ^narrate format:cdexter "<&l>Hey! <&e>I need help!"
- playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
- wait 1
- ^narrate format:cdexter "Can you help me? My friend Rogger was murdered! Can you help me?"
- playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
- wait 1.5
- ^narrate "<&5><&l>Make A Choice:<&e> Type <&2><&l>Yes <&e>to help or type <&4><&l>No<&e> to refuse"
- playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:0.4
- zap 2
2:
chat trigger:
1:
trigger: /Yes/ I accept to help!
script:
- ^narrate format:cdexter "Thank you!"
- playsound <player> sound:AMBIENT_CAVE pitch:2
- title "title:<green>Quest Started!" "subtitle:<gold>Murder Mystery"
- zap 1
2:
trigger: /No/ I refuse to help you.
script:
- ^narrate format:cdexter "Screw off then!"
- playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
- zap 3
3:
click trigger:
script:
- ^narrate format:cdexter "Did you want to help me now?"
- playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
- wait 1
- ^narrate format:cdexter "I need to know who killed my friend!"
- playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
- wait 1.5
- ^narrate "<&5><&l>Make A Choice:<&e> Type <&2><&l>Yes <&e>to help or type <&4><&l>No<&e> to refuse"
- playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:0.4
- zap 2