Put honey out of invo and minor tweaks
This commit is contained in:
parent
f4f17cb4fc
commit
5554c0aecf
@ -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)
|
||||
})
|
||||
|
||||
|
2
hive.lua
2
hive.lua
@ -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", {
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 264 B |
Loading…
Reference in New Issue
Block a user