1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

Updated maptools mod : not running yet

This commit is contained in:
LeMagnesium 2015-01-24 19:38:53 +01:00
parent 2bb2628beb
commit 36897537a5
3 changed files with 67 additions and 106 deletions

View File

@ -26,8 +26,4 @@ local function setting(settingtype, name, default)
end end
-- Show Map Tools stuff in creative inventory (1 or 0): -- Show Map Tools stuff in creative inventory (1 or 0):
<<<<<<< HEAD
setting("integer", "hide_from_creative_inventory", 0) setting("integer", "hide_from_creative_inventory", 0)
=======
setting("integer", "hide_from_creative_inventory", 1)
>>>>>>> Maptool's update

View File

@ -360,7 +360,7 @@ minetest.register_node("maptools:diamondblock", {
description = S("Unbreakable Diamond Block"), description = S("Unbreakable Diamond Block"),
range = 12, range = 12,
stack_max = 10000, stack_max = 10000,
tiles = {"default_steel_block.png"}, tiles = {"default_diamond_block.png"},
drop = "", drop = "",
groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative}, groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),

View File

@ -1,4 +1,3 @@
<<<<<<< HEAD
--[[ --[[
===================================================================== =====================================================================
** Map Tools ** ** Map Tools **
@ -96,37 +95,3 @@ end)
if minetest.setting_getbool("log_mods") then if minetest.setting_getbool("log_mods") then
minetest.log("action", S("[maptools] loaded.")) minetest.log("action", S("[maptools] loaded."))
end end
=======
--[[
=====================================================================
** Map Tools **
By Calinou.
Copyright (c) 2012-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
=====================================================================
--]]
maptools = {}
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s) return s end
end
maptools.intllib = S
local modpath = minetest.get_modpath("maptools")
dofile(modpath .. "/config.lua")
dofile(modpath .. "/aliases.lua")
dofile(modpath .. "/craftitems.lua")
dofile(modpath .. "/default_nodes.lua")
dofile(modpath .. "/nodes.lua")
dofile(modpath .. "/tools.lua")
if minetest.setting_getbool("log_mods") then
minetest.log("action", S("[maptools] loaded."))
end
>>>>>>> Maptool's update