Ajustes
parent
c43567b914
commit
c168ffdf36
16
antipvp.lua
16
antipvp.lua
|
@ -1,16 +0,0 @@
|
|||
--
|
||||
-- Mod Atualizador
|
||||
--
|
||||
-- Para mod antipvp
|
||||
--
|
||||
|
||||
-- LBM para remover carpetes do antigo mod antpvp [pode remover apos reset do servidor (4/6/2017)]
|
||||
minetest.register_lbm({
|
||||
name = "atualizador:remover_carpetes_antpvp",
|
||||
nodenames = {"antpvp:carpete"},
|
||||
action = function(pos, node)
|
||||
-- Coloca novo node no lugar
|
||||
minetest.set_node(pos, {name="antipvp:placa", param2 = node.param2})
|
||||
end,
|
||||
})
|
||||
|
|
@ -390,7 +390,7 @@ if minetest.get_modpath("hbhunger") ~= nil then
|
|||
end
|
||||
end
|
||||
|
||||
-- Abm que faz nuvem sumir
|
||||
-- ABM que faz nuvem sumir
|
||||
minetest.register_abm({
|
||||
nodenames = {"default:cloud"},
|
||||
interval = 10,
|
||||
|
|
|
@ -4,6 +4,7 @@ farming?
|
|||
flowers?
|
||||
dye?
|
||||
hudbars?
|
||||
hbhunger?
|
||||
3d_armor?
|
||||
shields?
|
||||
tnt?
|
||||
|
|
21
hbhunger.lua
21
hbhunger.lua
|
@ -1,8 +1,13 @@
|
|||
--
|
||||
-- Mod Atualizador
|
||||
--
|
||||
-- Para comidas
|
||||
--
|
||||
--[[
|
||||
Mod Minemacro para Minetest
|
||||
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
|
||||
|
||||
Recebeste uma cópia da GNU Lesser General
|
||||
Public License junto com esse software,
|
||||
se não, veja em <http://www.gnu.org/licenses/>.
|
||||
|
||||
Alterações para hbhunger
|
||||
]]
|
||||
|
||||
local register_food = hbhunger.register_food
|
||||
|
||||
|
@ -23,12 +28,6 @@ if minetest.get_modpath("flowers") ~= nil then
|
|||
register_food("flowers:mushroom_brown", 1)
|
||||
end
|
||||
|
||||
if minetest.get_modpath("macroplantas") ~= nil then
|
||||
if minetest.get_modpath("macroplantas").."/melancia.lua" ~= nil then
|
||||
register_food("macroplantas:pedaco_melancia", 1)
|
||||
end
|
||||
end
|
||||
|
||||
if minetest.get_modpath("oficios:basicos") ~= nil then
|
||||
register_food("oficios_basicos:frutos_selvagens", 1)
|
||||
end
|
||||
|
|
6
init.lua
6
init.lua
|
@ -16,11 +16,9 @@ local lista = {
|
|||
"farming",
|
||||
"tnt",
|
||||
"wool",
|
||||
"sfinv",
|
||||
-- Avulsos
|
||||
"creatures",
|
||||
"3d_armor",
|
||||
"antipvp",
|
||||
"mobs",
|
||||
"itemframes",
|
||||
"mesecons",
|
||||
|
@ -39,11 +37,11 @@ end
|
|||
-- Notificador de Inicializador
|
||||
local notificar = function(msg)
|
||||
if minetest.setting_get("log_mods") then
|
||||
minetest.debug("[ATUALIZADOR]"..msg)
|
||||
minetest.debug("[Minemacro (mod)]"..msg)
|
||||
end
|
||||
end
|
||||
|
||||
local modpath = minetest.get_modpath("atualizador")
|
||||
local modpath = minetest.get_modpath("minemacro")
|
||||
|
||||
-- Carregar scripts de atualização de cada mod
|
||||
notificar("Carregando...")
|
||||
|
|
31
sfinv.lua
31
sfinv.lua
|
@ -1,31 +0,0 @@
|
|||
--
|
||||
-- Mod Atualizador
|
||||
--
|
||||
-- Para mod sfinv
|
||||
--
|
||||
|
||||
|
||||
-- Altera a aba de craftação do inventario de sobrevivencia
|
||||
sfinv.override_page("sfinv:crafting", {
|
||||
title = "Artesanato",
|
||||
get = function(self, player, context)
|
||||
return sfinv.make_formspec(player, context, [[
|
||||
label[2,0.5;Micro Craftador]
|
||||
list[current_player;craft;2,1;2,1;1]
|
||||
list[current_player;craft;2,2;2,1;4]
|
||||
list[current_player;craftpreview;4.95,1.5;1,1;]
|
||||
image[3.95,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]
|
||||
listring[current_player;main]
|
||||
listring[current_player;craft]
|
||||
image[0,4.75;1,1;gui_hb_bg.png]
|
||||
image[1,4.75;1,1;gui_hb_bg.png]
|
||||
image[2,4.75;1,1;gui_hb_bg.png]
|
||||
image[3,4.75;1,1;gui_hb_bg.png]
|
||||
image[4,4.75;1,1;gui_hb_bg.png]
|
||||
image[5,4.75;1,1;gui_hb_bg.png]
|
||||
image[6,4.75;1,1;gui_hb_bg.png]
|
||||
image[7,4.75;1,1;gui_hb_bg.png]
|
||||
]], true)
|
||||
end
|
||||
})
|
||||
|
Loading…
Reference in New Issue