Add sample 4-step stair node

master
Jordan Irwin 2021-08-26 13:39:27 -07:00
parent 27cb2827f8
commit 8963eb0417
1 changed files with 17 additions and 0 deletions

View File

@ -247,6 +247,23 @@ core.register_node("simple_models:stair", {
groups = {oddly_breakable_by_hand=1, stair=1},
})
core.register_node("simple_models:stair2", {
description = "Stair",
drawtype = "mesh",
tiles = {"simple_models_sample_stair_fine_1x1x1_map.png"},
mesh = smodel.stair_fine.mesh,
collision_box = {
type = "fixed",
fixed = smodel.stair_fine.box,
},
selection_box = {
type = "fixed",
fixed = smodel.stair_fine.box,
},
paramtype2 = "facedir",
groups = {oddly_breakable_by_hand=1, stair=1},
})
-- slopes