####################### # License by Devson # ####################### on pick up: # na podniesienie ~Devson wait 0.1 second if amount of enchanted golden apple in player's inventory is greater than 4: set {_amount} to amount of enchanted golden apple in player's inventory set {_amountend} to {_amount}-4 set {_add} to "%{_amountend}% enchanted golden apple" add "%{_add}%" parsed as item to player's enderchest remove all enchanted golden apple from player's inventory add 4 enchanted golden apple to player's inventory message "&7[&cKiroksiewicz.pl&7] &8» &3Osiagnieto maksymalna ilosc &6koxow &3w twoim ekwipunku. Zostawiono 4, reszte odlozono do twojego enderchestu." if amount of ender pearl in player's inventory is greater than 6: set {_amount} to amount of ender pearl in player's inventory set {_amountend} to {_amount}-6 set {_add} to "%{_amountend}% ender pearl" add "%{_add}%" parsed as item to player's enderchest remove all ender pearl from player's inventory add 6 ender pearl to player's inventory message "&7[&cKiroksiewicz.pl&7] &8» &3Osiagnieto maksymalna ilosc &6ender perel &3w twoim ekwipunku. Zostawiono 6, reszte odlozono do twojego enderchestu." if amount of golden apple in player's inventory is greater than 15: set {_amount} to amount of golden apple in player's inventory set {_amountend} to {_amount}-15 set {_add} to "%{_amountend}% golden apple" add "%{_add}%" parsed as item to player's enderchest remove all golden apple from player's inventory add 15 golden apple to player's inventory message "&7[&cKiroksiewicz.pl&7] &8» &3Osiagnieto maksymalna ilosc &6refili &3w twoim ekwipunku. Zostawiono 15, reszte odlozono do twojego enderchestu." stop on inventory close:# na zamkniecie inventory ~Devson if amount of enchanted golden apple in player's inventory is greater than 4: set {_amount} to amount of enchanted golden apple in player's inventory set {_amountend} to {_amount}-4 set {_add} to "%{_amountend}% enchanted golden apple" add "%{_add}%" parsed as item to player's enderchest remove all enchanted golden apple from player's inventory add 4 enchanted golden apple to player's inventory message "&7[&cKiroksiewicz.pl&7] &8» &3Osiagnieto maksymalna ilosc &6koxow &3w twoim ekwipunku. Zostawiono 4, reszte odlozono do twojego enderchestu." if amount of ender pearl in player's inventory is greater than 6: set {_amount} to amount of ender pearl in player's inventory set {_amountend} to {_amount}-6 set {_add} to "%{_amountend}% ender pearl" add "%{_add}%" parsed as item to player's enderchest remove all ender pearl from player's inventory add 6 ender pearl to player's inventory message "&7[&cKiroksiewicz.pl&7] &8» &3Osiagnieto maksymalna ilosc &6ender perel &3w twoim ekwipunku. Zostawiono 6, reszte odlozono do twojego enderchestu." if amount of golden apple in player's inventory is greater than 15: set {_amount} to amount of golden apple in player's inventory set {_amountend} to {_amount}-15 set {_add} to "%{_amountend}% golden apple" add "%{_add}%" parsed as item to player's enderchest remove all golden apple from player's inventory add 15 golden apple to player's inventory message "&7[&cKiroksiewicz.pl&7] &8» &3Osiagnieto maksymalna ilosc &6refili &3w twoim ekwipunku. Zostawiono 15, reszte odlozono do twojego enderchestu." stop