monalisa
This commit is contained in:
parent
cc5a5816ad
commit
9e8dd72802
@ -6,6 +6,7 @@ local paintings = {
|
||||
{"small", "Small Painting (test)", "1X1"},
|
||||
{"medium", "Medium Painting (test)", "1X2"},
|
||||
{"large", "Large Painting (test)", "2X2"},
|
||||
{"large", "monalisa (monalisa)", "2X2"},
|
||||
}
|
||||
|
||||
local small = {-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5}
|
||||
@ -43,5 +44,27 @@ for _, row in ipairs(paintings) do
|
||||
fixed = box
|
||||
},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
})
|
||||
minetest.register_node("paintings:monalisa", {
|
||||
description = monalisa,
|
||||
drawtype = "mesh",
|
||||
mesh = "2X2.obj",
|
||||
tiles = {
|
||||
"paintings_monalisa.png",
|
||||
},
|
||||
visual_scale = 0.5,
|
||||
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {choppy=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = box
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = box
|
||||
},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
})
|
||||
end
|
BIN
mods/paintings/textures/paintings_monalisa.png
Normal file
BIN
mods/paintings/textures/paintings_monalisa.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
Loading…
x
Reference in New Issue
Block a user