LUIS DAS ARTIMANHAS - Biblioteca Utilitária


Biblioteca utilitária para criação rápida de itens, receitas e outros protótipos Factorio.. local LDA = require('__LDA-LIB__/init') local PATH = LDA.setBasePath('Quantum-Teleporter')

Internal
3 days ago
2.0
202

i create a ambient-sound

3 days ago
(updated 2 days ago)

create a function to generate ambient-sound
criar uma função que gera o ambient-sound

por exemplo

{
        type = "ambient-sound",
        name = "music",
        track_type = "interlude",
        sound =
        {
            filename = path_main .. "music.ogg",
            volume = 1.2
        }
    },
    {
        type = "ambient-sound",
        name = "music2",
        track_type = "interlude",
        sound =
        {
            filename = path_main .. "music2.ogg",
            volume = 1.2
        }
    },

menu sound

data:extend({
    {
        type = "ambient-sound",
        name = "menu",
        track_type = "menu-track",
        sound =
        {
            filename = path_main .. "menu.ogg",
            volume = 1.2
        }
    }
})

New response