zedytowalby ktos, ze jak gracz ma pelny enderchest, wyskakuje mu komunikat na chacie, ze jego enderchest jest pelny koxy/refy/perly zostaly wyrzucone na ziemie?
dzieki
on any move:
wait 0.1 second
if amount of enchanted golden apple in player's inventory is greater than 5:
set {_amount} to amount of enchanted golden apple in player's inventory
set {_amountend} to {_amount}-5
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 5 enchanted golden apple to player's inventory
message "&6Osiagnieto maksymalna ilosc koxow w twoim ekwipunku. Reszta w enderchescie"
if amount of ender pearl in player's inventory is greater than 8:
set {_amount} to amount of ender pearl in player's inventory
set {_amountend} to {_amount}-8
set {_add} to "%{_amountend}% ender pearl"
add "%{_add}%" parsed as item to player's enderchest
remove all ender pearl from player's inventory
add 8 ender pearl to player's inventory
message "&6Osiagnieto maksymalna ilosc perel w twoim ekwipunku. Reszta w enderchescie"
if amount of golden apple:0 in player's inventory is greater than 16:
set {_amount} to amount of golden apple:0 in player's inventory
set {_amountend} to {_amount}-16
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 16 golden apple:0 to player's inventory
message "&6Osiagnieto maksymalna ilosc refili w twoim ekwipunku. Reszta w enderchescie"
stop
Pytanie
vkvbuss 22
zedytowalby ktos, ze jak gracz ma pelny enderchest, wyskakuje mu komunikat na chacie, ze jego enderchest jest pelny koxy/refy/perly zostaly wyrzucone na ziemie?
dzieki
on any move:
wait 0.1 second
if amount of enchanted golden apple in player's inventory is greater than 5:
set {_amount} to amount of enchanted golden apple in player's inventory
set {_amountend} to {_amount}-5
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 5 enchanted golden apple to player's inventory
message "&6Osiagnieto maksymalna ilosc koxow w twoim ekwipunku. Reszta w enderchescie"
if amount of ender pearl in player's inventory is greater than 8:
set {_amount} to amount of ender pearl in player's inventory
set {_amountend} to {_amount}-8
set {_add} to "%{_amountend}% ender pearl"
add "%{_add}%" parsed as item to player's enderchest
remove all ender pearl from player's inventory
add 8 ender pearl to player's inventory
message "&6Osiagnieto maksymalna ilosc perel w twoim ekwipunku. Reszta w enderchescie"
if amount of golden apple:0 in player's inventory is greater than 16:
set {_amount} to amount of golden apple:0 in player's inventory
set {_amountend} to {_amount}-16
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 16 golden apple:0 to player's inventory
message "&6Osiagnieto maksymalna ilosc refili w twoim ekwipunku. Reszta w enderchescie"
stop
Odnośnik do komentarza
https://skript.pl/temat/20947-edycja-limitu-kox/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi