Date: 2021/02/02 05:36:06 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
'npc_0021_manuel':
type: assignment
interact scripts:
- npc_0021_manuel_Interaction
actions:
on assignment:
- trigger name:click toggle:true
- trigger name:chat toggle:true
- trigger name:proximity toggle:true radius:7
'npc_0021_manuel_Interaction':
type: interact
steps:
default:
click trigger:
script:
- narrate "<&7>[<&6><player.name><&7>]: Hallo, ich bin <&e><player.name><&7>."
- wait 3
- chat "<&7>Hey, schön dich kennenzulernen, <&e><player.name><&7>. Ich bin <&e><npc.name><&7>."
- wait 3
- chat "<&7>Kannst du mir in dieser <&e>Goldmine <&7>helfen?"
- wait 3
- chat "<&7>Zwei Händler sind hier vorbei gekommen und nun stecken sie in der Höhle fest."
- wait 3
- chat "<&7>Der Eingang ist eingestürtzt, aber ich werde ihn dir öffnen."
- wait 3
- ~walk <npc> <npc.anchor[eingang]>
- equip <npc> hand:golden_pickaxe
- wait 2
- playsound <player.location> sound:ENTITY_WITHER_BREAK_BLOCK
- modifyblock <location[ap-002-eingang-1]> air"
- wait 1
- playsound <player.location> sound:ENTITY_WITHER_BREAK_BLOCK
- execute as_npc "setblock 1187 74 1198 air"
- wait 1
- playsound <player.location> sound:ENTITY_WITHER_BREAK_BLOCK
- execute as_npc "setblock 1187 73 1198 air"
- wait 1
- playsound <player.location> sound:ENTITY_WITHER_BREAK_BLOCK
- execute as_npc "setblock 1186 73 1198 air"
- wait 1
- playsound <player.location> sound:ENTITY_WITHER_BREAK_BLOCK
- execute as_npc "setblock 1186 72 1198 air"
- wait 1
- playsound <player.location> sound:ENTITY_WITHER_BREAK_BLOCK
- execute as_npc "setblock 1187 72 1198 air"
- wait 2
- equip <npc> hand:air
- ~walk <npc> <npc.anchor[manuel]>
- execute as_npc "setblock 1188 74 1198 cracked_polished_blackstone_bricks"
- execute as_npc "setblock 1187 74 1198 cracked_polished_blackstone_bricks"
- execute as_npc "setblock 1187 73 1198 cracked_polished_blackstone_bricks"
- execute as_npc "setblock 1186 73 1198 cracked_polished_blackstone_bricks"
- execute as_npc "setblock 1186 72 1198 cracked_polished_blackstone_bricks"
- execute as_npc "setblock 1187 72 1198 cracked_polished_blackstone_bricks"
proximity trigger:
entry:
script:
- chat "<&7>Hallo <&b>Fremder<&7>! <&7>Was machst du den hier?"