From 5554c0aecfa62765e43349894878c313137d035e Mon Sep 17 00:00:00 2001 From: jp Date: Fri, 21 Aug 2015 15:47:51 +0200 Subject: [PATCH] Put honey out of invo and minor tweaks --- crafts.lua | 1 + hive.lua | 2 +- itemframe.lua | 2 +- nodes.lua | 7 ++++--- textures/xdecor_stone_tile.png | Bin 245 -> 264 bytes 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/crafts.lua b/crafts.lua index 2acd9e6..a4b9b4e 100644 --- a/crafts.lua +++ b/crafts.lua @@ -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) }) diff --git a/hive.lua b/hive.lua index 5cadc20..9f0149e 100644 --- a/hive.lua +++ b/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() diff --git a/itemframe.lua b/itemframe.lua index 57a0870..bb3b4b9 100644 --- a/itemframe.lua +++ b/itemframe.lua @@ -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, diff --git a/nodes.lua b/nodes.lua index acd3fb0..bc4d28a 100644 --- a/nodes.lua +++ b/nodes.lua @@ -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", { diff --git a/textures/xdecor_stone_tile.png b/textures/xdecor_stone_tile.png index 510c1b110adb5e8db520d8064947b66913ab7d63..20b116a22c99a9f83bead4d3cfbecee362939f3f 100644 GIT binary patch delta 236 zcmVetZF=+J;o45W`C83Y&w1qBu{sJgf?7#j*6Vo((nU}a!n6a86G72&<3NTD!P!Mro5D_dXW5{L%X)^}uaxi9gaS&X_kY2vL mre@~MV+=`ZZE8tMO-cX&4j;O_0zX&)0000k#wYgtkV^L95m6e)#d40ONzJP#* zZEbOwn4U0Vn|1&I0EtONK~xCWV@M5EN>fczRbz zn8$#jjUltxn1O*&U=vV;K~S8>pp_w#UC{V|pui%K2%{i7dr})i3XcIh0|Nt4M37N{ z!5FLtsG0$!OAx5PfB~q+*br!RVH1NUP-Ou~v36JYirpQnwlbs!DJ2C31%&|sc4!>k Tm36<100000NkvXXu0mjf$rxOj