Paste #64275: Updated TacoBell 1.15.1

Date: 2020/01/17 09:07:29 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


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