Epic/mods/shapes/init.lua

18 lines
461 B
Lua

minetest.register_node('shapes:gold_triangle_0', {
description = 'Centered Golden Triangle.',
drawtype = 'mesh',
mesh = 'shapes_triangle_0.obj',
tiles = {'default_gold_block.png'},
paramtype = 'light',
paramtype2 = 'facedir',
groups = {cracky=2},
selection_box = {
type = 'fixed',
fixed = {-.5, -.5, -.1, .5, .5, .1},
},
collision_box = {
type = 'fixed',
fixed = {-.5, -.5, -.1, .5, .5, .1},
},
})