farming.register_plant("btmt:tomato", {
	description = "Tomato Seed",
	harvest_description = "tomato",
	paramtype = "light",
	paramtype2 = "plantlike",  
	inventory_image = "seed_tomato.png",
	steps = 8,
	minlight = 13,
	maxlight = default.LIGHT_MAX,
	fertility = {"grassland"},
	groups = {flammable = 4,not_in_creative_inventory = 1},
	place_param2 = 3,
	--drop = "",		
})

core.register_craftitem("btmt:tomato", {
	description = "Tomato",
	inventory_image = "tomato.png",
	on_use = core.item_eat(2),
})

core.register_decoration({
	name = "btmt:tomato_4_dec",
	deco_type = "simple",
	place_on = {"default:dry_dirt_with_dry_grass"},
	sidelen = 16,
	fill_ratio = 0.005,	
	biomes = {"grassland"},
	spawn_by = {"default:dirt_with_grass"},
        num_spawn_by = 2,	
	y_min = 1,
	y_max = 31000,
	decoration = "btmt:potato_8",
})
