forked from nalc/nalc_game
New fence texture
This commit is contained in:
parent
13dfc2c0e9
commit
d0aa09dd8d
|
@ -456,12 +456,13 @@ minetest.register_node("default:glass", {
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local fence_texture = "default_fence_overlay.png^default_wood.png^default_fence_overlay.png^[makealpha:255,126,126"
|
||||||
minetest.register_node("default:fence_wood", {
|
minetest.register_node("default:fence_wood", {
|
||||||
description = "Wooden Fence",
|
description = "Wooden Fence",
|
||||||
drawtype = "fencelike",
|
drawtype = "fencelike",
|
||||||
tiles = {"default_wood.png"},
|
tiles = {"default_wood.png"},
|
||||||
inventory_image = "default_fence.png",
|
inventory_image = fence_texture,
|
||||||
wield_image = "default_fence.png",
|
wield_image = fence_texture,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 482 B |
BIN
mods/default/textures/default_fence_overlay.png
Normal file
BIN
mods/default/textures/default_fence_overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 285 B |
Loading…
Reference in New Issue
Block a user