Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function RandomChest(i:integer, t:text):
- set {_x} to 1
- loop {chest.amount.%{_i}%} times:
- add 18 planks to {_stuff.list::*}
- chance of 50%:
- add 1 emerald to {_stuff.list::*}
- chance of 30%:
- add 1 emerald to {_stuff.list::*}
- chance of 20%:
- add 1 diamond to {_stuff.list::*}
- chance of 100%:
- add 1 experience_bottle to {_stuff.list::*}
- chance of 70%:
- add 4 snowballs to {_stuff.list::*}
- chance of 25%:
- add 1 ender pearl to {_stuff.list::*}
- chance of 45%:
- set {_item} to iron sword
- add {_item} to {_stuff.list::*}
- chance of 30%:
- add 1 golden apple to {_stuff.list::*}
- chance of 30%:
- set {_rand} to a random integer between 20 and 150
- set {_item} to golden axe of sharpness 1
- set durability of {_item} to {_rand}
- add {_item} to {_stuff.list::*}
- chance of 20%:
- add 1 diamond chestplate to {_stuff.list::*}
- chance of 35%:
- add 1 iron chestplate to {_stuff.list::*}
- chance of 35%:
- add 1 iron chestplate of protection 1 to {_stuff.list::*}
- chance of 35%:
- add 1 iron leggings to {_stuff.list::*}
- chance of 50%:
- add 1 diamond boots to {_stuff.list::*}
- chance of 20%:
- add 1 tnt to {_stuff.list::*}
- chance of 40%:
- add 25 planks:0 to {_stuff.list::*}
- chance of 50%:
- add 6 snowballs to {_stuff.list::*}
- chance of 40%:
- add experience_bottle to {_stuff.list::*}
- chance of 80%:
- add experience_bottle to {_stuff.list::*}
- chance of 75%:
- add 2 iron ingot to {_stuff.list::*}
- loop 2 times:
- chance of 50%:
- add cobweb to {_stuff.list::*}
- chance of 15%:
- add fire charge to {_stuff.list::*}
- chance of 30%:
- set {_item} to stone sword of sharpness 1
- add {_item} to {_stuff.list::*}
- loop {_stuff.list::*}:
- set {_random} to a random integer from 0 to 27
- while slot {_random} of block at {chest.%{_x}%.%{_i}%} is empty:
- set {_random} to a random integer from 0 to 27
- add loop-value-2 to slot {_random} of block at {chest.%{_x}%.%{_i}%}
- add 1 to {_x}
- delete {_stuff.list::*}
- function RandomMidChest(i:integer, t:text):
- set {_x} to 1
- loop {chest.amount.%{_i}%} times:
- add 13 planks:0 to {_stuff.list::*}
- chance of 85%:
- add 1 emerald to {_stuff.list::*}
- chance of 50%:
- add 1 emerald to {_stuff.list::*}
- chance of 35%:
- add 1 diamond to {_stuff.list::*}
- chance of 100%:
- add 1 experience_bottle to {_stuff.list::*}
- chance of 70%:
- add 4 snowballs to {_stuff.list::*}
- chance of 40%:
- add 1 ender pearl to {_stuff.list::*}
- chance of 30%:
- set {_item} to iron sword of sharpness 2 and fire aspect 1
- add {_item} to {_stuff.list::*}
- chance of 40%:
- add 1 golden apple to {_stuff.list::*}
- chance of 35%:
- add 1 diamond chestplate to {_stuff.list::*}
- chance of 45%:
- add 1 diamond helmet to {_stuff.list::*}
- chance of 35%:
- add 1 iron boots of protection 1 to {_stuff.list::*}
- chance of 25%:
- add 1 iron boots of protection 2 to {_stuff.list::*}
- chance of 30%:
- add 1 diamond helmet of protection 1 to {_stuff.list::*}
- chance of 25%:
- add 1 diamond sword of sharpness 2 to {_stuff.list::*}
- chance of 45%:
- add 1 stone sword of sharpness 2 to {_stuff.list::*}
- chance of 25%:
- add 1 iron leggings of protection 3 to {_stuff.list::*}
- chance of 20%:
- add tnt to {_stuff.list::*}
- chance of 40%:
- add 12 planks:0 to {_stuff.list::*}
- chance of 25%:
- add 37 planks:0 to {_stuff.list::*}
- chance of 50%:
- add 6 snowballs to {_stuff.list::*}
- chance of 80%:
- add 1 experience_bottle to {_stuff.list::*}
- chance of 55%:
- add 2 iron ingot to {_stuff.list::*}
- loop 2 times:
- chance of 35%:
- add cobweb to {_stuff.list::*}
- chance of 20%:
- add 1 fire charge to {_stuff.list::*}
- chance of 30%:
- set {_item} to stone sword of knockback 2
- add {_item} to {_stuff.list::*}
- loop {_stuff.list::*}:
- set {_random} to a random integer from 0 to 27
- while slot {_random} of block at {midchest.%{_x}%.%{_i}%} is empty:
- set {_random} to a random integer from 0 to 27
- add loop-value-2 to slot {_random} of block at {midchest.%{_x}%.%{_i}%}
- add 1 to {_x}
- delete {_stuff.list::*}
- function RandomChestLittleIslands(i:integer, t:text):
- set {_x} to 1
- loop {chest.amount.little.islands.%{_i}%} times:
- add 27 planks:0 to {_stuff.list::*}
- chance of 80%:
- add 2 experience_bottle to {_stuff.list::*}
- set {_nb} to a random integer between 1 and 4
- if {_nb} is 1:
- add 34 planks:0 to {_stuff.list::*}
- else if {_nb} is 2:
- add 39 planks:0 to {_stuff.list::*}
- else if {_nb} is 3:
- add 43 planks:0 to {_stuff.list::*}
- else if {_nb} is 4:
- add 52 planks:0 to {_stuff.list::*}
- chance of 80%:
- add experience_bottle to {_stuff.list::*}
- chance of 65%:
- add experience_bottle to {_stuff.list::*}
- chance of 50%:
- add experience_bottle to {_stuff.list::*}
- chance of 35%:
- add experience_bottle to {_stuff.list::*}
- chance of 40%:
- set {_item} to stone sword
- add {_item} to {_stuff.list::*}
- chance of 35%:
- set {_item} to stone axe
- add {_item} to {_stuff.list::*}
- chance of 35%:
- set {_item} to iron pickaxe
- add {_item} to {_stuff.list::*}
- chance of 50%:
- set {_item} to wooden sword
- add {_item} to {_stuff.list::*}
- chance of 30%:
- set {_item} to iron sword
- add {_item} to {_stuff.list::*}
- chance of 20%:
- set {_rand} to a random integer between 40 and 200
- set {_item} to golden sword of sharpness 1
- set durability of {_item} to {_rand}
- add {_item} to {_stuff.list::*}
- chance of 20%:
- set {_rand} to a random integer between 50 and 150
- set {_item} to iron helmet
- set durability of {_item} to {_rand}
- add {_item} to {_stuff.list::*}
- chance of 45%:
- set {_item} to iron helmet
- add {_item} to {_stuff.list::*}
- chance of 35%:
- set {_item} to golden helmet
- add {_item} to {_stuff.list::*}
- chance of 70%:
- add {arrow.instant_damage} to {_stuff.list::*}
- chance of 55%:
- add 3 tnt to {_stuff.list::*}
- chance of 15%:
- add iron sword to {_stuff.list::*}
- chance of 15%:
- add iron pickage to {_stuff.list::*}
- chance of 15%:
- add stone pickaxe to {_stuff.list::*}
- chance of 20%:
- add 1 fishing rod to {_stuff.list::*}
- chance of 10%:
- add {book.protection2} to {_stuff.list::*}
- set {_s::*} to {slots::*}
- loop {_stuff.list::*}:
- set {_random} to a random integer from 0 to 27
- while slot {_random} of block at {chest.little.islands.%{_x}%.%{_i}%} is empty:
- set {_random} to a random integer from 0 to 27
- add loop-value-2 to slot {_random} of block at {chest.little.islands.%{_x}%.%{_i}%}
- add 1 to {_x}
- delete {_stuff.list::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement