Push new version changes to init.lua
This commit is contained in:
parent
621be67e90
commit
10abc613cd
37
init.lua
37
init.lua
@ -1,5 +1,19 @@
|
||||
mcnodes = {}
|
||||
|
||||
mcnodes.version = '0.3-beta'
|
||||
|
||||
LargeChest = '1'
|
||||
|
||||
AutoStairs = '1'
|
||||
|
||||
McMobs = '1'
|
||||
McMobsInCreative = '0'
|
||||
|
||||
McHud = '1'
|
||||
|
||||
McHunger = '1'
|
||||
McHungerInCreative = '1'
|
||||
|
||||
dofile(minetest.get_modpath("mcnodes").."/functions.general.lua")
|
||||
|
||||
dofile(minetest.get_modpath("mcnodes").."/nodes.lua")
|
||||
@ -15,15 +29,36 @@ dofile(minetest.get_modpath("mcnodes").."/crafting.lua")
|
||||
|
||||
--dofile(minetest.get_modpath("mcnodes").."/hand.lua")
|
||||
|
||||
dofile(minetest.get_modpath("mcnodes").."/chest.lua")
|
||||
if LargeChest == '1' then
|
||||
dofile(minetest.get_modpath("mcnodes").."/chest.functions.lua")
|
||||
dofile(minetest.get_modpath("mcnodes").."/chest.lua")
|
||||
end
|
||||
|
||||
dofile(minetest.get_modpath("mcnodes").."/register_ores.lua")
|
||||
dofile(minetest.get_modpath("mcnodes").."/register_biome.lua")
|
||||
|
||||
dofile(minetest.get_modpath("mcnodes").."/replaced_nodes.lua")
|
||||
|
||||
dofile(minetest.get_modpath("mcnodes").."/chatcommands.lua")
|
||||
|
||||
|
||||
if AutoStairs == '1' then
|
||||
dofile(minetest.get_modpath("mcnodes").."/auto_stairs_functions.lua")
|
||||
dofile(minetest.get_modpath("mcnodes").."/auto_stairs.lua")
|
||||
end
|
||||
|
||||
|
||||
|
||||
if McMobs == '1' then
|
||||
if McMobsInCreative ~= '1' then
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
dofile(minetest.get_modpath("mcnodes").."/mcmobs/mcmobs.init.lua")
|
||||
end
|
||||
else
|
||||
dofile(minetest.get_modpath("mcnodes").."/mcmobs/mcmobs.init.lua")
|
||||
end
|
||||
end
|
||||
|
||||
if McHud == '1' then
|
||||
dofile(minetest.get_modpath("mcnodes").."/mchud/mchud.init.lua")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user