Mod renomeado

master
BrunoMine 2017-05-31 18:35:24 -03:00
parent 9da74226d1
commit 4ce8f76059
7 changed files with 9 additions and 7 deletions

View File

@ -16,6 +16,3 @@ Torna as tintas mais realistas em Minetest
* [Forum](https://forum.minetest.net/viewtopic.php?t=1)
* [Bower](https://minetest-bower.herokuapp.com/mods/tintas_reais)
## Configurações
* `tintas_reais:crafting = true` altera as receitas das tintas (padrão é `true`)
* `tintas_reais:textures = true` altera as texturas das tintas (padrão é `true`)

2
description.txt Normal file
View File

@ -0,0 +1,2 @@
Tintas mais realistas
More realistic dyes

View File

@ -12,11 +12,11 @@
-- Notificador de Inicializador
local notificar = function(msg)
if minetest.setting_get("log_mods") then
minetest.debug("[TINTAS_REAIS]"..msg)
minetest.debug("[MACROTINTAS]"..msg)
end
end
local modpath = minetest.get_modpath("tintas_reais")
local modpath = minetest.get_modpath("macrotintas")
-- Carregar scripts
notificar("Carregando...")

View File

@ -10,7 +10,7 @@
]]
-- Verifica se está habilitado para trocar receitas
local status = minetest.setting_getbool("tintas_reais:crafting")
local status = minetest.setting_getbool("macrotintas_crafting")
if not (status == nil) and (status == false) then
return
end

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

3
settingtypes.txt Normal file
View File

@ -0,0 +1,3 @@
macrotintas_textures (Alterar texturas) bool true
macrotintas_crafting (Alterar receitas) bool true

View File

@ -11,7 +11,7 @@
-- Verifica se está habilitado para trocar receitas
local status = minetest.setting_getbool("tintas_reais:textures")
local status = minetest.setting_getbool("macrotintas_textures")
if not (status == nil) and (status == false) then
return
end