diff --git a/mods/maptools/aliases.lua b/mods/maptools/aliases.lua index 719acfd1..f1f0cc57 100644 --- a/mods/maptools/aliases.lua +++ b/mods/maptools/aliases.lua @@ -74,8 +74,6 @@ minetest.register_alias("fake_fire", "maptools:fake_fire") minetest.register_alias("ffire", "maptools:fake_fire") minetest.register_alias("igniter", "maptools:igniter") --- Unbreakable block aliases - minetest.register_alias("stone_u", "maptools:stone") minetest.register_alias("tree_u", "maptools:tree") minetest.register_alias("cobble_u", "maptools:cobble") diff --git a/mods/maptools/config.lua b/mods/maptools/config.lua index 3cd502ef..225a09b1 100644 --- a/mods/maptools/config.lua +++ b/mods/maptools/config.lua @@ -26,4 +26,8 @@ local function setting(settingtype, name, default) end -- Show Map Tools stuff in creative inventory (1 or 0): +<<<<<<< HEAD setting("integer", "hide_from_creative_inventory", 0) +======= +setting("integer", "hide_from_creative_inventory", 1) +>>>>>>> Maptool's update diff --git a/mods/maptools/default_nodes.lua b/mods/maptools/default_nodes.lua index 7c1e135e..3ac0caf5 100644 --- a/mods/maptools/default_nodes.lua +++ b/mods/maptools/default_nodes.lua @@ -360,7 +360,7 @@ minetest.register_node("maptools:diamondblock", { description = S("Unbreakable Diamond Block"), range = 12, stack_max = 10000, - tiles = {"default_diamond_block.png"}, + tiles = {"default_steel_block.png"}, drop = "", groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative}, sounds = default.node_sound_stone_defaults(), diff --git a/mods/maptools/init.lua b/mods/maptools/init.lua index adf90453..8b095d2d 100644 --- a/mods/maptools/init.lua +++ b/mods/maptools/init.lua @@ -1,3 +1,4 @@ +<<<<<<< HEAD --[[ ===================================================================== ** Map Tools ** @@ -95,3 +96,37 @@ end) if minetest.setting_getbool("log_mods") then minetest.log("action", S("[maptools] loaded.")) 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 diff --git a/mods/maptools/nodes.lua b/mods/maptools/nodes.lua index ad5ff1f1..63eea994 100644 --- a/mods/maptools/nodes.lua +++ b/mods/maptools/nodes.lua @@ -411,6 +411,7 @@ minetest.register_node("maptools:igniter", { minetest.register_node("maptools:superapple", { description = S("Super Apple"), range = 12, +<<<<<<< HEAD stack_max = 99, drawtype = "nodebox", visual_scale = 1.0, @@ -441,4 +442,21 @@ minetest.register_node("maptools:superapple", { minetest.set_node(pos, {name = "maptools:superapple", param2= 1}) end end, +======= + stack_max = 10000, + drawtype = "plantlike", + visual_scale = 1.0, + tiles = {"maptools_superapple.png"}, + inventory_image = "maptools_superapple.png", + paramtype = "light", + sunlight_propagates = true, + selection_box = { + type = "fixed", + fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2} + }, + walkable = false, + groups = {fleshy=3, dig_immediate=3, not_in_creative_inventory = maptools.creative}, + on_use = minetest.item_eat(20), + sounds = default.node_sound_defaults(), +>>>>>>> Maptool's update })