mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 14:50:52 +02:00
placable mint and sunflower seeds, added waving to most crops
This commit is contained in:
@ -2,13 +2,21 @@
|
||||
local S = farming.intllib
|
||||
|
||||
-- mint seed
|
||||
minetest.register_craftitem("farming:seed_mint", {
|
||||
minetest.register_node("farming:seed_mint", {
|
||||
description = S("Mint Seeds"),
|
||||
tiles = {"farming_mint_seeds.png"},
|
||||
inventory_image = "farming_mint_seeds.png",
|
||||
groups = {seed = 2, flammable = 2},
|
||||
wield_image = "farming_mint_seeds.png",
|
||||
drawtype = "signlike",
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, growing = 1, flammable = 2},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
sunlight_propagates = true,
|
||||
selection_box = farming.select,
|
||||
next_plant = "farming:mint_1",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(
|
||||
itemstack, placer, pointed_thing, "farming:mint_1")
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_mint")
|
||||
end
|
||||
})
|
||||
|
||||
@ -47,6 +55,7 @@ local def = {
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
drop = "",
|
||||
waving = 1,
|
||||
selection_box = farming.select,
|
||||
groups = {
|
||||
snappy = 3, flammable = 2, plant = 1, attached_node = 1,
|
||||
|
Reference in New Issue
Block a user