Skocz do zawartości
  • 0

Dlaczego to mi nie stackuje itemów w gui?


UltimJPlay |
 Udostępnij

Pytanie

command /magazyn:
	trigger:
		open chest with 6 rows named "&9&lMAGAZYN" to player
		wait 1 tick
		set {_slot} to 0
		set {eqmag::%player%::edit} to true
		loop {magazyneq::itemlist::%player%::*}:
				set slot {_slot} of current inventory of player to loop-value
				add 1 to {_slot}
on inventory close:
	clear {magazyneq::itemlist::%player%::*}
	if {eqmag::%player%::edit} is true:
		loop 53 times:
			if slot "%loop-number -1%" parsed as an integer of current inventory of player is not air:
				set {_item} to slot loop-number - 1 of current inventory of player
				add {_item} to {magazyneq::itemlist::%player%::*}
		set {eqmag::%player%::edit} to false
on mine of stone:
	chance of 15%:
		add 1 diamond to {magazyneq::itemlist::%player%::*}
	chance of 15%:
		add 1 emerald to {magazyneq::itemlist::%player%::*}

Tak jak w temacie 

 

tutaj ss z gui ...

Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Odnośnik do komentarza
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...