diff --git a/depends.txt b/depends.txt index 150cb10..f0c0149 100644 --- a/depends.txt +++ b/depends.txt @@ -1,3 +1,4 @@ default fire xdecor? +campfire? diff --git a/init.lua b/init.lua index 09d91ea..41664e5 100644 --- a/init.lua +++ b/init.lua @@ -1,11 +1,11 @@ --[[ Mod HardTorch para Minetest Copyright (C) 2018 BrunoMine (https://github.com/BrunoMine) - + Recebeste uma cópia da GNU Lesser General Public License junto com esse software, - se não, veja em . - + se não, veja em . + Inicializador de scripts ]] @@ -80,5 +80,7 @@ hardtorch.fontes_de_fogo["default:lava_flowing"] = true hardtorch.fontes_de_fogo["default:lava_source"] = true hardtorch.fontes_de_fogo["fire:basic_flame"] = true hardtorch.fontes_de_fogo["fire:permanent_flame"] = true - - + +if minetest.get_modpath("campfire") then + hardtorch.fontes_de_fogo["campfire:campfire_active"] = true +end diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..37b12df --- /dev/null +++ b/mod.conf @@ -0,0 +1,4 @@ +name = hardtorch +description = Tochas realistas (Realistic torchs) +depends = default, fire +optional_depends = xdecor, campfire