mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 23:10:17 +01:00
Make walls connect to nodes in a new wall_connected
group (#3159)
This commit is contained in:
parent
093cd28a27
commit
92daf3e6f4
@ -341,6 +341,12 @@ walls.register(name, desc, texture, mat, sounds)
|
|||||||
^ mat = "default:stone". Used to auto-generate crafting recipe.
|
^ mat = "default:stone". Used to auto-generate crafting recipe.
|
||||||
^ sounds = sounds: see [#Default sounds]
|
^ sounds = sounds: see [#Default sounds]
|
||||||
|
|
||||||
|
All walls will be connected to any nodes with one of the following groups:
|
||||||
|
* `wall`
|
||||||
|
* `stone`
|
||||||
|
* `fence`
|
||||||
|
* `wall_connected`
|
||||||
|
|
||||||
|
|
||||||
Farming API
|
Farming API
|
||||||
-----------
|
-----------
|
||||||
|
@ -35,7 +35,7 @@ walls.register = function(wall_name, wall_desc, wall_texture_table, wall_mat, wa
|
|||||||
connect_back = {-1/4,-1/2,1/4,1/4,1/2 + fence_collision_extra,1/2},
|
connect_back = {-1/4,-1/2,1/4,1/4,1/2 + fence_collision_extra,1/2},
|
||||||
connect_right = {1/4,-1/2,-1/4,1/2,1/2 + fence_collision_extra,1/4},
|
connect_right = {1/4,-1/2,-1/4,1/2,1/2 + fence_collision_extra,1/4},
|
||||||
},
|
},
|
||||||
connects_to = { "group:wall", "group:stone", "group:fence" },
|
connects_to = { "group:wall", "group:stone", "group:fence", "group:wall_connected" },
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
tiles = wall_texture_table,
|
tiles = wall_texture_table,
|
||||||
|
Loading…
Reference in New Issue
Block a user