octagon glass slope variants

This commit is contained in:
BuckarooBanzay
2024-09-27 12:11:32 +02:00
parent fbd56e67c9
commit 36b0c5cc05
5 changed files with 96 additions and 107 deletions

View File

@ -16,24 +16,8 @@ function scifi_nodes.register_slope(name, desc, texture, light, soundtype)
drawtype = "mesh",
mesh = "scifi_nodes_slope.obj",
tiles = texture,
selection_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
{-0.5, -0.25, -0.25, 0.5, 0, 0.5},
{-0.5, 0, 0, 0.5, 0.25, 0.5},
{-0.5, 0.25, 0.25, 0.5, 0.5, 0.5}
}
},
collision_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
{-0.5, -0.25, -0.25, 0.5, 0, 0.5},
{-0.5, 0, 0, 0.5, 0.25, 0.5},
{-0.5, 0.25, 0.25, 0.5, 0.5, 0.5}
}
},
selection_box = scifi_nodes.slope_selection_box,
collision_box = scifi_nodes.slope_collision_box,
paramtype = "light",
paramtype2 = "facedir",
use_texture_alpha = "clip",