SHOW:
|
|
- or go back to the newest paste.
| 1 | command /sponsor: | |
| 2 | permission: sponsor.use | |
| 3 | trigger: | |
| 4 | - | loop blocks in radius 1 around player: |
| 4 | + | set {_locp} to location of player
|
| 5 | - | loop-block is air |
| 5 | + | set block at {_locp} to trapped chest
|
| 6 | - | set loop-block to chest |
| 6 | + | send "&5Tu a recus ton sponsor" |
| 7 | - | send "&5Tu a recus ton sponsor" |
| 7 | + | set {sponsor.use} to true
|
| 8 | - | #Liste des ITEMS ===============> |
| 8 | + | |
| 9 | - | chance of 10% |
| 9 | + | On rightclick on trapped chest: |
| 10 | - | add 2 diamond to {random.item.list::*}
|
| 10 | + | if {sponsor.use} is true:
|
| 11 | - | add 1 diamond sword to {random.item.list::*}
|
| 11 | + | chance of 10% |
| 12 | - | add 10 wood to {random.item.list::*}
|
| 12 | + | add 2 diamond to {random.item.list::*}
|
| 13 | - | add 1 diamond chestplate to {random.item.list::*}
|
| 13 | + | add 1 diamond sword to {random.item.list::*}
|
| 14 | - | chance of 30% |
| 14 | + | add 10 wood to {random.item.list::*}
|
| 15 | - | add 1 diamond to {random.item.list::*}
|
| 15 | + | add 1 diamond chestplate to {random.item.list::*}
|
| 16 | - | add 1 iron sword to {random.item.list::*}
|
| 16 | + | chance of 30% |
| 17 | - | add 1 iron chestplate to {random.item.list::*}
|
| 17 | + | add 1 diamond to {random.item.list::*}
|
| 18 | - | add 10 arrow to {random.item.list::*}
|
| 18 | + | add 1 iron sword to {random.item.list::*}
|
| 19 | - | add 1 bow to {random.item.list::*}
|
| 19 | + | add 1 iron chestplate to {random.item.list::*}
|
| 20 | - | chance of 60% |
| 20 | + | add 10 arrow to {random.item.list::*}
|
| 21 | - | add 16 stone to {random.item.list::*}
|
| 21 | + | add 1 bow to {random.item.list::*}
|
| 22 | - | add 4 stick to {random.item.list::*}
|
| 22 | + | chance of 60% |
| 23 | - | add 1 stone sword to {random.item.list::*}
|
| 23 | + | add 16 stone to {random.item.list::*}
|
| 24 | - | chance of 90% |
| 24 | + | add 4 stick to {random.item.list::*}
|
| 25 | - | add 8 steak to {random.item.list::*}
|
| 25 | + | add 1 stone sword to {random.item.list::*}
|
| 26 | - | add 5 apple to {random.item.list::*}
|
| 26 | + | chance of 90% |
| 27 | - | add 1 wooden sword to {random.item.list::*}
|
| 27 | + | add 8 steak to {random.item.list::*}
|
| 28 | - | set {randomitem} to random element out of {random.item.list::*}
|
| 28 | + | add 5 apple to {random.item.list::*}
|
| 29 | - | add a random item out of {randomitem} to the targeted block's inventory |
| 29 | + | add 1 wooden sword to {random.item.list::*}
|
| 30 | chance of 100% | |
| 31 | set {randomitem} to random element out of {random.item.list::*}
| |
| 32 | add a random item out of {randomitem} to the targeted block's inventory |