Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- #--------------------------------
- # Teplé Nápoje
- #--------------------------------
- item1: &lHorká čokoláda
- item2: &lEspresso
- item3: &lCappucino
- item4: &llLatte
- #--------------------------------
- # Zákusky
- #--------------------------------
- item5: &lMalinový zákusek
- item6: &lLimetkový cupcake
- item7: &lŠlehačkový dort
- item8: &lTiramisu
- #--------------------------------
- # Studené nápoje
- #--------------------------------
- item9: &lPomerančový fresh
- item10: &lFresh mix ovoce
- item11: &lSmoothie Mango
- item12: &lFrapé
- #--------------------------------
- # Efekty
- #--------------------------------
- efekt1: night vision
- efekt2: glowing
- #--------------------------------
- # Particle Efekt
- #--------------------------------
- p.efekt1: greensparks
- p.efekt2: crushedcandycane
- p.efekt3: music
- #--------------------------------
- # Zvuky
- #--------------------------------
- sound.drink: ENTITY_GENERIC_DRINK
- sound.jidlo1: ENTITY_GENERIC_EAT
- sound.jidlo2: ENTITY_PLAYER_BURP
- sound.nadobi: BLOCK_GLASS_BREAK
- sound.penize: ENTITY_EXPERIENCE_ORB_PICKUP
- sound.nakup: ENTITY_VILLAGER_TRADE
- sound.klic: BLOCK_IRON_DOOR_CLOSE
- #--------------------------------
- # Talíř
- #--------------------------------
- name.talir: &7&oPrázdný talíř
- lore.talir: &7&oUkliď po sobě!||&7&oVhoď prázdný talíř do koše!||Klikni s talířem na koš!
- item.talir: bowl
- #--------------------------------
- # Hrneček
- #--------------------------------
- name.hrnecek: &7&oPrázdný hrnek
- lore.hrnecek: &7&oUkliď po sobě!||&7&oVhoď prázdný hrnek do koše!||Klikni s hrnkem na koš!
- item.hrnecek: flower pot
- #--------------------------------
- # Sklenička
- #--------------------------------
- name.sklenicka: &7&oPrázdná sklenice
- lore.sklenicka: &7&oUkliď po sobě!||&7&oVhoď prázdnou sklenici do koše!||Klikni se sklenicí na koš!
- item.sklenicka: glass bottle
- #--------------------------------
- # Message
- #--------------------------------
- message.dekuji: &bDěkuji za úklid! Dám ti nějaké drobné!
- message.drobne: &6Bylo ti posláno 0.25 ฿
- message.nakup: &6Děkuji ti za nákup!
- message.kos: &6Vhazuj použité nádobí &7&o(věc musíš držet v ruce a kliknout na koš)
- message.cooldown: &cChvilku počkej, než se můžeš znovu najíst a napít!
- #--------------------------------
- # Money
- #--------------------------------
- money.uklid: money give %player% 0.25
- #--------------------------------
- # Effect Duration & Cooldown
- #--------------------------------
- efekt.cooldown.1: 10 seconds
- efekt.cooldown.2: 20 seconds
- efekt.cooldown.3: 60 seconds
- #************************************************************************************************************************
- # CODE LINE CODE LINE CODE LINE CODE LINE CODE LINE
- #************************************************************************************************************************
- on rightclick with player head:
- #--------------------------------
- # ITEM1 - Horká čokoláda
- #--------------------------------
- if name of event-item contains "{@item1}":
- cancel event
- if {cooldown::%player%} is set:
- wait 2 seconds
- message "{@message.cooldown}"
- stop trigger
- remove 1 of tool from tool
- execute console command "lp user %player% permission settemp ultracosmetics.* true 70s global hub"
- play sound "{@sound.drink}" to player with volume 1 and pitch 4.0
- wait 2 seconds
- apply potion of {@efekt1} of tier 1 to player for {@efekt.cooldown.3}
- execute console command "uc toggle effect {@p.efekt3} %player%"
- give 1 {@item.hrnecek} named "{@name.hrnecek}" with lore "{@lore.hrnecek}" to player
- set {cooldown::%player%} to 1
- wait {@efekt.cooldown.3}
- execute console command "uc clear %player% particleeffects"
- delete {cooldown::%player%}
- #--------------------------------
- # ITEM 5 - Malinový zákusek
- #--------------------------------
- if name of event-item contains "{@item5}":
- cancel event
- if {cooldown::%player%} is set:
- wait 2 seconds
- message "{@message.cooldown}"
- stop trigger
- remove 1 of tool from tool
- execute console command "lp user %player% permission settemp ultracosmetics.* true 30s global hub"
- play sound "{@sound.jidlo1}" to player with volume 1 and pitch 4.0
- play sound "{@sound.jidlo2}" to player with volume 1 and pitch 4.0
- apply potion of {@efekt2} of tier 1 to player for {@efekt.cooldown.2}
- execute console command "uc toggle effect {@p.efekt1} %player%"
- give 1 {@item.talir} named "{@name.talir}" with lore "{@lore.talir}" to player
- set {cooldown::%player%} to 1
- wait {@efekt.cooldown.2}
- execute console command "uc clear %player% particleeffects"
- delete {cooldown::%player%}
- #--------------------------------
- # ITEM 8 - Tiramisu
- #--------------------------------
- if name of event-item contains "{@item8}":
- cancel event
- if {cooldown::%player%} is set:
- wait 2 seconds
- message "{@message.cooldown}"
- stop trigger
- remove 1 of tool from tool
- execute console command "lp user %player% permission settemp ultracosmetics.* true 30s global hub"
- play sound "{@sound.jidlo1}" to player with volume 1 and pitch 4.0
- play sound "{@sound.jidlo2}" to player with volume 1 and pitch 4.0
- apply potion of {@efekt2} of tier 1 to player for {@efekt.cooldown.2}
- execute console command "uc toggle effect {@p.efekt1} %player%"
- give 1 {@item.talir} named "{@name.talir}" with lore "{@lore.talir}" to player
- set {cooldown::%player%} to 1
- wait {@efekt.cooldown.2}
- execute console command "uc clear %player% particleeffects"
- delete {cooldown::%player%}
- #--------------------------------
- # ITEM 9 - Pomerančový fresh
- #--------------------------------
- if name of event-item contains "{@item9}":
- cancel event
- if {cooldown::%player%} is set:
- wait 2 seconds
- message "{@message.cooldown}"
- stop trigger
- remove 1 of tool from tool
- execute console command "lp user %player% permission settemp ultracosmetics.* true 30s global hub"
- play sound "{@sound.drink}" to player with volume 1 and pitch 4.0
- apply potion of {@efekt2} of tier 1 to player for {@efekt.cooldown.2}
- execute console command "uc toggle effect {@p.efekt1} %player%"
- give 1 {@item.sklenicka} named "{@name.sklenicka}" with lore "{@lore.sklenicka}" to player
- set {cooldown::%player%} to 1
- wait {@efekt.cooldown.2}
- execute console command "uc clear %player% particleeffects"
- delete {cooldown::%player%}
- #-----------
- on load:
- delete {cooldown::*}
- #xxxxxxxxxxxxxxxxxxxxxxxxxxx
- # KOŠ
- #xxxxxxxxxxxxxxxxxxxxxxxxxxx
- on rightclick:
- if event-block is cauldron:
- #--------------------------------
- # Prázdná ruka / jiný item
- #--------------------------------
- if player's tool is not {@item.hrnecek} or {@item.talir} or {@item.sklenicka}:
- message "{@message.kos}"
- #--------------------------------
- # Hrníček
- #--------------------------------
- else if player's tool is {@item.hrnecek}:
- if name of player's tool is "{@name.hrnecek}":
- play sound "{@sound.nadobi}" to player with volume 1 and pitch 4.0
- set action bar of player to coloured "{@message.dekuji}"
- execute console command "{@money.uklid}"
- remove 1 of tool from tool
- wait 1 seconds
- play sound "{@sound.penize}" to player with volume 1 and pitch 4.0
- set action bar of player to coloured "{@message.drobne}"
- #--------------------------------
- # Talířek
- #--------------------------------
- else if player's tool is {@item.talir}:
- if name of player's tool is "{@name.talir}":
- play sound "{@sound.nadobi}" to player with volume 1 and pitch 4.0
- set action bar of player to coloured "{@message.dekuji}"
- execute console command "{@money.uklid}"
- remove 1 of tool from tool
- wait 1 seconds
- play sound "{@sound.penize}" to player with volume 1 and pitch 4.0
- set action bar of player to coloured "{@message.drobne}"
- #--------------------------------
- # Sklenička
- #--------------------------------
- else if player's tool is {@item.sklenicka}:
- if name of player's tool is "{@name.sklenicka}":
- play sound "{@sound.nadobi}" to player with volume 1 and pitch 4.0
- set action bar of player to coloured "{@message.dekuji}"
- execute console command "{@money.uklid}"
- remove 1 of tool from tool
- wait 1 seconds
- play sound "{@sound.penize}" to player with volume 1 and pitch 4.0
- set action bar of player to coloured "{@message.drobne}"
- #_______________________________
- #
- # NÁKUP ACTION BAR
- #_______________________________
- command /kavarna_nakup:
- trigger:
- set action bar of player to coloured "{@message.nakup}"
- #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- # KLÍČ
- #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- on right click with player head:
- if name of event-item contains "{@item5}" or "{@item6}" or "{@item7}" or "{@item8}":
- cancel event
- chance of 5%:
- play sound "{@sound.klic}" to player with volume 1 and pitch 4.0
- wait 2 seconds
- broadcast "&6Našel se zapečený klíč v dortíku! &d&l%player%&6 je ten štastný nálezce!"
- execute console command "cc give p basic 1 %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement