Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {quest1a1::%player%} = 0
- {rudairon::%player%} = 0
- {rudagold::%player%} = 0
- {quest1a2::%player%} = 0
- {ckwiat::%player%} = 0
- {quest1a3::%player%} = 0
- {kamiennaprawy::%player%} = 0
- {emeraldgracza::%player%} = 0
- on right click on entity:
- cancel event
- if name of the clicked entity is "Gornik1":
- If player have permission "quest.permisja":
- If {quest1a1::%player%} = 0:
- send "&eWykop dla mnie troche rudy zlota, bo potrzebuje jej troche do wybicia monet dla naszego wladcy, bede potrzebowal jej okolo 100" to player
- If {rudagold::%player%} is more than 99.8:
- remove 100 from {rudagold::%player%}
- set {quest1a1::%player%} to 1
- give 1 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 100 rud zlota" to player
- If {quest1a1::%player%} = 1:
- send "&eWykop dla mnie troche rudy zlota, bo potrzebuje jej troche do wybicia monet dla naszego wladcy, bede potrzebowal jej okolo 300" to player
- If {rudagold::%player%} is more than 299.8:
- remove 300 from {rudagold::%player%}
- set {quest1a1::%player%} to 2
- give 2 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 300 rud zlota" to player
- If {quest1a1::%player%} = 2:
- send "&eWykop dla mnie troche rudy zlota, bo potrzebuje jej troche do wybicia monet dla naszego wladcy, bede potrzebowal jej okolo 900" to player
- If {rudagold::%player%} is more than 899.8:
- remove 900 from {rudagold::%player%}
- set {quest1a1::%player%} to 3
- give 4 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 900 rud zlota" to player
- If {quest1a1::%player%} = 3:
- send "&eWykop dla mnie troche rudy zlota, bo potrzebuje jej troche do wybicia monet dla naszego wladcy, bede potrzebowal jej okolo 2700" to player
- If {rudagold::%player%} is more than 2699.8:
- remove 2700 from {rudagold::%player%}
- set {quest1a1::%player%} to 4
- give 8 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 8100 rud zlota" to player
- If {quest1a1::%player%} = 4:
- send "&eWykop dla mnie troche rudy zlota, bo potrzebuje jej troche do wybicia monet dla naszego wladcy, bede potrzebowal jej okolo 8100" to player
- If {rudagold::%player%} is more than 8099.8:
- remove 8100 from {rudagold::%player%}
- set {quest1a1::%player%} to 5
- give 16 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 24300 rud zlota" to player
- If {quest1a1::%player%} = 5:
- send "&eWykop dla mnie troche rudy zlota, bo potrzebuje jej troche do wybicia monet dla naszego wladcy, bede potrzebowal jej okolo 24300" to player
- If {rudagold::%player%} is more than 24299.8:
- remove 24300 from {rudagold::%player%}
- set {quest1a1::%player%} to 6
- give 32 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 24300 rud zlota" to player
- on mine of gold ore:
- If block under event-block is 22:0:
- cancel event
- add 0.2 to {rudagold::%player%}
- on right click on entity:
- cancel event
- if name of the clicked entity is "Gornik2":
- If player have permission "quest.permisja":
- If {quest1a2::%player%} = 0:
- send "&6Wykop dla mnie troche rudy zelaza, bo nasz wladca potrzebuje na zbrojenia, bedzie potrzebowal okolo 100 rud zelaza" to player
- If {rudairon::%player%} is more than 99.8:
- remove 100 from {rudairon::%player%}
- set {quest1a2::%player%} to 1
- give 1 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 100 rud zelaza" to player
- If {quest1a2::%player%} = 1:
- send "&6Wykop dla mnie troche rudy zelaza, bo nasz wladca potrzebuje na zbrojenia, bedzie potrzebowal okolo 300 rud zelaza" to player
- If {rudairon::%player%} is more than 299.8:
- remove 300 from {rudairon::%player%}
- set {quest1a2::%player%} to 2
- give 2 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 300 rud zelaza" to player
- If {quest1a2::%player%} = 2:
- send "&6Wykop dla mnie troche rudy zelaza, bo nasz wladca potrzebuje na zbrojenia, bedzie potrzebowal okolo 900 rud zelaza" to player
- If {rudairon::%player%} is more than 899.8:
- remove 900 from {rudairon::%player%}
- set {quest1a2::%player%} to 3
- give 4 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 900 rud zelaza" to player
- If {quest1a2::%player%} = 3:
- send "&6Wykop dla mnie troche rudy zelaza, bo nasz wladca potrzebuje na zbrojenia, bedzie potrzebowal okolo 2700 rud zelaza" to player
- If {rudairon::%player%} is more than 2699.8:
- remove 2700 from {rudairon::%player%}
- set {quest1a2::%player%} to 4
- give 8 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 2700 rud zelaza" to player
- If {quest1a2::%player%} = 4:
- send "&6Wykop dla mnie troche rudy zelaza, bo nasz wladca potrzebuje na zbrojenia, bedzie potrzebowal okolo 8100 rud zelaza" to player
- If {rudairon::%player%} is more than 8099.8:
- remove 8100 from {rudairon::%player%}
- set {quest1a2::%player%} to 5
- give 16 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 8100 rud zelaza" to player
- If {quest1a2::%player%} = 5:
- send "&6Wykop dla mnie troche rudy zelaza, bo nasz wladca potrzebuje na zbrojenia, bedzie potrzebowal okolo 24300 rud zelaza" to player
- If {rudairon::%player%} is more than 24299.8:
- remove 24300 from {rudairon::%player%}
- set {quest1a2::%player%} to 6
- give 32 iron ingot named "&eSztabka Imperialna" to player
- send "&6Oto twoja nagroda" to player
- else:
- send "&ePotrzebujesz 24300 rud zelaza" to player
- on mine of iron ore:
- If block under event-block is 22:0:
- cancel event
- add 0.2 to {rudairon::%player%}
- on right click on entity:
- cancel event
- if name of the clicked entity is "&2KrolewskiKupiec":
- If player have permission "quest.permisja":
- If {rudairon::%player%} = 500:
- remove 500 from {rudairon::%player%}
- send "&6Oto twoja zaplata" to player
- give 1 gold ingot named "&eSztabka" to player
- else:
- send "&ePotrzebujesz 500 rud zelaza" to player
- on right click on entity:
- if name of the clicked entity is "KrolewskiKupiec2":
- If player have permission "quest.permisja":
- If {rudagold::%player%} = 500:
- remove 500 from {rudagold::%player%}
- send "&6Oto twoja zaplata" to player
- give 1 iron ingot named "&eSztabka" to player
- else:
- send "&ePotrzebujesz 500 rud zlota" to player
- command /przygodowa:
- trigger:
- send "&ePosiadasz: &4%{rudairon::%player%}% &eRud zelaza" to player
- send "&ePosiadasz: &4%{rudagold::%player%}% &eRud zlota" to player
- send "&ePosiadasz: &4%{ckwiat::%player%}% &eCzerwonych kwiatow" to player
- send "&ePosiadasz: &4%{kamiennaprawy::%player%}% &eKamieni naprawy" to player
- send "&ePosiadasz: &4%{emeraldgracza::%player%}% &eRud szmaragdow" to player
- on right click on 38:0:
- if block under event-block is 3:1:
- If player have permission "quest.permisja":
- send "&eTrwa zbieranie kwiatow" to player
- wait 5 second
- add 1 to {kwiat::%player%}
- send "&eZdobyto 1 czerwony kwiat" to player
- set event-block to air
- wait 120 second
- set event-block to 38:0
- on right click on entity:
- cancel event
- if name of the clicked entity is "Zielarz":
- If player have permission "quest.permisja":
- If {quest1a3::%player%} = 0:
- send "&ePotrzebuje troche lokalnych kwiatow, aby rozwinac lokalne zielarstwo, zdobadz 10 kwiatow, a ciebie wynagrodze" to player
- If {ckwiat::%player%} is more than 9:
- remove 10 from {ckwiat::%player%}
- send "&eOto twoja nagroda" to player
- set {quest1a3::%player%} to 1
- give 2 gold ingot named "&eSztabka" to player
- If {quest1a3::%player%} = 1:
- send "&ePotrzebuje troche lokalnych kwiatow, aby rozwinac lokalne zielarstwo, zdobadz 50 kwiatow, a ciebie wynagrodze" to player
- If {ckwiat::%player%} is more than 49:
- remove 50 from {ckwiat::%player%}
- send "&eOto twoja nagroda" to player
- set {quest1a3::%player%} to 2
- give 8 gold ingot named "&eSztabka" to player
- If {quest1a3::%player%} = 2:
- send "&ePotrzebuje troche lokalnych kwiatow, aby rozwinac lokalne zielarstwo, zdobadz 250 kwiatow, a ciebie wynagrodze" to player
- If {ckwiat::%player%} is more than 249:
- remove 250 from {ckwiat::%player%}
- send "&eOto twoja nagroda" to player
- set {quest1a3::%player%} to 3
- give 50 gold ingot named "&eSztabka" to player
- on right click on entity:
- cancel event
- if name of the clicked entity is "KowalThor":
- If player have permission "quest.permisja":
- If {kamiennaprawy::%player%} is more than 1:
- remove 1 from {kamiennaprawy::%player%}
- execute console command "/repair %player%"
- send "&eNaprawiono przedmiot" to player
- else:
- send "&ePotrzebujesz 1 kamienia naprawy" to player
- on right click on emerald ore:
- If block under event-block is obsidian:
- If player's tool is wooden pickaxe:
- cancel event
- set event-block to air
- apply slowness 2 to player for 10 seconds
- apply blindness 2 to player for 10 seconds
- wait 10 second
- send "&eWykopano rude" to player
- add 1 to {emeraldgracza::%player%}
- wait 300 second
- set event-block to emerald ore
- else:
- cancel event
- send "&ePotrzebujesz drewnianego kilofa" to player
- on right click on entity:
- cancel event
- if name of the clicked entity is "BratKowala":
- if {emeraldgracza::%player%} is more than 99:
- remove 100 from {emeraldgracza::%player%}
- add 1 to {kamiennaprawy::%player%}
- send "&eZamieniono 100 rud szmaragdow na 1 kamien naprawy" to player
- else:
- send "&ePotrzebujesz 100 rud szmaragdow" to player
- command /przygoda:
- trigger:
- If player have permission "quest.permisja":
- send "&eZa 60 sekund zostaniesz przeniesiony na mape przygodowa" to player
- wait 60 second
- execute console command "/warp przygoda %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement