12345678910111213141516171819202122232425262728293031323334353637 |
- minetest.register_node('sss_map:ramp_1', {
- description = 'Ramp (1 node wide)',
- drawtype = 'mesh',
- mesh = 'sss_map_ramp_1.obj',
- tiles = {'sss_map_ramp_2.png'},
- paramtype = 'light',
- paramtype2 = 'facedir',
- wield_scale = {x = .5, y = .5, z = .5},
- selection_box = {
- type = 'fixed',
- fixed = {
- {-0.5, -0.5, -0.5, 0.5, -0.375, 0.5},
- {-0.5, -0.375, -0.25, 0.5, -0.25, 0.5},
- {-0.5, -0.25, 0, 0.5, -0.125, 0.5},
- {-0.5, -0.125, 0.25, 0.5, 0, 0.5},
- {-0.5, -0.5, 0.5, 0.5, 0.125, 1.5},
- {-0.5, 0.125, 0.75, 0.5, 0.25, 1.5},
- {-0.5, 0.25, 1, 0.5, 0.375, 1.5},
- {-0.5, 0.375, 1.25, 0.5, 0.5, 1.5}
- }
- },
- collision_box = {
- type = 'fixed',
- fixed = {
- {-0.5, -0.5, -0.5, 0.5, -0.375, 0.5},
- {-0.5, -0.375, -0.25, 0.5, -0.25, 0.5},
- {-0.5, -0.25, 0, 0.5, -0.125, 0.5},
- {-0.5, -0.125, 0.25, 0.5, 0, 0.5},
- {-0.5, -0.5, 0.5, 0.5, 0.125, 1.5},
- {-0.5, 0.125, 0.75, 0.5, 0.25, 1.5},
- {-0.5, 0.25, 1, 0.5, 0.375, 1.5},
- {-0.5, 0.375, 1.25, 0.5, 0.5, 1.5}
- }
- },
- groups = {breakable=1},
- })
|