Add bucket textures.

This commit is contained in:
Duane 2016-07-14 01:07:56 -05:00
parent b138bad822
commit 992fdbf9e9
3 changed files with 4 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

View file

@ -1,5 +1,8 @@
local function register_liquid_wood(source, itemname, inventory_image, name, groups)
if itemname ~= nil then
if inventory_image then
inventory_image = inventory_image..'^fun_caves_wood_bucket_overlay.png'
end
minetest.register_craftitem(itemname, {
description = name,
inventory_image = inventory_image,
@ -78,7 +81,7 @@ minetest.register_craft({
minetest.register_craftitem("fun_caves:bucket_wood_empty", {
description = "Empty Wooden Bucket",
inventory_image = "bucket.png",
inventory_image = "fun_caves_wood_bucket.png",
stack_max = 99,
liquids_pointable = true,
on_use = function(itemstack, user, pointed_thing)