mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
Merge 08e5cb843b
into a5dcf123e0
This commit is contained in:
commit
79a52f6533
3 changed files with 3 additions and 2 deletions
|
@ -389,12 +389,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…
Add table
Reference in a new issue