Skocz do zawartości
  • 0

Problem ze stworzeniem nowego craftingu


Pytanie

Mam problem z craftingiem Stoniarki w craftingu
Skrypt:
 

command /crafting:
    trigger:
        open chest with 6 rows named "&8&l[&3Craftingi&8&l]" to player
        wait 2 tick
        format slot 13 of player with 1 of end stone named "&8» &4Stoniarka" to be unstealable
        format slot 21 of player with 1 of iron ingot to be unstealable 
        format slot 22 of player with 1 of stone to be unstealable
        format slot 23 of player with 1 of iron ingot to be unstealable 
        format slot 31 of player with 1 of piston to be unstealable 
        format slot 30 of player with 1 of stone to be unstealable
        format slot 32 of player with 1 of stone to be unstealable 
        format slot 39 of player with 1 of iron ingot to be unstealable
        format slot 40 of player with 1 of stone to be unstealable 
        format slot 41 of player with 1 of iron ingot to be unstealable
        
on place of end stone:
    send "&3Teraz postaw &7STONE &3lub &eOBSYDIAN&3."
    spawn 20 of particle flame offset by 0.5, 0.4, 0.5 at block
on break of stone:
    set {_loc.%event-location%} to event-location
    loop 16 times:
        wait 1 tick
    if block under {_loc.%event-location%} is end stone :
        set block at {_loc.%event-location%} to stone
on break of obsidian:
    set {_loc.%event-location%} to event-location
    loop 80 times:
        wait 1 tick
    if block under {_loc.%event-location%} is end stone :
        set block at {_loc.%event-location%} to obsidian
on mine of end stone:
    cancel event
    set block to air
    if player can hold end stone :
        give 1 end stone named "&8» &4Stoniarka" to player
    else:
        drop 1 end stone named "&8» &4Stoniarka"
on script load:
    register new shaped recipe for end stone named "&8» &4Stoniarka" using iron ingot, stone, iron ingot, stone, piston, stone, iron ingot, stone, iron ingot

Ktoś jest w stanie pomóc?

Odnośnik do komentarza
https://skript.pl/temat/14687-problem-ze-stworzeniem-nowego-craftingu/
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Dałbyś screeny błędów które ci wyskakują?

Kolejne pytanie czy masz wszystkie dodatki:

SkQuery, Wild Skript, może masz starsze wersje i coś ci nie działają to radzę zaaktualizować do najnowszych wersji. Jeżeli dalej nic nie pomoże dodaj screeny błędów.

Odnośnik do komentarza
https://skript.pl/temat/14687-problem-ze-stworzeniem-nowego-craftingu/#findComment-101758
Udostępnij na innych stronach

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ę...