diff --git a/mods/maptools/init.lua b/mods/maptools/init.lua index 0acad937..9901af29 100644 --- a/mods/maptools/init.lua +++ b/mods/maptools/init.lua @@ -429,16 +429,26 @@ minetest.register_node("maptools:superapple", { description = S("Super Apple"), range = 12, stack_max = 99, - drawtype = "plantlike", + drawtype = "nodebox", visual_scale = 1.0, - tiles = {"maptools_superapple.png"}, + tiles = {"maptools_super_apple_top.png","maptools_super_apple_bottom.png","maptools_super_apple_side.png"}, inventory_image = "maptools_superapple.png", paramtype = "light", sunlight_propagates = true, walkable = false, - selection_box = { + visual_scale = tmp.visual_scale, + node_box = { type = "fixed", - fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2} + fixed = { + {-3/16, -7/16, -3/16, 3/16, 1/16, 3/16}, + {-4/16, -6/16, -3/16, 4/16, 0, 3/16}, + {-3/16, -6/16, -4/16, 3/16, 0, 4/16}, + {-1/32, 1/16, -1/32, 1/32, 4/16, 1/32}, + {-1/16, 1.6/16, 0, 1/16, 1.8/16, 1/16}, + {-2/16, 1.4/16, 1/16, 1/16, 1.6/16, 2/16}, + {-2/16, 1.2/16, 2/16, 0, 1.4/16, 3/16}, + {-1.5/16, 1/16, .5/16, 0.5/16, 1.2/16, 2.5/16}, + } }, is_ground_content = true, groups = {fleshy = 3, dig_immediate = 3, not_in_creative_inventory = 0, flammable = 2, leafdecay = 3, leafdecay_drop = 1}, @@ -450,6 +460,7 @@ minetest.register_node("maptools:superapple", { end end, }) + -- Items minetest.register_craftitem("maptools:copper_coin", { diff --git a/mods/riesenpilz/textures/maptools_super_apple_bottom.png b/mods/riesenpilz/textures/maptools_super_apple_bottom.png new file mode 100644 index 00000000..46495124 Binary files /dev/null and b/mods/riesenpilz/textures/maptools_super_apple_bottom.png differ diff --git a/mods/riesenpilz/textures/maptools_super_apple_side.png b/mods/riesenpilz/textures/maptools_super_apple_side.png new file mode 100644 index 00000000..f10846bf Binary files /dev/null and b/mods/riesenpilz/textures/maptools_super_apple_side.png differ diff --git a/mods/riesenpilz/textures/maptools_super_apple_top.png b/mods/riesenpilz/textures/maptools_super_apple_top.png new file mode 100644 index 00000000..5bce03e8 Binary files /dev/null and b/mods/riesenpilz/textures/maptools_super_apple_top.png differ