Date: 2020/01/17 09:07:29 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
poop_world:
type: world
debug: true
events:
on player clicks ghost_pepper_burrito in tacobell_Inventory:
- if <player.money> >= "8" {
- inventory close
- money take quantity:8
- narrate "<&a>$<&e>8 <&a>has been taken from your balance"
- narrate format:tacobellChat "Thank you, enjoy!"
- give ghost_pepper_burrito
} else {
- inventory close
- narrate "<&c>You do not have enough money!"
}
on player clicks block with ghost_pepper_burrito:
- determine passively cancelled
- flag player ghostburrito:5
- wait 1t
- take i@ghost_pepper_burrito
- playsound <player> sound:ENTITY_GENERIC_EAT pitch:1
- playsound <player> sound:ENTITY_PLAYER_BURP pitch:3
- playsound <player> sound:entity_generic_eat pitch:3
- playsound <player> sound:entity_generic_eat pitch:3
- wait 20s
- narrate "You start to feel the burn in your gut"
- run stomachgurgle
on player clicks volcano_taco in tacobell_Inventory:
- if <player.money> >= "16" {
- inventory close
- money take quantity:16
- narrate "<&a>$<&e>16 <&a>has been taken from your balance"
- narrate format:tacobellChat "Umm...these can be sneaky"
- give volcano_taco
} else {
- inventory close
- narrate "<&c>You do not have enough money!"
}
on player clicks block with volcano_taco:
- determine passively cancelled
- flag player ghostburrito:1
- wait 1t
- take i@volcano_taco
- playsound <player> sound:ENTITY_GENERIC_EAT pitch:1
- playsound <player> sound:ENTITY_PLAYER_BURP pitch:3
- narrate "You start to feel a mild burn in your gut"
- run stomachgurgle
on player clicks burrito_supreme in tacobell_Inventory:
- if <player.money> >= "6" {
- inventory close
- money take quantity:6
- narrate "<&a>$<&e>6 <&a>has been taken from your balance"
- give burrito_supreme
} else {
- inventory close
- narrate "<&c>You do not have enough money!"
}
on player clicks block with burrito_supreme:
- determine passively cancelled
- flag player burritohurt:5
- wait 1t
- take i@burrito_supreme
- playsound <player> sound:ENTITY_GENERIC_EAT pitch:1
- playsound <player> sound:ENTITY_PLAYER_BURP pitch:3
- narrate "Your gut starts to gurgle"
- run stomachgurgle
on player clicks crunchy_taco in tacobell_Inventory:
- if <player.money> >= "12" {
- inventory close
- money take quantity:12
- narrate "<&a>$<&e>12 <&a>has been taken from your balance"
- give crunchy_taco
} else {
- inventory close
- narrate "<&c>You do not have enough money!"
}
on player clicks block with crunchy_taco:
- determine passively cancelled
- flag player burritohurt:1
- wait 1t
- take i@crunchy_taco
- playsound <player> sound:ENTITY_GENERIC_EAT pitch:1
- playsound <player> sound:ENTITY_PLAYER_BURP pitch:3
- narrate "Your gut starts to gurgle"
- run stomachgurgle
on player clicks mountain_dew in tacobell_Inventory:
- if <player.money> >= "6" {
- inventory close
- money take quantity:6
- narrate "<&a>$<&e>6 <&a>has been taken from your balance"
- give mountain_dew
} else {
- inventory close
- narrate "<&c>You do not have enough money!"
}
on player clicks block with mountain_dew:
- determine passively cancelled
- wait 1t
- take i@mountain_dew
- playsound <player> sound:ITEM_SHIELD_BREAK pitch:2 volume:100
- playsound <player> sound:ENTITY_PARROT_IMITATE_DROWNED pitch:2 volume:100
- wait 5t
- playsound <player> sound:ENTITY_GENERIC_DRINK pitch:0.7 volume:100
- wait 1s
- playsound <player> sound:ENTITY_HORSE_JUMP pitch:0.7 volume:0.5
- wait 1s
- playsound <player> sound:ENTITY_HORSE_JUMP pitch:0.7 volume:0.5
- narrate "<green>You feel energy surging through you"
- wait 1s
- playsound <player> sound:ENTITY_HORSE_JUMP pitch:0.7 volume:0.5
- wait 1s
- playsound <player> sound:ENTITY_HORSE_JUMP pitch:0.7 volume:0.5
- wait 1s
- playsound <player> sound:ENTITY_HORSE_JUMP pitch:0.7 volume:0.5
- adjust <player> walk_speed:0.4
- wait 10s
- adjust <player> walk_speed:0.2
on player starts sneaking:
- if <player.has_flag[burritohurt]>:
- shoot dropped_item[item=poop] o:<player.location> d:<player.location.relative[0,0,-1].with_y[<player.location.y>]> speed:0.5
- playsound <player.location> entity_slime_hurt pitch:0.5
- flag player burritohurt:-:1
- if <player.flag[burritohurt]> == 0:
- flag player burritohurt:!
- if <player.has_flag[ghostburrito]>:
- shoot dropped_item[item=poop] o:<player.location> d:<player.location.relative[0,0,-1].with_y[<player.location.y>]> speed:0.5 save:flamingturd
- burn <entry[flamingturd].shot_entities>
- playsound <player.location> entity_slime_hurt pitch:0.5
- flag player ghostburrito:-:1
- if <player.flag[ghostburrito]> == 0:
- flag player ghostburrito:!
on player clicks block with poop:
- shoot dropped_item[item=<player.item_in_hand.with[quantity=1]>] o:<player> speed:1.5 script:poop_sound save:item
- wait 1t
- take iteminhand
- define ent:<entry[item].shot_entity>
- define loc:<[ent].location>
- repeat 20:
- define targ:<[ent].location.points_between[<[loc]>].parse[find.entities[player].within[2].separated_by[|]].replace_text[li@].as_list>
- define loc:<[ent].location>
- if <[targ].size||0> != 0 && <[targ].get[1].name||null> != null:
- animate <[targ].get[1]> hurt
- announce "<gold><bold><player.name> hit <[targ].get[1].name> with POOP!"
- playsound <[targ].get[1].location> entity_slime_hurt pitch:0.5
- stop
- wait 1t
poop_sound:
type: task
debug: true
script:
- playsound <[location]> entity_slime_hurt pitch:0.5
stomachgurgle:
type: task
debug: true
script:
- playsound <player> sound:ENTITY_ZOMBIE_VILLAGER_AMBIENT pitch:0.<util.random.int[0].to[9]> volume:10
- wait 1s
- adjust <player> walk_speed:0.0
- wait 1s
- adjust <player> walk_speed:0.1
- wait 5s
- adjust <player> walk_speed:0.2
- if <player.has_flag[ghostburrito]> || <player.has_flag[burritohurt]>:
- random:
- wait 5s
- wait 1m
- wait 3m
- wait 5m
- wait 7m
- wait 10m
- run stomachgurgle
poop:
type: item
debug: true
material: player_head[skull_skin=96179689-3fb2-4143-be50-eb049a016bc8|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWIzYjFmNzg1ZjAxNzUzYzQ1ZWY5N2ZjZmZmZmIzZjUyNjU4ZmZjZWIxN2FkM2Y3YjU5Mjk0NWM2ZGYyZmEifX19]
display name: 'Poop'
lore:
- Came out of <player.name>'s ass
ghost_pepper_burrito:
type: item
debug: true
display name: 'ghost pepper burrito'
material: player_head[skull_skin=b4bcd0c4-1c10-4889-bb75-a1341693b27a|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTM4N2E2MjFlMjY2MTg2ZTYwNjgzMzkyZWIyNzRlYmIyMjViMDQ4NjhhYjk1OTE3N2Q5ZGMxODFkOGYyODYifX19]
lore:
- Nuke U
- <&a>$<&f>15
volcano_taco:
type: item
debug: true
display name: 'volcano taco'
material: player_head[skull_skin=d61cff9c-80be-46af-a164-d632cb2589d9|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWFhZTVjMWMyOTE5ZDdlYzQzOGY5M2Y4NDdjNjIzZDJlYTNmOWQzZWE3MDdlYWNkNmMxMjMzMTMxYmIxODM1In19fQ==]
lore:
- Hot & Spicy
- <&a>$<&f>8
mountain_dew:
type: item
debug: true
display name: 'mountain dew'
material: player_head[skull_skin=3438371d-2289-4d58-979e-217648741112|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTc2ZDQwMTZmMTFjOTk5ZDU3ZTBmZGZiYmUyMmJjYzZmY2Y3OTFlMjQzNTJjY2VjOWM1NWYxYTkzNWQ4NjhiMyJ9fX0=]
lore:
- You NEED one of these
- <&a>$<&f>5
burrito_supreme:
type: item
debug: true
display name: 'Burrito supreme'
material: player_head[skull_skin=668975ee-ab38-4c30-a71b-c6180d80a8d9|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjIxM2QzMjlkNDdhNWYyMWVlMzhhMzYxODc5NDYwOGI1YjUwZTI2YjMxMTE2OTQ0YTZjNDAxODYyMWZiMWZlNSJ9fX0=]
lore:
- Our beans are the Best!
- <&a>$<&f>8
crunchy_taco:
type: item
debug: true
display name: 'crunchy taco'
material: player_head[quantity=2;skull_skin=4bb09c5c-bc27-4392-a42a-08da2b55d950|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGM4YjJlMTM0N2I3YWZiYmI2NDFjNTkwYjM2OWM2NWEyMmQxYThjZGMxZTBlZTQ0YzM2MzE4NTgwNWRiNGNlMCJ9fX0=]
lore:
- A nice crunchy, to fix the munchie
- <&a>$<&f>6