Skocz do zawartości
  • 0

COBBLEX


DarsON

Pytanie

Witam mam tu skript na cobblex i chcialbym abyscie dodali mi tu % ze dropi np 1 do 4 itemow

variables:
    (cobblex.%player%) = 1
options:
    nazwa: CobbleX
    tag: &9CobbleX
   #Lista przedmiotow dropiacych
    lista: diamond or paper or gunpowder or 322 or ender pearl or slimeball or Block of Gold or 322:1 or string
on load:
        new Recipe "CobbleX";
        "CobbleX".Recipe.registerIngredient{1, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{2, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{3, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{4, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{5, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{6, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{7, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{8, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{9, 64 cobblestone};
        "CobbleX".Recipe.registerResult{1 48 of thorns 3 named "&9CobbleX"};
        "CobbleX".Recipe.register{};


on place mossy cobblestone:
    if name of player's tool is "&eCobblex":
        cancel event
        give 30 of {@lista} to the player
        send "&7Wylosowales przedmiot {@lista}"
        wait a tick
        remove 1 mossy cobblestone of thorns 3 named "&eCobblex" from player's inventory
command /cobblex [<text>]:
    aliases: cx
    trigger:
        if arg 1 is not set:
            wait 1 tick
            teleport player to player
            open chest with 5 rows named "&7Informacje o: &6COBBLEX" to player
            format slot 18 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 19 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 20 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 27 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 28 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 29 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 36 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 37 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 38 of player with 64 of cobblestone named "&7COBBLESTONE" to be unstealable
            format slot 31 of player with 1 of crafting table named "&eSzybki crafting &7(Kliknij)" to run [make player execute command "cobblex craft"]
        if arg 1 is "craft":
            if player has 576 cobblestone:
                remove 576 cobblestone from player's inventory
                wait a tick
                give 1 mossy cobblestone of thorns 3 named "&eCobblex" to player
                send "&7Utworzyles: &eCOBBLEX"
            else:
                send "&4BLAD: &cNie posiadasz 64x9 stackow cobbla!"

 

Odnośnik do komentarza
https://skript.pl/temat/15078-cobblex/
Udostępnij na innych stronach

0 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Nie udzielono jeszcze odpowiedzi na to pytanie

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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