Skip to content
Snippets Groups Projects
Commit 5554c0ae authored by jp's avatar jp
Browse files

Put honey out of invo and minor tweaks

parent f4f17cb4
No related branches found
No related tags found
No related merge requests found
......@@ -201,6 +201,7 @@ minetest.register_craft({
minetest.register_craftitem("xdecor:honey", {
description = "Honey",
inventory_image = "xdecor_honey.png",
groups = {not_in_creative_inventory=1},
on_use = minetest.item_eat(2)
})
......
......@@ -46,7 +46,7 @@ xdecor.register("hive", {
minetest.register_abm({
nodenames = {"xdecor:hive"},
interval = 10, chance = 4,
interval = 10, chance = 5,
action = function(pos, _, _, _)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
......
......@@ -80,7 +80,7 @@ local drop_item = function(pos, node)
end
xdecor.register("frame", {
description = "Item frame",
description = "Item Frame",
groups = {choppy=3, snappy=2},
sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.disallow,
......
......@@ -217,7 +217,7 @@ local colors = {"red"} -- Add more curtains colors simply here.
for _, c in pairs(colors) do
xdecor.register("curtain_"..c, {
description = "Curtain ("..c..")",
description = c:gsub("%l", string.upper, 1).." Curtain",
use_texture_alpha = true,
walkable = false,
tiles = {"xdecor_curtain.png^[colorize:"..c..":130"},
......@@ -267,7 +267,7 @@ xdecor.register("desertstone_tile", {
drawtype = "normal",
description = "Desert Stone Tile",
tiles = {"xdecor_desertstone_tile.png"},
groups = {cracky=3},
groups = {cracky=3, stone=1},
sounds = sound.stone
})
......@@ -389,7 +389,8 @@ minetest.register_tool("xdecor:flint_steel", {
minetest.register_tool("xdecor:hammer", {
description = "Hammer",
inventory_image = "xdecor_hammer.png"
inventory_image = "xdecor_hammer.png",
wield_image = "xdecor_hammer.png"
})
xdecor.register("hard_clay", {
......
textures/xdecor_stone_tile.png

245 B | W: | H:

textures/xdecor_stone_tile.png

264 B | W: | H:

textures/xdecor_stone_tile.png
textures/xdecor_stone_tile.png
textures/xdecor_stone_tile.png
textures/xdecor_stone_tile.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment