grass fix
parent
046f39c46c
commit
f840c839d6
|
@ -17,11 +17,11 @@ minetest.register_node("grass:grass", {
|
|||
groups = {snappy=3,flammable=2},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
drop = {
|
||||
max_items = 1,
|
||||
max_items = 3,
|
||||
items = {
|
||||
{
|
||||
items = {'wheat:wheat_seeds'},
|
||||
rarity = 1,
|
||||
rarity = 10,
|
||||
},
|
||||
}
|
||||
},
|
||||
|
@ -30,7 +30,7 @@ minetest.register_node("grass:grass", {
|
|||
|
||||
minetest.register_abm({
|
||||
nodenames = { "default:dirt_with_grass" },
|
||||
interval = 160,
|
||||
interval = 16000,
|
||||
chance = 50,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local p_top = {
|
||||
|
|
|
@ -256,25 +256,7 @@ minetest.register_node("wheat:dirt_bed", {
|
|||
dug_item = 'node "default:dirt" 1',
|
||||
})
|
||||
|
||||
minetest.register_node("wheat:big_grass", {
|
||||
drawtype = "plantlike",
|
||||
paramtype = "facedir_simple",
|
||||
tile_images = {"wheat_big_grass.png"},
|
||||
inventory_image = "wheat_big_grass.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
material = minetest.digprop_constanttime(0.1),
|
||||
furnace_burntime = 2,
|
||||
dug_item = "",
|
||||
extra_dug_item = 'craft "wheat:wheat_seeds" 1',
|
||||
extra_dug_item_rarity = 10,
|
||||
visual_scale = PLANTS_VISUAL_SCALE,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -0.3, 1/2},
|
||||
},
|
||||
})-- Nodes end
|
||||
-- Nodes end
|
||||
|
||||
-- Craftitems
|
||||
minetest.register_craftitem("wheat:wheat_seeds", {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 719 B |
Loading…
Reference in New Issue