Skocz do zawartości
  • 0

Potrzebuję skryptu na stoniarki , drewniarki ,


Pytanie

Witam!

 potrzebowałbym dwóch skryptów

  1. Stoniarka - By to była Ruda emeraldu i po postawieniu co sekundę zamienia się w stone nie respi się na nim jak skkf  , nigdy się nie kończy , można ją zebrać złotym kilofem, Crafting: 1. Diax 2.Stone 3.Diax 4 Stone 5.Emerald 6.Stone 7.Diax 8.Stone 9.Diax.
  2. Drewniarka- by to było dębowe drewno i po postawieniu co sekundę zmienia się w drewno  ,nigdy się nie kończy , można je zebrać ,złotą Sikirą  ,Crafring: 1.Diax 2.Drewno dębowe 3 diax 4 drewno debowe 5 Emerald 6 drewno debowe 7 diax 8 drewno debowe 9 diax 

Sloty w craftingu:

123

456

789

Edytowane przez CZatmix PlayGames
Odnośnik do komentarza
https://skript.pl/temat/11146-potrzebuj%C4%99-skryptu-na-stoniarki-drewniarki/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Skript na stowniarke:
 

on load:
        if folder "plugins/skript/scripts/Stowniarka" is not exists:
                create folder "plugins/skript/scripts/Stowniarka"
                download from "http://pastebin.com/raw/R4hCVHj9" to file "plugins/Skript/scripts/Stowniarka/config.yml"
        set {Stowniarka::Msg::Place} to colored value "GeneratorConfig.msg.place" get of "plugins/skript/scripts/Stowniarka/config.yml"
        set {Obsydianarka::Msg::Break} to colored value "GeneratorConfig.msg.break" get of "plugins/skript/scripts/Stowniarka/config.yml"
        set {Stowniarka::Msg::Error} to colored value "GeneratorConfig.msg.error" get of "plugins/skript/scripts/Stowniarka/config.yml"
        set {Stowniarka::Block::Name} to colored value "GeneratorConfig.block.name" get of "plugins/skript/scripts/Stowniarka/config.yml"
        set {Stowniarka::Break::Status} to value "GeneratorConfig.break.break" get of "plugins/skript/scripts/Stowniarka/config.yml"
        set {Stowniarka::Break::Break} to "%{Stowniarka::Break::Status}%"
on load:
    set {_} to "Generator Stone"
    new Recipe "%{_}%";
    {_}.Recipe.registerIngredient{1, 1 stone};
    {_}.Recipe.registerIngredient{2, 1 stone};
    {_}.Recipe.registerIngredient{3, 1 stone};
    {_}.Recipe.registerIngredient{4, 1 stone};
    {_}.Recipe.registerIngredient{5, 1 redstone};
    {_}.Recipe.registerIngredient{6, 1 stone};
    {_}.Recipe.registerIngredient{7, 1 stone};
    {_}.Recipe.registerIngredient{8, 1 stone};
    {_}.Recipe.registerIngredient{9, 1 stone};
    {_}.Recipe.registerResult{sponge with name "%{Stowniarka::Block::Name}%"};
    {_}.Recipe.register{};
on place sponge:
        if name of player's tool is "%{Stowniarka::Block::Name}%":
                set {_} to Region.getAt{location of event-block};
                if {_} is not set:
                        send "%{Stowniarka::Msg::Place}%"
                        add location of event-block to {Stowniarka::All::Generators::*}
                        set {_} to size of {Stowniarka::All::Generators::*}
                        set event-block to stone
                        log "%x-coordinate of event-block%, %y-coordinate of event-block%, %z-coordinate of event-block% - %{_}%" to file "generators"
                        stop
                else:
                        send "%{Stowniarka::Msg::Error}%"
                        cancel event
                        stop
on break stone:
        if {Stowniarka::Break::Break} is "true":
                set {_} to region.getAt{location of event-block};
                if {_} is not set:
                        if player's tool is gold pickaxe:
                                loop {Stowniarka::All::Generators::*}:
                                        if loop-value is location of event-block:
                                                remove location of event-block from {Stowniarka::All::Generators::*}
                                                send "%{Stowniarka::Msg::Break}%"
                                                cancel event
                                                set event-block to air
                                                drop 1 sponge named "%{Stowniarka::Block::Name}%"
                                                stop
                else:
                        cancel event
                        send "%{Stowniarka::Msg::Error}%"
                        stop
on every 4 seconds:
        loop {Stowniarka::All::Generators::*}:
                if block at loop-value is air:
                        set block at loop-value to stone
                        stop

Tego jest wiele w necie!

Liczę na +

Odnośnik do komentarza
https://skript.pl/temat/11146-potrzebuj%C4%99-skryptu-na-stoniarki-drewniarki/#findComment-80996
Udostępnij na innych stronach

  • 0
on script load:
	register new shapeless recipe for emerald ore named "&aStoniarka" using diamond, stone, diamond, stone, emerald, stone, diamond, stone, diamond
	register new shapeless recipe for oak wood named "&aDrewniarka" using diamond, oak wood, diamond, oak wood, emerald, oak wood, diamond, oak wood, diamond

on place:
	if event-block is emerald ore named "&aStoniarka":
		add location of target block to {stoniarki::*}
		set event-block to stone

every 1 second:
	loop {stoniarki::*}:
		set block at location of loop-value to stone

on break stone:
	if player is holding gold pickaxe:
		loop {stoniarki::*}:
			remove location of target block from {stoniarki::*}

on place:
	if event-block is oak wood named "&aDrewniarka":
		add location of target block to {drewniarki::*}
		set event-block to oak wood

every 1 second:
	loop {drewniarki::*}:
		set block at location of loop-value to oak wood

on break oak wood:
	if player is holding gold axe:
		loop {drewniarki::*}:
			remove location of target block from {drewniarki::*}

 

Odnośnik do komentarza
https://skript.pl/temat/11146-potrzebuj%C4%99-skryptu-na-stoniarki-drewniarki/#findComment-80998
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ę...