Skocz do zawartości
  • 0

Crafting,Stouniarki,inventory


Gość Usunięty#1209

Pytanie

Gość Usunięty#1209

Cześć Mógłby mi ktoś napisać jak zrobić recepturę craftingu
 

Jak napisac prosty skrypt na stouniarke




on mine a stone:
chance 1%:
add 1 diamond to the player

Teraz do tego co napisałem wyżej jak mozna dodac fortunke


A teraz po wpisaniu komedy /efekty otwiera nam sie menu w ktorym klikamy na potke strenghta
Jezeli mam 32 emaraldu dostajemy efekt Strenghta II na 3 minuty

 

 

 

Z gory dzieki TakinTu
 

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

12 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Co do on mine of stone:

on mine of stone:    if player's tool is picaxe of fortune 1:        chance of 10%:            drop 1 diamond    if player's tool is picaxe of fortune 2:        chance of 20%:            drop 1 diamond    if player's tool is picaxe of fortune 3:        chance of 30%:            drop 1 diamond    if player's tool is picaxe of fortune 4:        chance of 40%:            drop 1 diamond

A skrypt na stoniarke znajdziesz wszędzie

Odnośnik do komentarza
https://skript.pl/temat/6441-craftingstouniarkiinventory/#findComment-52699
Udostępnij na innych stronach

  • 0
Gość Usunięty#1209

[10:59:42] [server thread/INFO]: [Skript] Reloading menu.sk...
[10:59:42] [server thread/ERROR]: 'chest with 1 rows named "&cStrenght"' is not an entity type (menu.sk, line 3: open chest with 1 rows named "&cStrenght" to player')
[10:59:42] [server thread/ERROR]: Can't understand this condition/effect: format slot 4 of player to 1 potion of strenght named "&cStrenght" with lore " &6Czas: &73 minuty || &6Koszt: &732 emeraldy" to close then run "efekt:cos:tam %player%" (menu.sk, line 6: format slot 4 of player to 1 potion of strenght named "&cStrenght" with lore " &6Czas: &73 minuty || &6Koszt: &732 emeraldy" to close then run "efekt:cos:tam %player%"')
[10:59:42] [server thread/ERROR]: 'strenght' is not a potion (menu.sk, line 9: apply strenght 2 to arg-player for 180 seconds')
[10:59:42] [server thread/INFO]: [Skript] Encountered 3 errors while reloading menu.sk!

Takie błedy ma ktos jakis pomysł?

Odnośnik do komentarza
https://skript.pl/temat/6441-craftingstouniarkiinventory/#findComment-52891
Udostępnij na innych stronach

  • 0
Gość Usunięty#1209

Mam takie 2 linijki i one tez nie dzialaja HELP

 

 

on script load:
 register new shapeless recipe for diamond sword of sharpness 5, unbreaking 3 from "Mieczyk" using diamond, diamond, diamond, diamond, diamond sword, diamond, diamond, diamond, diamond

 

 

on mine of stone:
 if player's tool is picaxe of fortune 1:
   chance of 10%:
     drop 1 diamond
 if player's tool is picaxe of fortune 2:
   chance of 20%:
     drop 1 diamond
 if player's tool is picaxe of fortune 3:
   chance of 30%:
     drop 1 diamond
 if player's tool is picaxe of fortune 4:
   chance of 40%:
     drop 1 diamond

 

 

[11:08:52] [server thread/INFO]: [Skript] Reloading SV.sk...
[11:08:52] [server thread/ERROR]: 'sharpness 5, unbreaking 3 from "Mieczyk"' is not an item stack (SV.sk, line 9: register new shapeless recipe for diamond sword of sharpness 5, unbreaking 3 from "Mieczyk" using diamond, diamond, diamond, diamond, diamond sword, diamond, diamond, diamond, diamond')
[11:08:52] [server thread/ERROR]: 'fortune 1' is not an item stack (SV.sk, line 118: if player's tool is picaxe of fortune 1:')
[11:08:52] [server thread/ERROR]: 'fortune 2' is not an item stack (SV.sk, line 121: if player's tool is picaxe of fortune 2:')
[11:08:52] [server thread/ERROR]: 'fortune 3' is not an item stack (SV.sk, line 124: if player's tool is picaxe of fortune 3:')
[11:08:52] [server thread/ERROR]: 'fortune 4' is not an item stack (SV.sk, line 127: if player's tool is picaxe of fortune 4:')
[11:08:52] [server thread/INFO]: [Skript] Encountered 5 errors while reloading SV.sk!

Odnośnik do komentarza
https://skript.pl/temat/6441-craftingstouniarkiinventory/#findComment-52892
Udostępnij na innych stronach

  • 0

[10:59:42] [server thread/INFO]: [Skript] Reloading menu.sk...

[10:59:42] [server thread/ERROR]: 'chest with 1 rows named "&cStrenght"' is not an entity type (menu.sk, line 3: open chest with 1 rows named "&cStrenght" to player')

[10:59:42] [server thread/ERROR]: Can't understand this condition/effect: format slot 4 of player to 1 potion of strenght named "&cStrenght" with lore " &6Czas: &73 minuty || &6Koszt: &732 emeraldy" to close then run "efekt:cos:tam %player%" (menu.sk, line 6: format slot 4 of player to 1 potion of strenght named "&cStrenght" with lore " &6Czas: &73 minuty || &6Koszt: &732 emeraldy" to close then run "efekt:cos:tam %player%"')

[10:59:42] [server thread/ERROR]: 'strenght' is not a potion (menu.sk, line 9: apply strenght 2 to arg-player for 180 seconds')

[10:59:42] [server thread/INFO]: [Skript] Encountered 3 errors while reloading menu.sk!

Takie błedy ma ktos jakis pomysł?

a więc tak w 3 bledzie zmien strenght na strength

Odnośnik do komentarza
https://skript.pl/temat/6441-craftingstouniarkiinventory/#findComment-52900
Udostępnij na innych stronach

  • 0
Gość Usunięty#1209

@up

Zmieniłem to
Zainstalowałem ta SkQuer

 

i jest ostatni błąd

 

[14:05:06] [server thread/INFO]: [skript] Reloading menu.sk...
[14:05:06] [server thread/ERROR]: '" &6Czas: &73 minuty || &6Koszt: &732 emeraldy" to close then run "efekt:cos:tam %player%"' is not a text (menu.sk, line 6: format slot 4 of player to 1 potion of strength named "&cStrenght" with lore " &6Czas: &73 minuty || &6Koszt: &732 emeraldy" to close then run "efekt:cos:tam %player%"')
[14:05:06] [server thread/INFO]: [skript] Encountered 1 error while reloading menu.sk!

Odnośnik do komentarza
https://skript.pl/temat/6441-craftingstouniarkiinventory/#findComment-52914
Udostępnij na innych stronach

  • 0
Gość Usunięty#1209

A i jeszcze z ta fortunką też nie działa a taki jest tam błąd :

[14:07:46] [server thread/INFO]: [Skript] Reloading SV.sk...
[14:07:47] [server thread/ERROR]: 'fortune 1' is not an item stack (SV.sk, line 118: if player's tool is picaxe of fortune 1:')
[14:07:47] [server thread/ERROR]: 'fortune 2' is not an item stack (SV.sk, line 121: if player's tool is picaxe of fortune 2:')
[14:07:47] [server thread/ERROR]: 'fortune 3' is not an item stack (SV.sk, line 124: if player's tool is picaxe of fortune 3:')
[14:07:47] [server thread/ERROR]: 'fortune 4' is not an item stack (SV.sk, line 127: if player's tool is picaxe of fortune 4:')
[14:07:47] [server thread/INFO]: [Skript] Encountered 4 errors while reloading SV.sk!

Odnośnik do komentarza
https://skript.pl/temat/6441-craftingstouniarkiinventory/#findComment-52915
Udostępnij na innych stronach

  • 0
Gość Usunięty#1209

nadal jest ten błąd

[14:13:58] [server thread/INFO]: [Skript] Reloading menu.sk...
[14:13:58] [server thread/ERROR]: '" &6Czas: &73 minuty || &6Koszt: &732 emeraldy" to close then run "efekt:cos:tam %player%"' is not a text (menu.sk, line 6: format slot 4 of player to 1 potion of strength named "&cStrenght" with lore " &6Czas: &73 minuty || &6Koszt: &732 emeraldy" to close then run "efekt:cos:tam %player%"')
[14:13:58] [server thread/INFO]: [Skript] Encountered 1 error while reloading menu.sk!

Odnośnik do komentarza
https://skript.pl/temat/6441-craftingstouniarkiinventory/#findComment-52919
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ę...