forked from minetest/minetest_game
Fix glass panes sides (#2500)
This commit is contained in:
parent
23ceb30e88
commit
05375c0fd4
@ -773,7 +773,11 @@ Creates panes that automatically connect to each other
|
|||||||
### Pane definition
|
### Pane definition
|
||||||
|
|
||||||
{
|
{
|
||||||
textures = {"texture for sides", (unused), "texture for top and bottom"}, -- More tiles aren't supported
|
textures = {
|
||||||
|
"texture for front and back",
|
||||||
|
(unused),
|
||||||
|
"texture for the 4 edges"
|
||||||
|
}, -- More tiles aren't supported
|
||||||
groups = {group = rating}, -- Uses the known node groups, see [Known damage and digging time defining groups]
|
groups = {group = rating}, -- Uses the known node groups, see [Known damage and digging time defining groups]
|
||||||
sounds = SoundSpec, -- See [#Default sounds]
|
sounds = SoundSpec, -- See [#Default sounds]
|
||||||
recipe = {{"","","","","","","","",""}}, -- Recipe field only
|
recipe = {{"","","","","","","","",""}}, -- Recipe field only
|
||||||
|
@ -105,7 +105,14 @@ function xpanes.register_pane(name, def)
|
|||||||
inventory_image = def.inventory_image,
|
inventory_image = def.inventory_image,
|
||||||
wield_image = def.wield_image,
|
wield_image = def.wield_image,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
tiles = {def.textures[3], def.textures[3], def.textures[1]},
|
tiles = {
|
||||||
|
def.textures[3],
|
||||||
|
def.textures[3],
|
||||||
|
def.textures[3],
|
||||||
|
def.textures[3],
|
||||||
|
def.textures[1],
|
||||||
|
def.textures[1]
|
||||||
|
},
|
||||||
groups = flatgroups,
|
groups = flatgroups,
|
||||||
drop = "xpanes:" .. name .. "_flat",
|
drop = "xpanes:" .. name .. "_flat",
|
||||||
sounds = def.sounds,
|
sounds = def.sounds,
|
||||||
|
Loading…
Reference in New Issue
Block a user