Skocz do zawartości
  • 0

Skrypt na generator


jndooo

Pytanie

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
53 minuty temu, xAxee napisał:

Masz jakiś skrypt na stoniarki? Jak tak to podaj to dodam tą szansę bo z tela mi się nie chce całego pisać. 


 
options:
    craft1: redstone
    craft2: diamond
    craft3: stone
    craft4: diamond
    craft5: piston
    craft6: diamond
    craft7: stone
    craft8: diamond
    craft9: redstone
 
on break of stone:
    {SmartStone.%event-block%} is true:
        player is holding gold pickaxe:
            set {SmartStone.%event-block%} to false
            send "&8» &6Usunales stoniarke!"
            player can hold 1 end stone:
                give 1 end stone named "&aStoniarka" to the player
            player doesn't have enough space for 1 end stone named "&aStoniarka":
                drop 1 end stone named "&aStoniarka"
        else:
            wait 1.8 second
            set the event-block to stone
            stop
on place of end stone:
    if tool is end stone named "&aStoniarka":
        send "&8» &6Postawiles stoniarke!"
        set {SmartStone.%event-block%} to true
        wait 1 tick
        set event-block to stone
        stop
on script load:
    register new shaped recipe for 1 end stone named "&aStoniarka" using {@craft1}, {@craft2}, {@craft3}, {@craft4}, {@craft5}, {@craft6}, {@craft7}, {@craft8}, {@craft9}

 

Edytowane przez jndooo
Odnośnik do komentarza
https://skript.pl/temat/35905-skrypt-na-generator/#findComment-230275
Udostępnij na innych stronach

  • 0
on break of stone:
    {SmartStone.%event-block%} is true:
        player is holding gold pickaxe:
            set {SmartStone.%event-block%} to false
            send "&8» &6Usunales stoniarke!"
            player can hold 1 end stone:
                give 1 end stone named "&aStoniarka" to the player
            player doesn't have enough space for 1 end stone named "&aStoniarka":
                drop 1 end stone named "&aStoniarka"
        else:
            wait 1.8 second
            while {_z} is not true:
                Chance of 5%:
                    set block at event-block to cobblestone
                    set {_z} to true
                Chance of 0.05%:
                    set block at event-block to diamond ore
                    set {_z} to true

            stop

Itd

Odnośnik do komentarza
https://skript.pl/temat/35905-skrypt-na-generator/#findComment-230278
Udostępnij na innych stronach

  • 0
13 godzin temu, xAxee napisał:

on break of stone:
    {SmartStone.%event-block%} is true:
        player is holding gold pickaxe:
            set {SmartStone.%event-block%} to false
            send "&8» &6Usunales stoniarke!"
            player can hold 1 end stone:
                give 1 end stone named "&aStoniarka" to the player
            player doesn't have enough space for 1 end stone named "&aStoniarka":
                drop 1 end stone named "&aStoniarka"
        else:
            wait 1.8 second
            while {_z} is not true:
                Chance of 5%:
                    set block at event-block to cobblestone
                    set {_z} to true
                Chance of 0.05%:
                    set block at event-block to diamond ore
                    set {_z} to true

            stop

Itd

jak jest cobbles tone czy cos to juz wtedy regeneruj sie z powrotem ta stowniarka

takie cos mam

on break of stone:
    {SmartStone.%event-block%} is true:
        player is holding gold pickaxe:
            set {SmartStone.%event-block%} to false
            send "&8» &6Usunales stoniarke!"
            player can hold 1 end stone:
                give 1 end stone named "&aStoniarka" to the player
            player doesn't have enough space for 1 end stone named "&aStoniarka":
                drop 1 end stone named "&aStoniarka"
        else:
            wait 1.8 second
            while {_z} is not true:
                Chance of 95%:
                    set block at event-block to cobblestone
                    set {_z} to true
                Chance of 0.05%:
                    set block at event-block to diamond ore
                    set {_z} to true
                    stop
                Chance of 5%:
                    set block at event-block to stone
                    set {_z} to true

 

Edytowane przez jndooo
Odnośnik do komentarza
https://skript.pl/temat/35905-skrypt-na-generator/#findComment-230294
Udostępnij na innych stronach

  • 0
on break:
    {SmartStone.%event-block%} is true:
        player is holding gold pickaxe:
            set {SmartStone.%event-block%} to false
            send "&8» &6Usunales stoniarke!"
            player can hold 1 end stone:
                give 1 end stone named "&aStoniarka" to the player
            player doesn't have enough space for 1 end stone named "&aStoniarka":
                drop 1 end stone named "&aStoniarka"
        else:
            wait 1.8 second
            while {_z} is not true:
                Chance of 5%:
                    set block at event-block to cobblestone
                    set {_z} to true
                Chance of 0.05%:
                    set block at event-block to diamond ore
                    set {_z} to true
            stop

 

Odnośnik do komentarza
https://skript.pl/temat/35905-skrypt-na-generator/#findComment-230295
Udostępnij na innych stronach

  • 0
4 minuty temu, xAxee napisał:

on break:
    {SmartStone.%event-block%} is true:
        player is holding gold pickaxe:
            set {SmartStone.%event-block%} to false
            send "&8» &6Usunales stoniarke!"
            player can hold 1 end stone:
                give 1 end stone named "&aStoniarka" to the player
            player doesn't have enough space for 1 end stone named "&aStoniarka":
                drop 1 end stone named "&aStoniarka"
        else:
            wait 1.8 second
            while {_z} is not true:
                Chance of 5%:
                    set block at event-block to cobblestone
                    set {_z} to true
                Chance of 0.05%:
                    set block at event-block to diamond ore
                    set {_z} to true
            stop

 

okej a jak bym chciał zrobić np. poziomy stoniarek zmianiam ta zmiena smartstona na np smartstonlvl2 i wtedy podpinam ze jak ktos postawi stoniarke Lvl2 to wypada tam wiecej tych rud i jak mozna tu wylaczyc fortune na tym? by wypadalo po 1 caly czas a nie np. 10 diaxow

Odnośnik do komentarza
https://skript.pl/temat/35905-skrypt-na-generator/#findComment-230296
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.

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

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