Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- maxgrzecznosc: 250 #max punkty niegrzeczności
- czekoladki: 10 #ile maksymalnie czekoladek ma być w bombonierce
- nazwarudolfa: <red>Rudolf #nazwa wyświetlana Rudolfa
- czasrefa: 5 #czas odświeżenia miejsca Rudolfa w sekundach
- #kod
- on death:
- victim is player:
- attacker is player:
- add 1 to {grzecznosc::%attacker%}
- send "Jestes niegrzeczny! Uwazaj, bo bedzie rozga pod choinka!"
- command /rudolf:
- permission: rudolf
- permission message: Nie maz w sobie ducha swiat! Rudolf nie przyjdzie do ciebie!
- trigger:
- {rudolf::loc} is not set:
- spawn wolf
- set name of last spawned entity to "{@nazwarudolfa}"
- set {rudolf::loc} to location of player
- send "Ho, ho, ho! Rudolf cię lubi!"
- else:
- set {rudolf::loc} to location of player
- loop all entities:
- loop-entity is wolf named "{@nazwarudolfa}":
- teleport loop-entity to player
- send "Ho, ho, ho! Rudolf cię lubi!"
- every {@czasrefa} seconds:
- loop all entities:
- loop-entity is wolf named "{@nazwarudolfa}":
- teleport loop-entity to {rudolf::loc}
- on click on wolf named "{@nazwarudolfa}":
- {grzecznosc::%player%} is greather or equal than {@grzecznosc}:
- show chest with 3
- rows named "Czego potrzebujesz?" to player
- format slot 1 of
- player with chert named "Bombonierka" to run
- "/rudolfwez bombonierka"
Advertisement
Add Comment
Please, Sign In to add comment