forked from Wuzzy/realtest_mt5
Don't use raillike drawtype for seeds
This commit is contained in:
parent
e203d7841d
commit
b7f97b9123
|
@ -41,19 +41,25 @@ for i=1,4 do
|
||||||
})
|
})
|
||||||
--Register the seeds for each plant
|
--Register the seeds for each plant
|
||||||
minetest.register_node("farming:seed_"..name, {
|
minetest.register_node("farming:seed_"..name, {
|
||||||
drawtype = "raillike",
|
drawtype = "nodebox",
|
||||||
description = desc.." Seeds",
|
description = desc.." Seeds",
|
||||||
tiles = {"farming_seed_placed.png"},
|
tiles = {"farming_seed_placed.png","blank.png"},
|
||||||
inventory_image = "farming_"..name.."_seed.png",
|
inventory_image = "farming_"..name.."_seed.png",
|
||||||
groups = {snappy=3, plant=1, attached_node=1},
|
groups = {snappy=3, plant=1, attached_node=1},
|
||||||
sounds = default.node_sound_defaults(),
|
sounds = default.node_sound_defaults(),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{-0.5,-0.5,-0.5,0.5,-0.49,0.5},
|
||||||
|
},
|
||||||
|
},
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-0.500000,-0.500000,-0.500000,0.500000,-0.3,0.500000},
|
{-0.5,-0.5,-0.5,0.5,-0.3,0.5},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
drop = "",
|
drop = "",
|
||||||
|
|
Loading…
Reference in New Issue