Moduł:Dźwięki/Dane: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja przejrzana][wersja przejrzana]
Nie podano opisu zmian
Nie podano opisu zmian
Linia 1: Linia 1:
--[[
Strona pomocnicza danych.
Format: ...Dane/<id tabeli dźwięków>
return {
return {
     ["amethyst"] = {
     ikona = "ikona",
        ikona = "Blok ametystu.png",
    java = {
        java = {
        {
            {
            pliki = { "dźwięk_1", "dźwięk_2" },
                pliki = { "Amethyst_break1.ogg.mp3", "Amethyst_break2.ogg.mp3", "Amethyst_break3.ogg.mp3", "Amethyst_break4.ogg.mp3" },
            zdarzenia = {
                zdarzenia = {
                {  
                     { captions = "Zniszczono blok", source = "Blocks", desc = "Gra gdy zniszczono blok", id = "block.amethyst_block.break", key = "block.amethyst_block.break", vol = "1,0", pitch = "0,8", dist = "16"},
                     captions = "napisy",
                 }
                    source   = "źródło",  
             },
                    desc     = "opis",
            {
                    id       = "id",
                pliki = { "Amethyst_place1.ogg.mp3", "Amethyst_place2.ogg.mp3", "Amethyst_place3.ogg.mp3", "Amethyst_place4.ogg.mp3" },
                    key     = "klucz_tłumaczenia",
                zdarzenia = {
                    vol     = "głośność",
                    { captions = "Umieszczono blok", source = "Blocks", desc = "Gra gdy umieszczono blok", id = "block.amethyst_block.place", key = "subtitles.block.generic.place", vol = "1,0", pitch = "0,8", dist = "16"},
                    pitch   = "tonacja",
                }
                    dist     = "odległość_rozgłosu",
            },
                 },
             {
             }
                pliki = { "Amethyst step1.ogg", "Amethyst step2.ogg", "Amethyst step3.ogg", "Amethyst step4.ogg", "Amethyst step5.ogg", "Amethyst step6.ogg", "Amethyst step7.ogg", "Amethyst step8.ogg", "Amethyst step9.ogg", "Amethyst step10.ogg", "Amethyst step11.ogg", "Amethyst step12.ogg" },
        }
                zdarzenia = {
    },
                     { captions = "Niszczenie bloku", source = "Blocks", desc = "Gra gdy blok jest w trakcie niszczenia", id = "block.amethyst_block.hit", key = "subtitles.block.generic.hit", vol = "0,25", pitch = "0,5", dist = "16"},
 
    bedrock = {
        {
             pliki = { "dźwięk_1", "dźwięk_2" },
            zdarzenia = {
                {  
                     captions = "napisy",  
                    source   = "źródło",  
                    desc     = "opis",  
                    id       = "id",  
                    key     = "klucz_tłumaczenia",  
                    vol     = "głośność",  
                    pitch   = "tonacja"  
                 }
                 }
             },
             }
            {
                pliki = { "Amethyst step1.ogg", "Amethyst step2.ogg", "Amethyst step3.ogg", "Amethyst step4.ogg", "Amethyst step5.ogg", "Amethyst step6.ogg", "Amethyst step7.ogg", "Amethyst step8.ogg", "Amethyst step9.ogg", "Amethyst step10.ogg", "Amethyst step11.ogg", "Amethyst step12.ogg", "Amethyst step13.ogg", "Amethyst step14.ogg" },
                zdarzenia = {
                    { captions = "Coś spada na blok", source = "Entity-Dependent", desc = "Gra gdy byt spada na blok i otrzymuje od tego obrażenia", id = "block.amethyst_block.fall", key = "subtitles.block.generic.fall", vol = "0,5", pitch = "0,75", dist = "16"},
                    { captions = "Kroki / Ametyst dźwięczy", source = "Entity-Dependent", desc = "Gra gdy byt chodzi po bloku", id = "block.amethyst_block.step", key = "subtitles.block.generic.footsteps", vol = "0,15", pitch = "1", dist = "16"},
                }
            },
           
        },
        bedrock = {
            {
                pliki = { "Amethyst_break1.ogg.mp3", "Amethyst_break2.ogg.mp3", "Amethyst_break3.ogg.mp3", "Amethyst_break4.ogg.mp3" },
                zdarzenia = {
                    { captions = "?", source = "Blocks", desc = "Gra gdy zniszczono blok", id = "break.amethyst_block", key = "subtitles.block.generic.break", vol = "1,0", pitch = "1,0" },
                }
            },
            {
                pliki = { "Amethyst_place1.ogg.mp3", "Amethyst_place2.ogg.mp3", "Amethyst_place3.ogg.mp3", "Amethyst_place4.ogg.mp3" },
                zdarzenia = {
                    { captions = "?", source = "Blocks", desc = "Gra gdy umieszczono blok", id = "place.amethyst_block", key = "subtitles.block.generic.place", vol = "1,0", pitch = "1,0"},
                }
            },
            {
                pliki = { "Amethyst step1.ogg", "Amethyst step2.ogg", "Amethyst step3.ogg", "Amethyst step4.ogg", "Amethyst step5.ogg", "Amethyst step6.ogg", "Amethyst step7.ogg", "Amethyst step8.ogg", "Amethyst step9.ogg", "Amethyst step10.ogg", "Amethyst step11.ogg", "Amethyst step12.ogg" },
                zdarzenia = {
                    { captions = "?", source = "Blocks", desc = "Gra gdy blok jest niszczony", id = "hit.amethyst_block", key = "subtitles.block.generic.hit", vol = "1,0", pitch = "0,5-1,2" },
                }
            },
            {
                pliki = { "Amethyst step1.ogg", "Amethyst step2.ogg", "Amethyst step3.ogg", "Amethyst step4.ogg", "Amethyst step5.ogg", "Amethyst step6.ogg", "Amethyst step7.ogg", "Amethyst step8.ogg", "Amethyst step9.ogg", "Amethyst step10.ogg", "Amethyst step11.ogg", "Amethyst step12.ogg", "Amethyst step14.ogg" },
                zdarzenia = {
                    { captions = "?", source = "Players", desc = "Gra gdy byt spada na blok i otrzymuje od tego obrażenia", id = "fall.amethyst_block", key = "subtitles.block.generic.footsteps", vol = "1,0", pitch = "1,0" },
                }
            },
            {
                pliki = { "Amethyst step1.ogg", "Amethyst step2.ogg", "Amethyst step3.ogg", "Amethyst step4.ogg", "Amethyst step5.ogg", "Amethyst step6.ogg", "Amethyst step7.ogg", "Amethyst step8.ogg", "Amethyst step9.ogg", "Amethyst step10.ogg", "Amethyst step11.ogg", "Amethyst step12.ogg", "Amethyst step13.ogg", "Amethyst step14.ogg" },
                zdarzenia = {
                    { captions = "?", source = "Players", desc = "Gra gdy byt chodzi po bloku", id = "step.amethyst_block", key = "subtitles.block.generic.footsteps", vol = "1,0", pitch = "1,0" },
                    { captions = "?", source = "Players", desc = "Gra gdy byt skacze po bloku", id = "step.amethyst_block", key = "subtitles.block.generic.footsteps", vol = "1,0", pitch = "1,0" },
                    { captions = "?", source = "Players", desc = "Gra gdy spada na blok, ale nie otrzymuje obrażeń", id = "step.amethyst_block", key = "subtitles.block.generic.footsteps", vol = "1,0", pitch = "1,0" },
                }
            },
         }
         }
     }
     }
   
   
   
   
    --koniec danych
}
}


--[[
Użycie:
["id_wpisu"] = {
        ikona = "ikona_przy_nazwie",
        java = {
            {
                pliki = { "plik_1", "plik_2" },
                zdarzenia = {
                    { captions = "napisy", source = "źródło", desc = "opis", id = "id", key = "klucz_tłumaczenia", vol = "głośność", pitch = "tonacja", dist = "odległość_rozgłosu"},
                }
            },
        },
        bedrock = {
            {
                pliki = { "plik_1", "plik_2" },
                zdarzenia = {
                    { captions = "napisy", source = "źródło", desc = "opis", id = "id", key = "klucz_tłumaczenia", vol = "głośność", pitch = "tonacja" },
                }
            },
        }
    }
]]
]]

Wersja z 23:01, 4 sty 2026

[ utwórz | historia | odśwież ]Dokumentacja
W tym module nie ma dokumentacji. Jeśli wiesz jak używać tego modułu, proszę, podaj odpowiednie informacje.
--[[
Strona pomocnicza danych.
Format: ...Dane/<id tabeli dźwięków>

return {
    ikona = "ikona",
    java = {
        {
            pliki = { "dźwięk_1", "dźwięk_2" },
            zdarzenia = {
                { 
                    captions = "napisy",
                    source   = "źródło", 
                    desc     = "opis",
                    id       = "id",
                    key      = "klucz_tłumaczenia",
                    vol      = "głośność",
                    pitch    = "tonacja",
                    dist     = "odległość_rozgłosu",
                },
            }
        }
    },

    bedrock = {
        {
            pliki = { "dźwięk_1", "dźwięk_2" },
            zdarzenia = {
                { 
                    captions = "napisy", 
                    source   = "źródło", 
                    desc     = "opis", 
                    id       = "id", 
                    key      = "klucz_tłumaczenia", 
                    vol      = "głośność", 
                    pitch    = "tonacja" 
                }
            }
        }
    }
}

]]