Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait 0.1 second
- if amount of golden apple:1 in player's inventory is greater than 3:
- set {_amount} to amount of golden apple:1 in player's inventory
- set {_amountend} to {_amount}-3
- set {_add} to "%{_amountend}% golden apple:1"
- add "%{_add}%" parsed as item to player's enderchest
- remove all golden apple:1 from player's inventory
- add 10 golden apple:1 to player's inventory
- message "&9[&4&lFIRE&eKOX&r&9] &c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 3, reszte odlozono do twojego enderchestu."
- if amount of golden apple:0 in player's inventory is greater than 12:
- set {_amount} to amount of golden apple:0 in player's inventory
- set {_amountend} to {_amount}-12
- set {_add} to "%{_amountend}% golden apple:0"
- add "%{_add}%" parsed as item to player's enderchest
- remove all golden apple:0 from player's inventory
- add 12 golden apple:0 to player's inventory
- message "&9[&4&lFIRE&eKOX&r&9] &c&lOsiagnieto maksymalna ilosc refili w twoim ekwipunku. Zostawiono 12, reszte odlozono do twojego enderchestu."
- if amount of ender pearl in player's inventory is greater than 3:
- set {_amount} to amount of ender pearl in player's inventory
- set {_amountend} to {_amount}-3
- set {_add} to "%{_amountend}% ender pearl"
- add "%{_add}%" parsed as item to player's enderchest
- remove all ender pearl from player's inventory
- add 3 ender pearl to player's inventory
- message "&9[&4&lFIRE&eKOX&r&9] &c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 3, reszte odlozono do twojego enderchestu."
- on inventory close:
- if amount of golden apple:1 in player's inventory is greater than 3:
- set {_amount} to amount of golden apple:1 in player's inventory
- set {_amountend} to {_amount}-3
- set {_add} to "%{_amountend}% golden apple:1"
- add "%{_add}%" parsed as item to player's enderchest
- remove all golden apple:1 from player's inventory
- add 3 golden apple:1 to player's inventory
- message "&9[&4&lFIRE&eKOX&r&9] &c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 3, reszte odlozono do twojego enderchestu."
- if amount of golden apple:0 in player's inventory is greater than 12:
- set {_amount} to amount of golden apple:0 in player's inventory
- set {_amountend} to {_amount}-12
- set {_add} to "%{_amountend}% golden apple:0"
- add "%{_add}%" parsed as item to player's enderchest
- remove all golden apple:0 from player's inventory
- add 12 golden apple:0 to player's inventory
- message "&9[&4&lFIRE&eKOX&r&9] &c&lOsiagnieto maksymalna ilosc refili w twoim ekwipunku. Zostawiono 3, reszte odlozono do twojego enderchestu."
- if amount of ender pearl in player's inventory is greater than 3:
- set {_amount} to amount of ender pearl in player's inventory
- set {_amountend} to {_amount}-3
- set {_add} to "%{_amountend}% ender pearl"
- add "%{_add}%" parsed as item to player's enderchest
- remove all ender pearl from player's inventory
- add 3 ender pearl to player's inventory
- message "&9[&4&lFIRE&eKOX&r&9] &c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 3, reszte odlozono do twojego enderchestu."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement