Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {techno1.%player%} = 0
- {techno2.%player%} = 0
- {techno3.%player%} = 0
- {techno4.%player%} = 0
- {techno5.%player%} = 0
- {money.%player%} = 0
- options:
- techno1:10
- techno2:10
- techno3:10
- techno4:10
- techno5:10
- on break stone:
- chance of {@techno1}%:
- drop 1 gold nugget of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 1"
- send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 1"
- add 1 to {techno1.%player%}
- chance of {@techno2}%:
- drop 1 ghast tear of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 2"
- send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 2"
- add 1 to {techno2.%player%}
- chance of {@techno3}%:
- drop 1 gunpowder of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 3"
- send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 3"
- add 1 to {techno3.%player%}
- chance of {@techno4}%:
- drop 1 glowstone dust of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 4"
- send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 4"
- add 1 to {techno4.%player%}
- chance of {@techno5}%:
- drop 1 redstone of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 5"
- send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 5"
- add 1 to {techno5.%player%}
- command /statystyki [<player>]:
- trigger:
- send "&6&l>>&c&l====&6&lStatystyki %arg-player%&c&l====&6&l<<" to arg-player
- send "&a&l>>&c&lWykopane Technologie 1 &b&l%{techno1.%arg-player%}%&a&l<<" to arg-player
- send "&a&l>>&c&lWykopane Technologie 2 &b&l%{techno2.%arg-player%}%&a&l<<" to arg-player
- send "&a&l>>&c&lWykopane Technologie 3 &b&l%{techno3.%arg-player%}%&a&l<<" to arg-player
- send "&a&l>>&c&lWykopane Technologie 4 &b&l%{techno4.%arg-player%}%&a&l<<" to arg-player
- send "&a&l>>&c&lWykopane Technologie 5 &b&l%{techno5.%arg-player%}%&a&l<<" to arg-player
- send "&a&l>>&c&lMonety &b&l%{money.%arg-player%}%&a&l<<" to arg-player
- send "&6&l>>&c&l====&6&lStatystyki %arg-player%&c&l====&6&l<<" to arg-player
- command /autor [<player>]:
- trigger:
- send "&6&l>>&c&l&m====--|--====&6&l<<" to arg-player
- send "&a&lAutorem skryptu jest Lopata2001!" to arg-player
- send "&a&lKontakt:&2&l przemek18227 &7(&b&lSkype&7) &2&l52456308&7 (&6&lGG&7)" to arg-player
- send "&6&l>>&c&l&m====--|--====&6&l<<" to arg-player
- command /dropcoin [<player>]:
- trigger:
- send "&6&l>>&c&l&m====--|--====&6&l<<" to arg-player
- send "&a&l>>&5&lTechnologia &c&l1 - {@techno1} &a&l<<" to arg-player
- send "&a&l>>&5&lTechnologia &c&l2 - {@techno2} &a&l<<" to arg-player
- send "&a&l>>&5&lTechnologia &c&l3 - {@techno3} &a&l<<" to arg-player
- send "&a&l>>&5&lTechnologia &c&l4 - {@techno4} &a&l<<" to arg-player
- send "&a&l>>&5&lTechnologia &c&l5 - {@techno5} &a&l<<" to arg-player
- send "&6&l>>&c&l&m====--|--====&6&l<<" to arg-player
- command /wym1 [<player>]:
- trigger:
- if arg-player have 1 gold nugget of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 1":
- remove 1 gold nugget of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 1" from arg-player
- add 1 to {money.%arg-player%}
- send "&a&l>>&C&LWymieniles Technolologie 1 na 1Zł!" to arg-player
- else:
- send "&cNie masz Technologi 1!" to arg-player
- command /wym2 [<player>]:
- trigger:
- if arg-player have 1 ghast tear of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 2":
- remove 1 ghast tear of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 2" from arg-player
- add 2 to {money.%arg-player%}
- send "&a&l>>&C&LWymieniles Technolologie 2 na 2Zł!" to arg-player
- else:
- send "&cNie masz Technologi 2!" to arg-player
- command /wym3 [<player>]:
- trigger:
- if arg-player have 1 gunpowder of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 3":
- remove 1 gunpowder of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 3" from arg-player
- add 5 to {money.%arg-player%}
- send "&a&l>>&C&LWymieniles Technolologie 3 na 5Zł!" to arg-player
- else:
- send "&cNie masz Technologi 3!" to arg-player
- command /wym4 [<player>]:
- trigger:
- if arg-player have 1 glowstone dust of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 4":
- remove 1 glowstone dust of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 4" from arg-player
- add 10 to {money.%arg-player%}
- send "&a&l>>&C&LWymieniles Technolologie 4 na 10Zł!" to arg-player
- else:
- send "&cNie masz Technologi 3!" to arg-player
- command /wym5 [<player>]:
- trigger:
- if arg-player have 1 redstone of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 5":
- remove 1 redstone of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 5" from arg-player
- add 20 to {money.%arg-player%}
- send "&a&l>>&C&LWymieniles Technolologie 5 na 20 Zł!" to arg-player
- else:
- send "&cNie masz Technologi 3!" to arg-player
- command /wymiana:
- trigger:
- open chest with 3 rows named "&c&l&m|-&f &a&lWymiana &c&l&m-|" to player
- wait 2 tick
- format slot 0 of player with 1 of vines named "&f" to close
- format slot 1 of player with 1 of vines named "&f" to close
- format slot 2 of player with 1 of vines named "&f" to close
- format slot 3 of player with 1 of vines named "&f" to close
- format slot 4 of player with 1 of vines named "&f" to close
- format slot 5 of player with 1 of vines named "&f" to close
- format slot 6 of player with 1 of vines named "&f" to close
- format slot 7 of player with 1 of vines named "&f" to close
- format slot 8 of player with 1 of vines named "&f" to close
- format slot 9 of player with 1 of paper named "&cStan konta: %{money.%player%}%" to run ""
- format slot 10 of player with 1 of book named "&c&lDrop" to run "dropcoin %player%"
- format slot 11 of player with 1 of gold nugget of thorns 10 named "&c&lWymien na 1 zł!" to run "wym1 %player%"
- Format slot 12 of player with 1 ghast tear of thorns 10 named "&c&lWymien na 2 zł!" to run "wym2 %player%"
- Format slot 13 of player with 1 gunpowder of thorns 10 named "&c&lWymien na 5 zł" to run "wym3 %player%"
- Format slot 14 of player with 1 glowstone dust of thorns 10 named "&c&lWymien na 10 zł" to run "wym4 %player%"
- Format slot 15 of player with 1 redstone of thorns 10 named "&c&lWymien na 20 zł" to run "wym5 %player%"
- Format slot 16 of player with 1 book named "&c&lInfo a autorze" to run "autor %player%"
- format slot 17 of player with 1 of paper named "&c&lStatystyki" to run "statystyki %player%"
- format slot 18 of player with 1 of vines named "&f" to close
- format slot 19 of player with 1 of vines named "&f" to close
- format slot 20 of player with 1 of vines named "&f" to close
- format slot 21 of player with 1 of vines named "&f" to close
- format slot 22 of player with 1 of vines named "&f" to close
- format slot 23 of player with 1 of vines named "&f" to close
- format slot 24 of player with 1 of vines named "&f" to close
- format slot 25 of player with 1 of vines named "&f" to close
- format slot 26 of player with 1 of vines named "&f" to close
Advertisement
Add Comment
Please, Sign In to add comment