mcl_vegan/mcl_tomato/node.lua
trans_soup b0e1280566 create mcl_tomato mod.
it currently takes textures from the soy mod. some textures are left
completely non-existent. (this will probably change soon.)

adds tomato plants, tomato sauce, noodles, and pasta with tomato sauce.
2023-07-17 00:57:51 +02:00

28 lines
629 B
Lua

local modname = minetest.get_current_modname()
local tomato = modname .. ":tomato"
local seeds = modname .. ":seeds"
local final_drops = {
max_items = 4,
items = {
{ items = { seeds } },
{ items = { tomato } },
{ items = { tomato .. " 2" }, rarity = 2 },
{ items = { seeds .. " 2" }, rarity = 2 },
{ items = { tomato .. " 3" }, rarity = 4 },
{ items = { tomato } },
{ items = { seeds }, rarity = 2 },
},
}
mcl_vegan.register_basic_plant(modname, "tomato", {
seed = "seeds",
descriptions = {
crop = "Tomato Plant",
},
drops = final_drops,
growth_interval = 5,
growth_chance = 1,
can_forage = true,
})