mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
new fence texture
update it use fence_overlay
This commit is contained in:
parent
29f1f01f37
commit
08e5cb843b
3 changed files with 3 additions and 2 deletions
|
@ -343,12 +343,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",
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
|
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…
Add table
Reference in a new issue