Skocz do zawartości
  • 0

Drop do eq


Draqu
 Udostępnij

Pytanie

Pomoze ktos, Co i gdzie mam dopisac aby wszystkie te przedmioty trafialy do eq, Z Góry bardzo dziękuje!

 

on mine cobblestone:
    chance of 0.90%: 
        drop 1 of diamond
        send "&aWydropiles diament!"
on mine cobblestone:
    chance of 10%: 
        drop 1 of coal
        send "&aWydropiles wegiel!"
on mine cobblestone:
    chance of 1%: 
        drop 1 of gold ingot
        send "&aWydropiles zloto!"
on mine cobblestone:
    chance of 5%:
        drop 1 of iron ingot
        send "&aWydropiles zelazo!"
on mine cobblestone:
    chance of 5%: 
        drop 1 of book
        send "&aWydropiles ksiazke!"
on mine cobblestone:
    chance of 5%: 
        drop 1 of lapis
        send "&aWydropiles lapis!"
on mine cobblestone:
    chance of 0.50%: 
        drop 1 of emerald
        send "&aWydropiles emeralda!"
on mine cobblestone:
    chance of 0.10%: 
        drop 1 of golden apple
        send "&aWydropiles zlote jablko!"
on mine cobblestone:
    chance of 0.01%: 
        drop 1 of beacon
        send "&aWydropiles beacona!"
        


         Edytowane przez bvcz
bvcz

Kod wstawiam w znaczniki [ code]

Notatka dodana przez bvcz

Odnośnik do komentarza
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Pozwoliłem sobie lekko poprawić kod:

on mine of cobblestone:
    chance of 0.90%: 
        send "&aWydropiles diament!" to the player
        if player's inventory can hold 1 diamond:
            give 1 diamond to the player
        else:
            drop 1 diamond at event-block
    chance of 10%: 
        send "&aWydropiles wegiel!" to the player
        if player's inventory can hold 1 coal:
            give 1 coal to the player
        else:
            drop 1 coal at event-block
    chance of 1%: 
        send "&aWydropiles zloto!" to the player
        if player's inventory can hold 1 gold ingot:
            give 1 gold ingot to the player
        else:
            drop 1 gold ingot at event-block
    chance of 5%:
        send "&aWydropiles diament!" to the player
        if player's inventory can hold 1 iron ingot:
            give 1 iron ingot to the player
        else:
            drop 1 iron ingot at event-block
    chance of 5%: 
        send "&aWydropiles ksiazke!" to the player
        if player's inventory can hold 1 book:
            give 1 book to the player
        else:
            drop 1 book at event-block
    chance of 5%: 
        send "&aWydropiles lapis!" to the player
        if player's inventory can hold 1 lapis:
            give 1 lapis to the player
        else:
            drop 1 lapis at event-block
    chance of 0.50%: 
        send "&aWydropiles emeralda!" to the player
        if player's inventory can hold 1 emerald:
            give 1 emerald to the player
        else:
            drop 1 emerald at event-block
    chance of 0.10%: 
        send "&aWydropiles zlote jablko!" to the player
        if player's inventory can hold 1 golden apple:
            give 1 golden apple to the player
        else:
            drop 1 golden apple at event-block
    chance of 0.01%: 
        send "&aWydropiles beacona!" to the player
        if player's inventory can hold 1 beacon:
            give 1 beacon to the player
        else:
            drop 1 beacon at event-block
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Dziękuje bardzo

 

W tym twoim kodzie Riley diament nie dropi. pokazuje ze droplem a w eq nie ma

 

przepraszam, juz dziala

 

Przepraszam to dziala tak, ze pisze ze droplem diamenta i nie dostaje go a za 5razem jak pisze ze droplem diaxa to wtedy go dostaje

bvcz

Łączę posty

Notatka dodana przez bvcz

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

 Udostępnij

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

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