Add bucket textures.
This commit is contained in:
parent
b138bad822
commit
992fdbf9e9
3 changed files with 4 additions and 1 deletions
BIN
textures/fun_caves_wood_bucket.png
Normal file
BIN
textures/fun_caves_wood_bucket.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 327 B |
BIN
textures/fun_caves_wood_bucket_overlay.png
Normal file
BIN
textures/fun_caves_wood_bucket_overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 335 B |
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue