Compare commits
	
		
			1 Commits
		
	
	
		
			nalc-1.2.0
			...
			7f3a91c0d0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7f3a91c0d0 | 
| @@ -13,11 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t | ||||
|  | ||||
| ### Changelog: | ||||
|  | ||||
| - 1.45 - Dirt and Hoes are more in line with default by using dry/wet/base | ||||
| options, onion soup added (thanks edcrypt), Added apple pie, added wild cotton to savanna | ||||
| - 1.44 - Added 'farming_stage_length' in mod settings for speed of crop growth, also thanks to TheDarkTiger for translation updates | ||||
| - 1.43 - Scythe works on use instead of right-click, added seed=1 groups to actual seeds and seed=2 group for plantable food items. | ||||
| - 1.42 - Soil needs water to be present within 3 blocks horizontally and 1 below to make wet soil, Jack 'o Lanterns now check protection, add chocolate block. | ||||
| - 1.42 - Soil needs water to be present within 3 blocks horizontally and 1 below to make wet soil, Jack 'o Lanterns now check protection. | ||||
| - 1.41 - Each crop has it's own spawn rate (can be changed in farming.conf) | ||||
| - 1.40 - Added Mithril Scythe to quick harvest and replant crops on right-click.  Added Hoe's for MoreOres with Toolrank support. | ||||
| - 1.39 - Added Rice, Rye and Oats thanks to Ademants Grains mod.  Added Jaffa Cake and multigrain bread. | ||||
|   | ||||
							
								
								
									
										4
									
								
								api.txt
									
									
									
									
									
								
							
							
						
						| @@ -21,7 +21,7 @@ The farming API allows you to easily register plants and hoes. | ||||
|  | ||||
|  | ||||
| 	{ | ||||
| 		description = "My Hoe",                -- Description for tooltip | ||||
| 		description = "",                      -- Description for tooltip | ||||
| 		inventory_image = "unknown_item.png",  -- Image to be used as wield- and inventory image | ||||
| 		max_uses = 30,                         -- Uses until destroyed | ||||
| 		material = "",                         -- Material for recipes | ||||
| @@ -35,7 +35,7 @@ The farming API allows you to easily register plants and hoes. | ||||
| ### Plant definition | ||||
|  | ||||
| 	{ | ||||
| 		description = "My Plant",              -- Description of seed item | ||||
| 		description = "",                      -- Description of seed item | ||||
| 		inventory_image = "unknown_item.png",  -- Image to be used as seed's wield- and inventory image | ||||
| 		steps = 8,                             -- How many steps the plant has to grow, until it can be harvested | ||||
| 		-- ^ Always provide a plant texture for each step, format: modname_plantname_i.png (i = stepnumber) | ||||
|   | ||||
| @@ -1,6 +1,4 @@ | ||||
|  | ||||
| local S = farming.intllib | ||||
|  | ||||
| --= Helpers | ||||
|  | ||||
| local eth = minetest.get_modpath("ethereal") | ||||
| @@ -31,7 +29,7 @@ if eth then | ||||
| 	alias("farming_plus:banana", "ethereal:banana") | ||||
| else | ||||
| 	minetest.register_node(":ethereal:banana", { | ||||
| 		description = S("Banana"), | ||||
| 		description = "Banana", | ||||
| 		drawtype = "torchlike", | ||||
| 		tiles = {"banana_single.png"}, | ||||
| 		inventory_image = "banana_single.png", | ||||
| @@ -49,7 +47,7 @@ else | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_node(":ethereal:bananaleaves", { | ||||
| 		description = S("Banana Leaves"), | ||||
| 		description = "Banana Leaves", | ||||
| 		tiles = {"banana_leaf.png"}, | ||||
| 		inventory_image = "banana_leaf.png", | ||||
| 		wield_image = "banana_leaf.png", | ||||
| @@ -89,7 +87,7 @@ if eth then | ||||
| 	alias("farming_plus:orange_seed", "ethereal:orange_tree_sapling") | ||||
| else | ||||
| 	minetest.register_node(":ethereal:orange", { | ||||
| 		description = S("Orange"), | ||||
| 		description = "Orange", | ||||
| 		drawtype = "plantlike", | ||||
| 		tiles = {"farming_orange.png"}, | ||||
| 		inventory_image = "farming_orange.png", | ||||
| @@ -147,7 +145,7 @@ if eth then | ||||
| 	alias("farming_plus:strawberry", "ethereal:strawberry_7") | ||||
| else | ||||
| 	minetest.register_craftitem(":ethereal:strawberry", { | ||||
| 		description = S("Strawberry"), | ||||
| 		description = "Strawberry", | ||||
| 		inventory_image = "strawberry.png", | ||||
| 		wield_image = "strawberry.png", | ||||
| 		groups = {food_strawberry = 1, flammable = 2}, | ||||
|   | ||||
| @@ -75,8 +75,8 @@ minetest.register_node("farming:barley_4", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_barley_5.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:barley"}, rarity = 2}, | ||||
| 		{items = {"farming:seed_barley"}, rarity = 2}, | ||||
| 		{items = {'farming:barley'}, rarity = 2}, | ||||
| 		{items = {'farming:seed_barley'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:barley_5", table.copy(crop_def)) | ||||
| @@ -85,8 +85,8 @@ minetest.register_node("farming:barley_5", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_barley_6.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:barley"}, rarity = 2}, | ||||
| 		{items = {"farming:seed_barley"}, rarity = 1}, | ||||
| 		{items = {'farming:barley'}, rarity = 2}, | ||||
| 		{items = {'farming:seed_barley'}, rarity = 1}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:barley_6", table.copy(crop_def)) | ||||
| @@ -96,10 +96,10 @@ crop_def.tiles = {"farming_barley_7.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:barley"}, rarity = 1}, | ||||
| 		{items = {"farming:barley"}, rarity = 3}, | ||||
| 		{items = {"farming:seed_barley"}, rarity = 1}, | ||||
| 		{items = {"farming:seed_barley"}, rarity = 3}, | ||||
| 		{items = {'farming:barley'}, rarity = 1}, | ||||
| 		{items = {'farming:barley'}, rarity = 3}, | ||||
| 		{items = {'farming:seed_barley'}, rarity = 1}, | ||||
| 		{items = {'farming:seed_barley'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:barley_7", table.copy(crop_def)) | ||||
|   | ||||
| @@ -27,7 +27,7 @@ local function place_beans(itemstack, placer, pointed_thing, plantname) | ||||
| 	-- am I right-clicking on something that has a custom on_place set? | ||||
| 	-- thanks to Krock for helping with this issue :) | ||||
| 	local def = minetest.registered_nodes[under.name] | ||||
| 	if placer and itemstack and def and def.on_rightclick then | ||||
| 	if placer and def and def.on_rightclick then | ||||
| 		return def.on_rightclick(pt.under, under, placer, itemstack) | ||||
| 	end | ||||
|  | ||||
| @@ -72,7 +72,7 @@ end | ||||
| minetest.register_craftitem("farming:beans", { | ||||
| 	description = S("Green Beans"), | ||||
| 	inventory_image = "farming_beans.png", | ||||
| 	groups = {seed = 2, food_beans = 1, flammable = 2}, | ||||
| 	groups = {food_beans = 1, flammable = 2}, | ||||
| 	on_use = minetest.item_eat(1), | ||||
|  | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| @@ -84,7 +84,7 @@ minetest.register_craftitem("farming:beans", { | ||||
| minetest.register_craft({ | ||||
| 	output = "dye:green", | ||||
| 	recipe = { | ||||
| 		{"farming:beans"}, | ||||
| 		{'farming:beans'}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -162,9 +162,9 @@ minetest.register_node("farming:beanpole", { | ||||
| minetest.register_craft({ | ||||
| 	output = "farming:beanpole", | ||||
| 	recipe = { | ||||
| 		{"", "", ""}, | ||||
| 		{"default:stick", "", "default:stick"}, | ||||
| 		{"default:stick", "", "default:stick"}, | ||||
| 		{'', '', ''}, | ||||
| 		{'default:stick', '', 'default:stick'}, | ||||
| 		{'default:stick', '', 'default:stick'}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -185,7 +185,7 @@ local crop_def = { | ||||
| 	sunlight_propagates = true, | ||||
| 	drop = { | ||||
| 		items = { | ||||
| 			{items = {"farming:beanpole"}, rarity = 1}, | ||||
| 			{items = {'farming:beanpole'}, rarity = 1}, | ||||
| 		} | ||||
| 	}, | ||||
| 	selection_box = farming.select, | ||||
| @@ -216,10 +216,10 @@ crop_def.tiles = {"farming_beanpole_5.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:beanpole"}, rarity = 1}, | ||||
| 		{items = {"farming:beans 3"}, rarity = 1}, | ||||
| 		{items = {"farming:beans 2"}, rarity = 2}, | ||||
| 		{items = {"farming:beans 2"}, rarity = 3}, | ||||
| 		{items = {'farming:beanpole'}, rarity = 1}, | ||||
| 		{items = {'farming:beans 3'}, rarity = 1}, | ||||
| 		{items = {'farming:beans 2'}, rarity = 2}, | ||||
| 		{items = {'farming:beans 2'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:beanpole_5", table.copy(crop_def)) | ||||
| @@ -244,9 +244,9 @@ minetest.register_node("farming:beanbush", { | ||||
| 	sunlight_propagates = true, | ||||
| 	drop = { | ||||
| 		items = { | ||||
| 			{items = {"farming:beans 1"}, rarity = 1}, | ||||
| 			{items = {"farming:beans 1"}, rarity = 2}, | ||||
| 			{items = {"farming:beans 1"}, rarity = 3}, | ||||
| 			{items = {'farming:beans 1'}, rarity = 1}, | ||||
| 			{items = {'farming:beans 1'}, rarity = 2}, | ||||
| 			{items = {'farming:beans 1'}, rarity = 3}, | ||||
| 		} | ||||
| 	}, | ||||
| 	selection_box = farming.select, | ||||
|   | ||||
| @@ -5,7 +5,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:beetroot", { | ||||
| 	description = S("Beetroot"), | ||||
| 	inventory_image = "farming_beetroot.png", | ||||
| 	groups = {seed = 2, food_beetroot = 1, flammable = 2}, | ||||
| 	groups = {food_beetroot = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:beetroot_1") | ||||
| 	end, | ||||
| @@ -76,10 +76,10 @@ crop_def.tiles = {"farming_beetroot_5.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	max_items = 4, items = { | ||||
| 		{items = {"farming:beetroot"}, rarity = 1}, | ||||
| 		{items = {"farming:beetroot"}, rarity = 2}, | ||||
| 		{items = {"farming:beetroot"}, rarity = 3}, | ||||
| 		{items = {"farming:beetroot"}, rarity = 4}, | ||||
| 		{items = {'farming:beetroot'}, rarity = 1}, | ||||
| 		{items = {'farming:beetroot'}, rarity = 2}, | ||||
| 		{items = {'farming:beetroot'}, rarity = 3}, | ||||
| 		{items = {'farming:beetroot'}, rarity = 4}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:beetroot_5", table.copy(crop_def)) | ||||
|   | ||||
| @@ -5,8 +5,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:blueberries", { | ||||
| 	description = S("Blueberries"), | ||||
| 	inventory_image = "farming_blueberries.png", | ||||
| 	groups = {seed = 2, food_blueberries = 1, food_blueberry = 1, | ||||
| 			food_berry = 1, flammable = 2}, | ||||
| 	groups = {food_blueberries = 1, food_blueberry = 1, food_berry = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:blueberry_1") | ||||
| 	end, | ||||
| @@ -79,9 +78,9 @@ crop_def.tiles = {"farming_blueberry_4.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:blueberries 2"}, rarity = 1}, | ||||
| 		{items = {"farming:blueberries"}, rarity = 2}, | ||||
| 		{items = {"farming:blueberries"}, rarity = 3}, | ||||
| 		{items = {'farming:blueberries 2'}, rarity = 1}, | ||||
| 		{items = {'farming:blueberries'}, rarity = 2}, | ||||
| 		{items = {'farming:blueberries'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:blueberry_4", table.copy(crop_def)) | ||||
|   | ||||
| @@ -10,7 +10,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:carrot", { | ||||
| 	description = S("Carrot"), | ||||
| 	inventory_image = "farming_carrot.png", | ||||
| 	groups = {seed = 2, food_carrot = 1, flammable = 2}, | ||||
| 	groups = {food_carrot = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:carrot_1") | ||||
| 	end, | ||||
| @@ -97,8 +97,8 @@ minetest.register_node("farming:carrot_6", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_carrot_7.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:carrot"}, rarity = 1}, | ||||
| 		{items = {"farming:carrot 2"}, rarity = 3}, | ||||
| 		{items = {'farming:carrot'}, rarity = 1}, | ||||
| 		{items = {'farming:carrot 2'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:carrot_7", table.copy(crop_def)) | ||||
| @@ -108,8 +108,8 @@ crop_def.tiles = {"farming_carrot_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:carrot 2"}, rarity = 1}, | ||||
| 		{items = {"farming:carrot 3"}, rarity = 2}, | ||||
| 		{items = {'farming:carrot 2'}, rarity = 1}, | ||||
| 		{items = {'farming:carrot 3'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:carrot_8", table.copy(crop_def)) | ||||
|   | ||||
| @@ -5,7 +5,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:chili_pepper", { | ||||
| 	description = S("Chili Pepper"), | ||||
| 	inventory_image = "farming_chili_pepper.png", | ||||
| 	groups = {seed = 2, food_chili_pepper = 1, flammable = 4}, | ||||
| 	groups = {food_chili_pepper = 1, flammable = 4}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:chili_1") | ||||
| 	end, | ||||
| @@ -32,7 +32,7 @@ minetest.register_craft({ | ||||
| minetest.register_craft({ | ||||
| 	output = "dye:red", | ||||
| 	recipe = { | ||||
| 		{"farming:chili_pepper"}, | ||||
| 		{'farming:chili_pepper'}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -85,8 +85,8 @@ crop_def.tiles = {"farming_chili_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:chili_pepper 3"}, rarity = 1}, | ||||
| 		{items = {"farming:chili_pepper 2"}, rarity = 2}, | ||||
| 		{items = {'farming:chili_pepper 3'}, rarity = 1}, | ||||
| 		{items = {'farming:chili_pepper 2'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:chili_8", table.copy(crop_def)) | ||||
|   | ||||
| @@ -21,7 +21,7 @@ local function place_cocoa(itemstack, placer, pointed_thing, plantname) | ||||
| 	-- am I right-clicking on something that has a custom on_place set? | ||||
| 	-- thanks to Krock for helping with this issue :) | ||||
| 	local def = minetest.registered_nodes[under.name] | ||||
| 	if placer and itemstack and def and def.on_rightclick then | ||||
| 	if placer and def and def.on_rightclick then | ||||
| 		return def.on_rightclick(pt.under, under, placer, itemstack) | ||||
| 	end | ||||
|  | ||||
| @@ -67,7 +67,7 @@ end | ||||
| minetest.register_craftitem("farming:cocoa_beans", { | ||||
| 	description = S("Cocoa Beans"), | ||||
| 	inventory_image = "farming_cocoa_beans.png", | ||||
| 	groups = {seed = 2, food_cocoa = 1, flammable = 2}, | ||||
| 	groups = {food_cocoa = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return place_cocoa(itemstack, placer, pointed_thing, "farming:cocoa_1") | ||||
| 	end, | ||||
| @@ -108,31 +108,6 @@ minetest.register_craft( { | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| -- chocolate block | ||||
| minetest.register_node("farming:chocolate_block", { | ||||
| 	description = S("Chocolate Block"), | ||||
| 	tiles = {"farming_chocolate_block.png"}, | ||||
| 	is_ground_content = false, | ||||
| 	groups = {cracky = 2, oddly_breakable_by_hand = 2}, | ||||
| 	sounds = default.node_sound_stone_defaults(), | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "farming:chocolate_block", | ||||
| 	recipe = { | ||||
| 		{"farming:chocolate_dark", "farming:chocolate_dark", "farming:chocolate_dark"}, | ||||
| 		{"farming:chocolate_dark", "farming:chocolate_dark", "farming:chocolate_dark"}, | ||||
| 		{"farming:chocolate_dark", "farming:chocolate_dark", "farming:chocolate_dark"}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "farming:chocolate_dark 9", | ||||
| 	recipe = { | ||||
| 		{"farming:chocolate_block"}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| -- cocoa definition | ||||
| local crop_def = { | ||||
| 	drawtype = "plantlike", | ||||
| @@ -141,7 +116,7 @@ local crop_def = { | ||||
| 	walkable = false, | ||||
| 	drop = { | ||||
| 		items = { | ||||
| 			{items = {"farming:cocoa_beans 1"}, rarity = 2}, | ||||
| 			{items = {'farming:cocoa_beans 1'}, rarity = 2}, | ||||
| 		} | ||||
| 	}, | ||||
| 	selection_box = { | ||||
| @@ -172,7 +147,7 @@ minetest.register_node("farming:cocoa_2", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_cocoa_3.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:cocoa_beans 1"}, rarity = 1}, | ||||
| 		{items = {'farming:cocoa_beans 1'}, rarity = 1}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:cocoa_3", table.copy(crop_def)) | ||||
| @@ -183,9 +158,9 @@ crop_def.groups.growing = 0 | ||||
| crop_def.growth_check = nil | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:cocoa_beans 2"}, rarity = 1}, | ||||
| 		{items = {"farming:cocoa_beans 1"}, rarity = 2}, | ||||
| 		{items = {"farming:cocoa_beans 1"}, rarity = 4}, | ||||
| 		{items = {'farming:cocoa_beans 2'}, rarity = 1}, | ||||
| 		{items = {'farming:cocoa_beans 1'}, rarity = 2}, | ||||
| 		{items = {'farming:cocoa_beans 1'}, rarity = 4}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:cocoa_4", table.copy(crop_def)) | ||||
|   | ||||
| @@ -5,7 +5,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:coffee_beans", { | ||||
| 	description = S("Coffee Beans"), | ||||
| 	inventory_image = "farming_coffee_beans.png", | ||||
| 	groups = {seed = 2, food_coffee = 1, flammable = 2}, | ||||
| 	groups = {food_coffee = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:coffee_1") | ||||
| 	end, | ||||
| @@ -80,9 +80,9 @@ crop_def.tiles = {"farming_coffee_5.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:coffee_beans 2"}, rarity = 1}, | ||||
| 		{items = {"farming:coffee_beans 2"}, rarity = 2}, | ||||
| 		{items = {"farming:coffee_beans 2"}, rarity = 3}, | ||||
| 		{items = {'farming:coffee_beans 2'}, rarity = 1}, | ||||
| 		{items = {'farming:coffee_beans 2'}, rarity = 2}, | ||||
| 		{items = {'farming:coffee_beans 2'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:coffee_5", table.copy(crop_def)) | ||||
|   | ||||
| @@ -10,7 +10,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:corn", { | ||||
| 	description = S("Corn"), | ||||
| 	inventory_image = "farming_corn.png", | ||||
| 	groups = {seed = 2, food_corn = 1, flammable = 2}, | ||||
| 	groups = {food_corn = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:corn_1") | ||||
| 	end, | ||||
| @@ -74,7 +74,6 @@ minetest.register_craft( { | ||||
| 	recipe = { | ||||
| 		{ "vessels:glass_bottle", "group:food_corn", "group:food_corn"}, | ||||
| 		{ "group:food_corn", "group:food_corn", "group:food_corn"}, | ||||
| 		{ "group:food_corn", "group:food_corn", "group:food_corn"}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -130,9 +129,9 @@ minetest.register_node("farming:corn_6", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_corn_7.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:corn"}, rarity = 1}, | ||||
| 		{items = {"farming:corn"}, rarity = 2}, | ||||
| 		{items = {"farming:corn"}, rarity = 3}, | ||||
| 		{items = {'farming:corn'}, rarity = 1}, | ||||
| 		{items = {'farming:corn'}, rarity = 2}, | ||||
| 		{items = {'farming:corn'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:corn_7", table.copy(crop_def)) | ||||
| @@ -142,9 +141,9 @@ crop_def.tiles = {"farming_corn_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:corn 2"}, rarity = 1}, | ||||
| 		{items = {"farming:corn 2"}, rarity = 2}, | ||||
| 		{items = {"farming:corn 2"}, rarity = 2}, | ||||
| 		{items = {'farming:corn 2'}, rarity = 1}, | ||||
| 		{items = {'farming:corn 2'}, rarity = 2}, | ||||
| 		{items = {'farming:corn 2'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:corn_8", table.copy(crop_def)) | ||||
|   | ||||
| @@ -1,27 +1,6 @@ | ||||
|  | ||||
| local S = farming.intllib | ||||
|  | ||||
| -- wild cotton as a source of cotton seed | ||||
| minetest.register_node("farming:cotton_wild", { | ||||
| 	description = S("Wild Cotton"), | ||||
| 	drawtype = "plantlike", | ||||
| 	waving = 1, | ||||
| 	tiles = {"farming_cotton_wild.png"}, | ||||
| 	inventory_image = "farming_cotton_wild.png", | ||||
| 	wield_image = "farming_cotton_wild.png", | ||||
| 	paramtype = "light", | ||||
| 	sunlight_propagates = true, | ||||
| 	walkable = false, | ||||
| 	buildable_to = true, | ||||
| 	groups = {snappy = 3, attached_node = 1, flammable = 4}, | ||||
| 	drop = "farming:seed_cotton", | ||||
| 	sounds = default.node_sound_leaves_defaults(), | ||||
| 	selection_box = { | ||||
| 		type = "fixed", | ||||
| 		fixed = {-6 / 16, -8 / 16, -6 / 16, 6 / 16, 5 / 16, 6 / 16}, | ||||
| 	}, | ||||
| }) | ||||
|  | ||||
| -- cotton seeds | ||||
| minetest.register_node("farming:seed_cotton", { | ||||
| 	description = S("Cotton Seed"), | ||||
|   | ||||
| @@ -10,7 +10,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:cucumber", { | ||||
| 	description = S("Cucumber"), | ||||
| 	inventory_image = "farming_cucumber.png", | ||||
| 	groups = {seed = 2, food_cucumber = 1, flammable = 2}, | ||||
| 	groups = {food_cucumber = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:cucumber_1") | ||||
| 	end, | ||||
| @@ -49,8 +49,8 @@ crop_def.tiles = {"farming_cucumber_4.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:cucumber 2"}, rarity = 1}, | ||||
| 		{items = {"farming:cucumber 2"}, rarity = 2}, | ||||
| 		{items = {'farming:cucumber 2'}, rarity = 1}, | ||||
| 		{items = {'farming:cucumber 2'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:cucumber_4", table.copy(crop_def)) | ||||
|   | ||||
| @@ -11,7 +11,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:garlic_clove", { | ||||
| 	description = S("Garlic clove"), | ||||
| 	inventory_image = "crops_garlic_clove.png", | ||||
| 	groups = {seed = 2, food_garlic_clove = 1, flammable = 3}, | ||||
| 	groups = {food_garlic_clove = 1, flammable = 3}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:garlic_1") | ||||
| 	end, | ||||
| @@ -118,11 +118,11 @@ crop_def.tiles = {"crops_garlic_plant_5.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	max_items = 5, items = { | ||||
| 		{items = {"farming:garlic"}, rarity = 1}, | ||||
| 		{items = {"farming:garlic"}, rarity = 1}, | ||||
| 		{items = {"farming:garlic"}, rarity = 1}, | ||||
| 		{items = {"farming:garlic"}, rarity = 2}, | ||||
| 		{items = {"farming:garlic"}, rarity = 5}, | ||||
| 		{items = {'farming:garlic'}, rarity = 1}, | ||||
| 		{items = {'farming:garlic'}, rarity = 1}, | ||||
| 		{items = {'farming:garlic'}, rarity = 1}, | ||||
| 		{items = {'farming:garlic'}, rarity = 2}, | ||||
| 		{items = {'farming:garlic'}, rarity = 5}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:garlic_5", table.copy(crop_def)) | ||||
|   | ||||
| @@ -22,7 +22,7 @@ local function place_grapes(itemstack, placer, pointed_thing, plantname) | ||||
| 	-- am I right-clicking on something that has a custom on_place set? | ||||
| 	-- thanks to Krock for helping with this issue :) | ||||
| 	local def = minetest.registered_nodes[under.name] | ||||
| 	if placer and itemstack and def and def.on_rightclick then | ||||
| 	if placer and def and def.on_rightclick then | ||||
| 		return def.on_rightclick(pt.under, under, placer, itemstack) | ||||
| 	end | ||||
|  | ||||
| @@ -68,7 +68,7 @@ minetest.register_craftitem("farming:grapes", { | ||||
| 	description = S("Grapes"), | ||||
| 	inventory_image = "farming_grapes.png", | ||||
| 	on_use = minetest.item_eat(2), | ||||
| 	groups = {seed = 2, food_grapes = 1, flammable = 3}, | ||||
| 	groups = {food_grapes = 1, flammable = 3}, | ||||
|  | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return place_grapes(itemstack, placer, pointed_thing, "farming:grapes_1") | ||||
| @@ -79,7 +79,7 @@ minetest.register_craftitem("farming:grapes", { | ||||
| minetest.register_craft({ | ||||
| 	output = "dye:violet", | ||||
| 	recipe = { | ||||
| 		{"farming:grapes"}, | ||||
| 		{'farming:grapes'}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -157,9 +157,9 @@ minetest.register_node("farming:trellis", { | ||||
| minetest.register_craft({ | ||||
| 	output = "farming:trellis", | ||||
| 	recipe = { | ||||
| 		{"default:stick", "default:stick", "default:stick"}, | ||||
| 		{"default:stick", "default:stick", "default:stick"}, | ||||
| 		{"default:stick", "default:stick", "default:stick"}, | ||||
| 		{'default:stick', 'default:stick', 'default:stick'}, | ||||
| 		{'default:stick', 'default:stick', 'default:stick'}, | ||||
| 		{'default:stick', 'default:stick', 'default:stick'}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -180,7 +180,7 @@ local crop_def = { | ||||
| 	sunlight_propagates = true, | ||||
| 	drop = { | ||||
| 		items = { | ||||
| 			{items = {"farming:trellis"}, rarity = 1}, | ||||
| 			{items = {'farming:trellis'}, rarity = 1}, | ||||
| 		} | ||||
| 	}, | ||||
| 	selection_box = farming.select, | ||||
| @@ -223,10 +223,10 @@ crop_def.tiles = {"farming_grapes_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:trellis"}, rarity = 1}, | ||||
| 		{items = {"farming:grapes 3"}, rarity = 1}, | ||||
| 		{items = {"farming:grapes 1"}, rarity = 2}, | ||||
| 		{items = {"farming:grapes 1"}, rarity = 3}, | ||||
| 		{items = {'farming:trellis'}, rarity = 1}, | ||||
| 		{items = {'farming:grapes 3'}, rarity = 1}, | ||||
| 		{items = {'farming:grapes 1'}, rarity = 2}, | ||||
| 		{items = {'farming:grapes 1'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:grapes_8", table.copy(crop_def)) | ||||
| @@ -251,9 +251,9 @@ minetest.register_node("farming:grapebush", { | ||||
| 	sunlight_propagates = true, | ||||
| 	drop = { | ||||
| 		items = { | ||||
| 			{items = {"farming:grapes 1"}, rarity = 1}, | ||||
| 			{items = {"farming:grapes 1"}, rarity = 2}, | ||||
| 			{items = {"farming:grapes 1"}, rarity = 3}, | ||||
| 			{items = {'farming:grapes 1'}, rarity = 1}, | ||||
| 			{items = {'farming:grapes 1'}, rarity = 2}, | ||||
| 			{items = {'farming:grapes 1'}, rarity = 3}, | ||||
| 		} | ||||
| 	}, | ||||
| 	selection_box = farming.select, | ||||
|   | ||||
| @@ -134,7 +134,7 @@ end | ||||
|  | ||||
| -- paper | ||||
| minetest.register_craft( { | ||||
| 	output = "default:paper 3", | ||||
| 	output = "default:paper", | ||||
| 	recipe = { | ||||
| 		{"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"}, | ||||
| 	} | ||||
| @@ -142,7 +142,7 @@ minetest.register_craft( { | ||||
|  | ||||
| -- string | ||||
| minetest.register_craft( { | ||||
| 	output = "farming:cotton 3", | ||||
| 	output = "farming:cotton", | ||||
| 	recipe = { | ||||
| 		{"farming:hemp_fibre"}, | ||||
| 		{"farming:hemp_fibre"}, | ||||
| @@ -219,8 +219,8 @@ minetest.register_node("farming:hemp_5", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_hemp_6.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:hemp_leaf"}, rarity = 2}, | ||||
| 		{items = {"farming:seed_hemp"}, rarity = 1}, | ||||
| 		{items = {'farming:hemp_leaf'}, rarity = 2}, | ||||
| 		{items = {'farming:seed_hemp'}, rarity = 1}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:hemp_6", table.copy(crop_def)) | ||||
| @@ -229,10 +229,10 @@ minetest.register_node("farming:hemp_6", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_hemp_7.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:hemp_leaf"}, rarity = 1}, | ||||
| 		{items = {"farming:hemp_leaf"}, rarity = 3}, | ||||
| 		{items = {"farming:seed_hemp"}, rarity = 1}, | ||||
| 		{items = {"farming:seed_hemp"}, rarity = 3}, | ||||
| 		{items = {'farming:hemp_leaf'}, rarity = 1}, | ||||
| 		{items = {'farming:hemp_leaf'}, rarity = 3}, | ||||
| 		{items = {'farming:seed_hemp'}, rarity = 1}, | ||||
| 		{items = {'farming:seed_hemp'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:hemp_7", table.copy(crop_def)) | ||||
| @@ -242,10 +242,10 @@ crop_def.tiles = {"farming_hemp_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:hemp_leaf 2"}, rarity = 1}, | ||||
| 		{items = {"farming:hemp_leaf"}, rarity = 2}, | ||||
| 		{items = {"farming:seed_hemp"}, rarity = 1}, | ||||
| 		{items = {"farming:seed_hemp"}, rarity = 2}, | ||||
| 		{items = {'farming:hemp_leaf 2'}, rarity = 1}, | ||||
| 		{items = {'farming:hemp_leaf'}, rarity = 2}, | ||||
| 		{items = {'farming:seed_hemp'}, rarity = 1}, | ||||
| 		{items = {'farming:seed_hemp'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:hemp_8", table.copy(crop_def)) | ||||
|   | ||||
| @@ -5,7 +5,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:melon_slice", { | ||||
| 	description = S("Melon Slice"), | ||||
| 	inventory_image = "farming_melon_slice.png", | ||||
| 	groups = {seed = 2, food_melon_slice = 1, flammable = 3}, | ||||
| 	groups = {food_melon_slice = 1, flammable = 3}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:melon_1") | ||||
| 	end, | ||||
| @@ -78,7 +78,7 @@ crop_def.tiles = {"farming_melon_top.png", "farming_melon_top.png", "farming_mel | ||||
| crop_def.selection_box = {-.5, -.5, -.5, .5, .5, .5} | ||||
| crop_def.walkable = true | ||||
| crop_def.groups = { | ||||
| 	food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1, | ||||
| 	food_melon = 1, snappy = 1, oddly_breakable_by_hand = 1, | ||||
| 	flammable = 2, plant = 1 | ||||
| } | ||||
| --crop_def.drop = "farming:melon_slice 9" | ||||
|   | ||||
| @@ -1,91 +0,0 @@ | ||||
|  | ||||
| local S = farming.intllib | ||||
|  | ||||
| -- mint seed | ||||
| minetest.register_craftitem("farming:seed_mint", { | ||||
| 	description = S("Mint Seeds"), | ||||
| 	inventory_image = "farming_mint_seeds.png", | ||||
| 	groups = {seed = 2, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed( | ||||
| 				itemstack, placer, pointed_thing, "farming:mint_1") | ||||
| 	end | ||||
| }) | ||||
|  | ||||
| -- mint leaf | ||||
| minetest.register_craftitem("farming:mint_leaf", { | ||||
| 	description = S("Mint Leaf"), | ||||
| 	inventory_image = "farming_mint_leaf.png", | ||||
| 	groups = {food_mint = 1, flammable = 4}, | ||||
| }) | ||||
|  | ||||
| -- mint tea | ||||
| minetest.register_craftitem("farming:mint_tea", { | ||||
| 	description = S("Mint Tea"), | ||||
| 	inventory_image = "farming_mint_tea.png", | ||||
| 	on_use = minetest.item_eat(2, "vessels:drinking_glass"), | ||||
| 	groups = {flammable = 4}, | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "farming:mint_tea", | ||||
| 	type = "shapeless", | ||||
| 	recipe = { | ||||
| 		"vessels:drinking_glass", "group:food_mint", | ||||
| 		"group:food_mint", "group:food_mint", | ||||
| 		"farming:juicer", "bucket:bucket_water" | ||||
| 	}, | ||||
| 	replacements = { | ||||
| 		{"group:food_juicer", "farming:juicer"}, | ||||
| 		{"bucket:bucket_water", "bucket:bucket_empty"}, | ||||
| 	}, | ||||
| }) | ||||
|  | ||||
| -- mint definition | ||||
| local crop_def = { | ||||
| 	drawtype = "plantlike", | ||||
| 	tiles = {"farming_mint_1.png"}, | ||||
| 	paramtype = "light", | ||||
| 	walkable = false, | ||||
| 	buildable_to = true, | ||||
| 	drop = "", | ||||
| 	selection_box = farming.select, | ||||
| 	groups = { | ||||
| 		snappy = 3, flammable = 2, plant = 1, attached_node = 1, | ||||
| 		not_in_creative_inventory = 1, growing = 1 | ||||
| 	}, | ||||
| 	sounds = default.node_sound_leaves_defaults() | ||||
| } | ||||
|  | ||||
| -- stage 1 | ||||
| minetest.register_node("farming:mint_1", table.copy(crop_def)) | ||||
|  | ||||
| -- stage 2 | ||||
| crop_def.tiles = {"farming_mint_2.png"} | ||||
| minetest.register_node("farming:mint_2", table.copy(crop_def)) | ||||
|  | ||||
| -- stage 3 | ||||
| crop_def.tiles = {"farming_mint_3.png"} | ||||
| minetest.register_node("farming:mint_3", table.copy(crop_def)) | ||||
|  | ||||
| -- stage 4 (final) | ||||
| crop_def.tiles = {"farming_mint_4.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:mint_leaf 2"}, rarity = 1}, | ||||
| 		{items = {"farming:mint_leaf 2"}, rarity = 2}, | ||||
| 		{items = {"farming:seed_mint 1"}, rarity = 1}, | ||||
| 		{items = {"farming:seed_mint 2"}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:mint_4", table.copy(crop_def)) | ||||
|  | ||||
| -- add to registered_plants | ||||
| farming.registered_plants["farming:mint"] = { | ||||
| 	crop = "farming:mint", | ||||
| 	seed = "farming:seed_mint", | ||||
| 	minlight = 13, | ||||
| 	maxlight = 15, | ||||
| 	steps = 4 | ||||
| } | ||||
| @@ -7,36 +7,17 @@ | ||||
|  | ||||
| local S = farming.intllib | ||||
|  | ||||
| -- onion | ||||
| -- potato | ||||
| minetest.register_craftitem("farming:onion", { | ||||
| 	description = S("Onion"), | ||||
| 	inventory_image = "crops_onion.png", | ||||
| 	groups = {seed = 2, food_onion = 1, flammable = 3}, | ||||
| 	groups = {food_onion = 1, flammable = 3}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:onion_1") | ||||
| 	end, | ||||
| 	on_use = minetest.item_eat(1), | ||||
| }) | ||||
|  | ||||
| -- onion soup | ||||
| minetest.register_craftitem("farming:onion_soup", { | ||||
| 	description = S("Onion Soup"), | ||||
| 	inventory_image = "farming_onion_soup.png", | ||||
| 	groups = {flammable = 2}, | ||||
| 	on_use = minetest.item_eat(6, "farming:bowl"), | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	type = "shapeless", | ||||
| 	output = "farming:onion_soup", | ||||
| 	recipe = { | ||||
| 		"group:food_onion", "group:food_onion", "group:food_pot", | ||||
| 		"group:food_onion", "group:food_onion", | ||||
| 		"group:food_onion", "group:food_onion", "group:food_bowl" | ||||
| 	}, | ||||
| 	replacements = {{"farming:pot", "farming:pot"}} | ||||
| }) | ||||
|  | ||||
| -- crop definition | ||||
| local crop_def = { | ||||
| 	drawtype = "plantlike", | ||||
| @@ -77,11 +58,11 @@ crop_def.tiles = {"crops_onion_plant_5.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	max_items = 5, items = { | ||||
| 		{items = {"farming:onion"}, rarity = 1}, | ||||
| 		{items = {"farming:onion"}, rarity = 1}, | ||||
| 		{items = {"farming:onion"}, rarity = 2}, | ||||
| 		{items = {"farming:onion"}, rarity = 2}, | ||||
| 		{items = {"farming:onion"}, rarity = 5}, | ||||
| 		{items = {'farming:onion'}, rarity = 1}, | ||||
| 		{items = {'farming:onion'}, rarity = 1}, | ||||
| 		{items = {'farming:onion'}, rarity = 2}, | ||||
| 		{items = {'farming:onion'}, rarity = 2}, | ||||
| 		{items = {'farming:onion'}, rarity = 5}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:onion_5", table.copy(crop_def)) | ||||
|   | ||||
| @@ -7,7 +7,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:pea_pod", { | ||||
| 	description = S("Pea Pod"), | ||||
| 	inventory_image = "farming_pea_pod.png", | ||||
| 	groups = {seed = 2, food_pea_pod = 1, flammable = 2}, | ||||
| 	groups = {food_pea_pod = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:pea_1") | ||||
| 	end | ||||
| @@ -79,10 +79,11 @@ crop_def.tiles = {"farming_pea_5.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	max_items = 5, items = { | ||||
| 		{items = {"farming:pea_pod"}, rarity = 1}, | ||||
| 		{items = {"farming:pea_pod"}, rarity = 2}, | ||||
| 		{items = {"farming:pea_pod"}, rarity = 3}, | ||||
| 		{items = {"farming:pea_pod"}, rarity = 5}, | ||||
| 		{items = {'farming:pea_pod'}, rarity = 1}, | ||||
| 		{items = {'farming:pea_pod'}, rarity = 2}, | ||||
| 		{items = {'farming:pea_pod'}, rarity = 3}, | ||||
| 		{items = {'farming:pea_pod'}, rarity = 4}, | ||||
| 		{items = {'farming:pea_pod'}, rarity = 5}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:pea_5", table.copy(crop_def)) | ||||
|   | ||||
| @@ -11,7 +11,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:peppercorn", { | ||||
| 	description = S("Peppercorn"), | ||||
| 	inventory_image = "crops_peppercorn.png", | ||||
| 	groups = {seed = 1, food_peppercorn = 1, flammable = 3}, | ||||
| 	groups = {food_peppercorn = 1, flammable = 3}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:pepper_1") | ||||
| 	end, | ||||
| @@ -33,7 +33,7 @@ minetest.register_craft({ | ||||
|  | ||||
| -- ground pepper | ||||
| minetest.register_node("farming:pepper_ground", { | ||||
| 	description = S("Ground Pepper"), | ||||
| 	description = ("Ground Pepper"), | ||||
| 	inventory_image = "crops_pepper_ground.png", | ||||
| 	wield_image = "crops_pepper_ground.png", | ||||
| 	drawtype = "plantlike", | ||||
| @@ -98,9 +98,9 @@ crop_def.tiles = {"crops_pepper_plant_5.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	max_items = 2, items = { | ||||
| 		{items = {"farming:pepper 2"}, rarity = 1}, | ||||
| 		{items = {"farming:pepper"}, rarity = 2}, | ||||
| 		{items = {"farming:pepper"}, rarity = 3}, | ||||
| 		{items = {'farming:pepper 2'}, rarity = 1}, | ||||
| 		{items = {'farming:pepper'}, rarity = 2}, | ||||
| 		{items = {'farming:pepper'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:pepper_5", table.copy(crop_def)) | ||||
|   | ||||
| @@ -5,7 +5,6 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:pineapple_top", { | ||||
| 	description = S("Pineapple Top"), | ||||
| 	inventory_image = "farming_pineapple_top.png", | ||||
| 	groups = {seed = 2, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:pineapple_1") | ||||
| 	end, | ||||
| @@ -124,8 +123,8 @@ crop_def.tiles = {"farming_pineapple_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:pineapple"}, rarity = 1}, | ||||
| 		{items = {"farming:pineapple"}, rarity = 15}, | ||||
| 		{items = {'farming:pineapple'}, rarity = 1}, | ||||
| 		{items = {'farming:pineapple'}, rarity = 15}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:pineapple_8", table.copy(crop_def)) | ||||
|   | ||||
| @@ -10,7 +10,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:potato", { | ||||
| 	description = S("Potato"), | ||||
| 	inventory_image = "farming_potato.png", | ||||
| 	groups = {seed = 2, food_potato = 1, flammable = 2}, | ||||
| 	groups = {food_potato = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:potato_1") | ||||
| 	end, | ||||
| @@ -85,8 +85,8 @@ minetest.register_node("farming:potato_2", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_potato_3.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:potato"}, rarity = 1}, | ||||
| 		{items = {"farming:potato"}, rarity = 3}, | ||||
| 		{items = {'farming:potato'}, rarity = 1}, | ||||
| 		{items = {'farming:potato'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:potato_3", table.copy(crop_def)) | ||||
| @@ -96,8 +96,8 @@ crop_def.tiles = {"farming_potato_4.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:potato 2"}, rarity = 1}, | ||||
| 		{items = {"farming:potato 3"}, rarity = 2}, | ||||
| 		{items = {'farming:potato 2'}, rarity = 1}, | ||||
| 		{items = {'farming:potato 3'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:potato_4", table.copy(crop_def)) | ||||
|   | ||||
| @@ -9,7 +9,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:pumpkin_slice", { | ||||
| 	description = S("Pumpkin Slice"), | ||||
| 	inventory_image = "farming_pumpkin_slice.png", | ||||
| 	groups = {seed = 2, food_pumpkin_slice = 1, flammable = 2}, | ||||
| 	groups = {food_pumpkin_slice = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:pumpkin_1") | ||||
| 	end, | ||||
| @@ -88,7 +88,6 @@ minetest.register_craft({ | ||||
|  | ||||
| --- wooden scarecrow base | ||||
| minetest.register_node("farming:scarecrow_bottom", { | ||||
| 	description = S("Scarecrow Bottom"), | ||||
| 	paramtype = "light", | ||||
| 	sunlight_propagates = true, | ||||
| 	paramtype2 = "facedir", | ||||
| @@ -190,7 +189,7 @@ crop_def.tiles = {"farming_pumpkin_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:pumpkin_slice 9"}, rarity = 1}, | ||||
| 		{items = {'farming:pumpkin_slice 9'}, rarity = 1}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:pumpkin_8", table.copy(crop_def)) | ||||
| @@ -204,10 +203,9 @@ minetest.register_node("farming:pumpkin_8", { | ||||
| 		"farming_pumpkin_side.png" | ||||
| 	}, | ||||
| 	groups = { | ||||
| 		food_pumpkin = 1, choppy = 2, oddly_breakable_by_hand = 1, | ||||
| 		food_pumpkin = 1, choppy = 1, oddly_breakable_by_hand = 1, | ||||
| 		flammable = 2, plant = 1 | ||||
| 	}, | ||||
| 	drop = "farming:pumpkin_8", | ||||
| 	sounds = default.node_sound_wood_defaults(), | ||||
| }) | ||||
|  | ||||
|   | ||||
| @@ -5,8 +5,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:raspberries", { | ||||
| 	description = S("Raspberries"), | ||||
| 	inventory_image = "farming_raspberries.png", | ||||
| 	groups = {seed = 2, food_raspberries = 1, food_raspberry = 1, | ||||
| 			food_berry = 1, flammable = 2}, | ||||
| 	groups = {food_raspberries = 1, food_raspberry = 1, food_berry = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:raspberry_1") | ||||
| 	end, | ||||
| @@ -63,9 +62,9 @@ crop_def.tiles = {"farming_raspberry_4.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:raspberries 2"}, rarity = 1}, | ||||
| 		{items = {"farming:raspberries"}, rarity = 2}, | ||||
| 		{items = {"farming:raspberries"}, rarity = 3}, | ||||
| 		{items = {'farming:raspberries 2'}, rarity = 1}, | ||||
| 		{items = {'farming:raspberries'}, rarity = 2}, | ||||
| 		{items = {'farming:raspberries'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:raspberry_4", table.copy(crop_def)) | ||||
|   | ||||
| @@ -5,7 +5,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:rhubarb", { | ||||
| 	description = S("Rhubarb"), | ||||
| 	inventory_image = "farming_rhubarb.png", | ||||
| 	groups = {seed = 2, food_rhubarb = 1, flammable = 2}, | ||||
| 	groups = {food_rhubarb = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:rhubarb_1") | ||||
| 	end, | ||||
| @@ -58,9 +58,9 @@ crop_def.tiles = {"farming_rhubarb_3.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 	{items = {"farming:rhubarb 2"}, rarity = 1}, | ||||
| 		{items = {"farming:rhubarb"}, rarity = 2}, | ||||
| 		{items = {"farming:rhubarb"}, rarity = 3}, | ||||
| 	{items = {'farming:rhubarb 2'}, rarity = 1}, | ||||
| 		{items = {'farming:rhubarb'}, rarity = 2}, | ||||
| 		{items = {'farming:rhubarb'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:rhubarb_3", table.copy(crop_def)) | ||||
|   | ||||
| @@ -6,7 +6,7 @@ local S = farming.intllib | ||||
| -- Rye | ||||
|  | ||||
| farming.register_plant("farming:rye", { | ||||
| 	description = S("Rye seed"), | ||||
| 	description = "Rye seed", | ||||
| 	paramtype2 = "meshoptions", | ||||
| 	inventory_image = "farming_rye_seed.png", | ||||
| 	steps = 8, | ||||
| @@ -14,7 +14,6 @@ farming.register_plant("farming:rye", { | ||||
| }) | ||||
|  | ||||
| minetest.override_item("farming:rye", { | ||||
| 	description = S("Rye"), | ||||
| 	groups = {food_rye = 1, flammable = 4} | ||||
| }) | ||||
|  | ||||
| @@ -31,7 +30,7 @@ minetest.register_craft({ | ||||
| -- Oats | ||||
|  | ||||
| farming.register_plant("farming:oat", { | ||||
| 	description = S("Oat seed"), | ||||
| 	description = "Oat seed", | ||||
| 	paramtype2 = "meshoptions", | ||||
| 	inventory_image = "farming_oat_seed.png", | ||||
| 	steps = 8, | ||||
| @@ -39,7 +38,6 @@ farming.register_plant("farming:oat", { | ||||
| }) | ||||
|  | ||||
| minetest.override_item("farming:oat", { | ||||
| 	description = S("Oats"), | ||||
| 	groups = {food_oats = 1, flammable = 4} | ||||
| }) | ||||
|  | ||||
| @@ -56,7 +54,7 @@ minetest.register_craft({ | ||||
| -- Rice | ||||
|  | ||||
| farming.register_plant("farming:rice", { | ||||
| 	description = S("Rice grains"), | ||||
| 	description = "Rice grains", | ||||
| 	paramtype2 = "meshoptions", | ||||
| 	inventory_image = "farming_rice_seed.png", | ||||
| 	steps = 8, | ||||
| @@ -64,19 +62,18 @@ farming.register_plant("farming:rice", { | ||||
| }) | ||||
|  | ||||
| minetest.override_item("farming:rice", { | ||||
| 	description = S("Rice"), | ||||
| 	groups = {food_rice = 1, flammable = 4} | ||||
| }) | ||||
|  | ||||
| minetest.register_craftitem("farming:rice_bread", { | ||||
| 	description = S("Rice Bread"), | ||||
| 	description = "Rice Bread", | ||||
| 	inventory_image = "farming_rice_bread.png", | ||||
| 	on_use = minetest.item_eat(5), | ||||
| 	groups = {food_rice_bread = 1, flammable = 2}, | ||||
| }) | ||||
|  | ||||
| minetest.register_craftitem("farming:rice_flour", { | ||||
| 	description = S("Rice Flour"), | ||||
| 	description = "Rice Flour", | ||||
| 	inventory_image = "farming_rice_flour.png", | ||||
| 	groups = {food_rice_flour = 1, flammable = 1}, | ||||
| }) | ||||
|   | ||||
| @@ -10,7 +10,7 @@ local S = farming.intllib | ||||
| minetest.register_craftitem("farming:tomato", { | ||||
| 	description = S("Tomato"), | ||||
| 	inventory_image = "farming_tomato.png", | ||||
| 	groups = {seed = 2, food_tomato = 1, flammable = 2}, | ||||
| 	groups = {food_tomato = 1, flammable = 2}, | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
| 		return farming.place_seed(itemstack, placer, pointed_thing, "farming:tomato_1") | ||||
| 	end, | ||||
| @@ -61,8 +61,8 @@ minetest.register_node("farming:tomato_6", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_tomato_7.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:tomato"}, rarity = 1}, | ||||
| 		{items = {"farming:tomato"}, rarity = 3}, | ||||
| 		{items = {'farming:tomato'}, rarity = 1}, | ||||
| 		{items = {'farming:tomato'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:tomato_7", table.copy(crop_def)) | ||||
| @@ -72,8 +72,8 @@ crop_def.tiles = {"farming_tomato_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:tomato 3"}, rarity = 1}, | ||||
| 		{items = {"farming:tomato 3"}, rarity = 2}, | ||||
| 		{items = {'farming:tomato 3'}, rarity = 1}, | ||||
| 		{items = {'farming:tomato 3'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:tomato_8", table.copy(crop_def)) | ||||
|   | ||||
| @@ -189,8 +189,8 @@ minetest.register_node("farming:wheat_4", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_wheat_5.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:wheat"}, rarity = 2}, | ||||
| 		{items = {"farming:seed_wheat"}, rarity = 2}, | ||||
| 		{items = {'farming:wheat'}, rarity = 2}, | ||||
| 		{items = {'farming:seed_wheat'}, rarity = 2}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:wheat_5", table.copy(crop_def)) | ||||
| @@ -199,8 +199,8 @@ minetest.register_node("farming:wheat_5", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_wheat_6.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:wheat"}, rarity = 2}, | ||||
| 		{items = {"farming:seed_wheat"}, rarity = 1}, | ||||
| 		{items = {'farming:wheat'}, rarity = 2}, | ||||
| 		{items = {'farming:seed_wheat'}, rarity = 1}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:wheat_6", table.copy(crop_def)) | ||||
| @@ -209,10 +209,10 @@ minetest.register_node("farming:wheat_6", table.copy(crop_def)) | ||||
| crop_def.tiles = {"farming_wheat_7.png"} | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:wheat"}, rarity = 1}, | ||||
| 		{items = {"farming:wheat"}, rarity = 3}, | ||||
| 		{items = {"farming:seed_wheat"}, rarity = 1}, | ||||
| 		{items = {"farming:seed_wheat"}, rarity = 3}, | ||||
| 		{items = {'farming:wheat'}, rarity = 1}, | ||||
| 		{items = {'farming:wheat'}, rarity = 3}, | ||||
| 		{items = {'farming:seed_wheat'}, rarity = 1}, | ||||
| 		{items = {'farming:seed_wheat'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:wheat_7", table.copy(crop_def)) | ||||
| @@ -222,10 +222,10 @@ crop_def.tiles = {"farming_wheat_8.png"} | ||||
| crop_def.groups.growing = 0 | ||||
| crop_def.drop = { | ||||
| 	items = { | ||||
| 		{items = {"farming:wheat"}, rarity = 1}, | ||||
| 		{items = {"farming:wheat"}, rarity = 3}, | ||||
| 		{items = {"farming:seed_wheat"}, rarity = 1}, | ||||
| 		{items = {"farming:seed_wheat"}, rarity = 3}, | ||||
| 		{items = {'farming:wheat'}, rarity = 1}, | ||||
| 		{items = {'farming:wheat'}, rarity = 3}, | ||||
| 		{items = {'farming:seed_wheat'}, rarity = 1}, | ||||
| 		{items = {'farming:seed_wheat'}, rarity = 3}, | ||||
| 	} | ||||
| } | ||||
| minetest.register_node("farming:wheat_8", table.copy(crop_def)) | ||||
|   | ||||
| @@ -21,15 +21,14 @@ farming.rhubarb = 0.001 | ||||
| farming.beans = 0.001 | ||||
| farming.grapes = 0.001 | ||||
| farming.barley = true -- true or false only | ||||
| farming.chili = 0.003 | ||||
| farming.hemp = 0.003 | ||||
| farming.chili = 0.002 | ||||
| farming.hemp = 0.002 | ||||
| farming.garlic = 0.001 | ||||
| farming.onion = 0.001 | ||||
| farming.pepper = 0.002 | ||||
| farming.pineapple = 0.001 | ||||
| farming.peas = 0.001 | ||||
| farming.beetroot = 0.001 | ||||
| farming.mint = 0.005 | ||||
| farming.grains = true -- true or false only | ||||
|  | ||||
| -- default rarety of crops on map (higher number = more crops) | ||||
|   | ||||
							
								
								
									
										30
									
								
								food.lua
									
									
									
									
									
								
							
							
						
						| @@ -20,7 +20,7 @@ minetest.register_craft({ | ||||
| --= Salt | ||||
|  | ||||
| minetest.register_node("farming:salt", { | ||||
| 	description = S("Salt"), | ||||
| 	description = ("Salt"), | ||||
| 	inventory_image = "farming_salt.png", | ||||
| 	wield_image = "farming_salt.png", | ||||
| 	drawtype = "plantlike", | ||||
| @@ -47,7 +47,7 @@ minetest.register_craft({ | ||||
| --= Rose Water | ||||
|  | ||||
| minetest.register_node("farming:rose_water", { | ||||
| 	description = S("Rose Water"), | ||||
| 	description = ("Rose Water"), | ||||
| 	inventory_image = "farming_rose_water.png", | ||||
| 	wield_image = "farming_rose_water.png", | ||||
| 	drawtype = "plantlike", | ||||
| @@ -139,8 +139,8 @@ minetest.register_craftitem("farming:donut_chocolate", { | ||||
| minetest.register_craft({ | ||||
| 	output = "farming:donut_chocolate", | ||||
| 	recipe = { | ||||
| 		{"group:food_cocoa"}, | ||||
| 		{"farming:donut"}, | ||||
| 		{'group:food_cocoa'}, | ||||
| 		{'farming:donut'}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -153,8 +153,8 @@ minetest.register_craftitem("farming:donut_apple", { | ||||
| minetest.register_craft({ | ||||
| 	output = "farming:donut_apple", | ||||
| 	recipe = { | ||||
| 		{"default:apple"}, | ||||
| 		{"farming:donut"}, | ||||
| 		{'default:apple'}, | ||||
| 		{'farming:donut'}, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -218,21 +218,3 @@ minetest.register_craft({ | ||||
| 		{"mobs:bucket_milk", "bucket:bucket_empty"} | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| -- Apple Pie | ||||
|  | ||||
| minetest.register_craftitem("farming:apple_pie", { | ||||
| 	description = S("Apple Pie"), | ||||
| 	inventory_image = "farming_apple_pie.png", | ||||
| 	on_use = minetest.item_eat(6), | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "farming:apple_pie", | ||||
| 	type = "shapeless", | ||||
| 	recipe = { | ||||
| 		"group:food_flour", "group:food_sugar", | ||||
| 		"group:food_apple", "group:food_baking_tray" | ||||
| 	}, | ||||
| 	replacements = {{"group:food_baking_tray", "farming:baking_tray"}} | ||||
| }) | ||||
|   | ||||
							
								
								
									
										18
									
								
								grass.lua
									
									
									
									
									
								
							
							
						
						| @@ -7,9 +7,9 @@ for i = 4, 5 do | ||||
| 		drop = { | ||||
| 			max_items = 1, | ||||
| 			items = { | ||||
| 				{items = {"farming:seed_wheat"}, rarity = 5}, | ||||
| 				{items = {"farming:seed_oat"},rarity = 5}, | ||||
| 				{items = {"default:grass_1"}}, | ||||
| 				{items = {'farming:seed_wheat'}, rarity = 5}, | ||||
| 				{items = {'farming:seed_oat'},rarity = 5}, | ||||
| 				{items = {'default:grass_1'}}, | ||||
| 			} | ||||
| 		}, | ||||
| 	}) | ||||
| @@ -22,9 +22,9 @@ for i = 4, 5 do | ||||
| 			drop = { | ||||
| 				max_items = 1, | ||||
| 				items = { | ||||
| 					{items = {"farming:seed_barley"}, rarity = 5}, | ||||
| 					{items = {"farming:seed_rye"},rarity = 5}, | ||||
| 					{items = {"default:dry_grass_1"}}, | ||||
| 					{items = {'farming:seed_barley'}, rarity = 5}, | ||||
| 					{items = {'farming:seed_rye'},rarity = 5}, | ||||
| 					{items = {'default:dry_grass_1'}}, | ||||
| 				} | ||||
| 			}, | ||||
| 		}) | ||||
| @@ -38,9 +38,9 @@ minetest.override_item("default:junglegrass", { | ||||
| 	drop = { | ||||
| 		max_items = 1, | ||||
| 		items = { | ||||
| 			{items = {"farming:seed_cotton"}, rarity = 8}, | ||||
| 			{items = {"farming:seed_rice"},rarity = 8}, | ||||
| 			{items = {"default:junglegrass"}}, | ||||
| 			{items = {'farming:seed_cotton'}, rarity = 8}, | ||||
| 			{items = {'farming:seed_rice'},rarity = 8}, | ||||
| 			{items = {'default:junglegrass'}}, | ||||
| 		} | ||||
| 	}, | ||||
| }) | ||||
|   | ||||
							
								
								
									
										48
									
								
								hoes.lua
									
									
									
									
									
								
							
							
						
						| @@ -24,10 +24,6 @@ farming.register_hoe = function(name, def) | ||||
| 		def.max_uses = 30 | ||||
| 	end | ||||
|  | ||||
| 	-- add hoe group | ||||
| 	def.groups = def.groups or {} | ||||
| 	def.groups.hoe = 1 | ||||
|  | ||||
| 	-- Register the tool | ||||
| 	minetest.register_tool(name, { | ||||
| 		description = def.description, | ||||
| @@ -63,9 +59,8 @@ function farming.hoe_on_use(itemstack, user, pointed_thing, uses) | ||||
|  | ||||
| 	local pt = pointed_thing | ||||
|  | ||||
| 	-- am I going to hoe the top of a dirt node? | ||||
| 	if not pt or pt.type ~= "node" | ||||
| 	or pt.above.y ~= pt.under.y + 1 then | ||||
| 	-- check if pointing at a node | ||||
| 	if not pt or pt.type ~= "node" then | ||||
| 		return | ||||
| 	end | ||||
|  | ||||
| @@ -96,24 +91,12 @@ function farming.hoe_on_use(itemstack, user, pointed_thing, uses) | ||||
| 		return | ||||
| 	end | ||||
|  | ||||
| 	-- check if (wet) soil defined | ||||
| 	local ndef = minetest.registered_nodes[under.name] | ||||
| 	if ndef.soil == nil or ndef.soil.wet == nil or ndef.soil.dry == nil then | ||||
| 		return | ||||
| 	end | ||||
|  | ||||
| 	if minetest.is_protected(pt.under, user:get_player_name()) then | ||||
| 		minetest.record_protection_violation(pt.under, user:get_player_name()) | ||||
| 		return | ||||
| 	end | ||||
|  | ||||
| 	-- turn the node into soil, wear out item and play sound | ||||
| 	minetest.set_node(pt.under, {name = ndef.soil.dry}) | ||||
| 	minetest.set_node(pt.under, {name = "farming:soil"}) | ||||
|  | ||||
| 	minetest.sound_play("default_dig_crumbly", {pos = pt.under, gain = 0.5}) | ||||
|  | ||||
| 	local wdef = itemstack:get_definition() | ||||
| 	local wear = 65535 / (uses - 1) | ||||
| 	local wear = 65535 / (uses -1) | ||||
|  | ||||
| 	if farming.is_creative(user:get_player_name()) then | ||||
| 		if tr then | ||||
| @@ -129,11 +112,6 @@ function farming.hoe_on_use(itemstack, user, pointed_thing, uses) | ||||
| 		itemstack:add_wear(wear) | ||||
| 	end | ||||
|  | ||||
| 	if itemstack:get_count() == 0 and wdef.sound and wdef.sound.breaks then | ||||
| 		minetest.sound_play(wdef.sound.breaks, {pos = pt.above, | ||||
| 			gain = 0.5}, true) | ||||
| 	end | ||||
|  | ||||
| 	return itemstack | ||||
| end | ||||
|  | ||||
| @@ -256,7 +234,7 @@ minetest.register_entity("farming:hoebomb_entity", { | ||||
| 	visual = "sprite", | ||||
| 	visual_size = {x = 1.0, y = 1.0}, | ||||
| 	textures = {"farming_hoe_bomb.png"}, | ||||
| 	collisionbox = {-0.1,-0.1,-0.1,0.1,0.1,0.1}, | ||||
| 	collisionbox = {0,0,0,0,0,0}, | ||||
| 	lastpos = {}, | ||||
| 	player = "", | ||||
|  | ||||
| @@ -326,13 +304,14 @@ local function throw_potion(itemstack, player) | ||||
| 		z = dir.z * -3 | ||||
| 	}) | ||||
|  | ||||
| 	obj:setyaw(player:get_look_yaw() + math.pi) | ||||
| 	obj:get_luaentity().player = player | ||||
| end | ||||
|  | ||||
|  | ||||
| -- hoe bomb item | ||||
| minetest.register_craftitem("farming:hoe_bomb", { | ||||
| 	description = S("Hoe Bomb (use or throw on grassy areas to hoe land)"), | ||||
| 	description = S("Hoe Bomb (use or throw on grassy areas to hoe land"), | ||||
| 	inventory_image = "farming_hoe_bomb.png", | ||||
| 	groups = {flammable = 2, not_in_creative_inventory = 1}, | ||||
| 	on_use = function(itemstack, user, pointed_thing) | ||||
| @@ -361,11 +340,20 @@ farming.add_to_scythe_not_drops = function(item) | ||||
| end | ||||
|  | ||||
| minetest.register_tool("farming:scythe_mithril", { | ||||
| 	description = S("Mithril Scythe (Right-click to harvest and replant crops)"), | ||||
| 	description = S("Mithril Scythe (Right-click crop to harvest and replant)"), | ||||
| 	inventory_image = "farming_scythe_mithril.png", | ||||
| 	tool_capabilities = { | ||||
| 		full_punch_interval = 0.8, | ||||
| 		max_drop_level = 2, | ||||
| 		groupcaps = { | ||||
| 			fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 150, maxlevel = 2}, | ||||
| 			snappy = {times = {[2] = 0.70, [3] = 0.25}, uses = 150, maxlevel = 2}, | ||||
| 		}, | ||||
| 		damage_groups = {fleshy = 8}, | ||||
| 	}, | ||||
| 	sound = {breaks = "default_tool_breaks"}, | ||||
|  | ||||
| 	on_use = function(itemstack, placer, pointed_thing) | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
|  | ||||
| 		if pointed_thing.type ~= "node" then | ||||
| 			return | ||||
|   | ||||
							
								
								
									
										18
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						| @@ -7,7 +7,7 @@ | ||||
|  | ||||
| farming = { | ||||
| 	mod = "redo", | ||||
| 	version = "20200527", | ||||
| 	version = "20190427", | ||||
| 	path = minetest.get_modpath("farming"), | ||||
| 	select = { | ||||
| 		type = "fixed", | ||||
| @@ -79,8 +79,7 @@ end | ||||
|  | ||||
|  | ||||
| -- Growth Logic | ||||
| local STAGE_LENGTH_AVG = tonumber( | ||||
| 		minetest.settings:get("farming_stage_length")) or 160 | ||||
| local STAGE_LENGTH_AVG = 160.0 | ||||
| local STAGE_LENGTH_DEV = STAGE_LENGTH_AVG / 6 | ||||
|  | ||||
|  | ||||
| @@ -279,7 +278,7 @@ end) | ||||
| -- Just in case a growing type or added node is missed (also catches existing | ||||
| -- nodes added to map before timers were incorporated). | ||||
| minetest.register_abm({ | ||||
| 	nodenames = {"group:growing"}, | ||||
| 	nodenames = { "group:growing" }, | ||||
| 	interval = 300, | ||||
| 	chance = 1, | ||||
| 	catch_up = false, | ||||
| @@ -422,7 +421,7 @@ function farming.place_seed(itemstack, placer, pointed_thing, plantname) | ||||
| 	-- am I right-clicking on something that has a custom on_place set? | ||||
| 	-- thanks to Krock for helping with this issue :) | ||||
| 	local def = minetest.registered_nodes[under.name] | ||||
| 	if placer and itemstack and def and def.on_rightclick then | ||||
| 	if placer and def and def.on_rightclick then | ||||
| 		return def.on_rightclick(pt.under, under, placer, itemstack) | ||||
| 	end | ||||
|  | ||||
| @@ -462,8 +461,7 @@ function farming.place_seed(itemstack, placer, pointed_thing, plantname) | ||||
|  | ||||
| 		minetest.sound_play("default_place_node", {pos = pt.above, gain = 1.0}) | ||||
|  | ||||
| 		if placer and itemstack | ||||
| 		and not farming.is_creative(placer:get_player_name()) then | ||||
| 		if placer and not farming.is_creative(placer:get_player_name()) then | ||||
|  | ||||
| 			local name = itemstack:get_name() | ||||
|  | ||||
| @@ -616,15 +614,14 @@ farming.rhubarb = 0.001 | ||||
| farming.beans = 0.001 | ||||
| farming.grapes = 0.001 | ||||
| farming.barley = true | ||||
| farming.chili = 0.003 | ||||
| farming.hemp = 0.003 | ||||
| farming.chili = 0.002 | ||||
| farming.hemp = 0.002 | ||||
| farming.garlic = 0.001 | ||||
| farming.onion = 0.001 | ||||
| farming.pepper = 0.002 | ||||
| farming.pineapple = 0.001 | ||||
| farming.peas = 0.001 | ||||
| farming.beetroot = 0.001 | ||||
| farming.mint = 0.005 | ||||
| farming.grains = true | ||||
| farming.rarety = 0.002 | ||||
|  | ||||
| @@ -689,7 +686,6 @@ ddoo("peas.lua", farming.peas) | ||||
| ddoo("beetroot.lua", farming.beetroot) | ||||
| ddoo("chili.lua", farming.chili) | ||||
| ddoo("ryeoatrice.lua", farming.grains) | ||||
| ddoo("mint.lua", farming.mint) | ||||
|  | ||||
| dofile(farming.path.."/food.lua") | ||||
| dofile(farming.path.."/mapgen.lua") | ||||
|   | ||||
							
								
								
									
										262
									
								
								locale/de.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,262 @@ | ||||
| # German Translation for farming mod. | ||||
| # Copyright (C) 2017 | ||||
| # This file is distributed under the same license as the farming package. | ||||
| # Xanthin. | ||||
| # | ||||
| #, fuzzy | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: 1.27\n" | ||||
| "Report-Msgid-Bugs-To: \n" | ||||
| "POT-Creation-Date: 2016-03-31 HO:MI+ZONE\n" | ||||
| "PO-Revision-Date: 2016-03-31 HO:MI+ZONE\n" | ||||
| "Last-Translator: Xanthin\n" | ||||
| "Language-Team: \n" | ||||
| "Language: German \n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley Seed" | ||||
| msgstr "Gerstenkörner" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley" | ||||
| msgstr "Gerste" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Green Beans" | ||||
| msgstr "Grüne Bohnen" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Bean Pole (place on soil before planting beans)" | ||||
| msgstr "Bohnenstange (vor dem Pflanzen der Bohnen auf den\nAckerboden stellen)" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberries" | ||||
| msgstr "Blaubeeren" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberry Muffin" | ||||
| msgstr "Blaubeermuffin" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Carrot" | ||||
| msgstr "Möhre" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Golden Carrot" | ||||
| msgstr "Goldene Möhre" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cocoa Beans" | ||||
| msgstr "Kakaobohne" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cookie" | ||||
| msgstr "Keks" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Bar of Dark Chocolate" | ||||
| msgstr "Tafel Zartbitterschokolade" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Coffee Beans" | ||||
| msgstr "Kaffeebohnen" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Drinking Cup (empty)" | ||||
| msgstr "Tasse (leer)" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Cold Cup of Coffee" | ||||
| msgstr "Kalte Tasse Kaffee" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Hot Cup of Coffee" | ||||
| msgstr "Heiße Tasse Kaffee" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn" | ||||
| msgstr "Mais" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn on the Cob" | ||||
| msgstr "Maiskolben" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Bottle of Ethanol" | ||||
| msgstr "Flasche Ethanol" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton Seed" | ||||
| msgstr "Baumwollsamen" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton" | ||||
| msgstr "Baumwolle" | ||||
|  | ||||
| #: cucumber.lua | ||||
| msgid "Cucumber" | ||||
| msgstr "Gurke" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Donut" | ||||
| msgstr "Donut" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Chocolate Donut" | ||||
| msgstr "Schokodonut" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Apple Donut" | ||||
| msgstr "Apfeldonut" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Grapes" | ||||
| msgstr "Weintrauben" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Trellis (place on soil before planting grapes)" | ||||
| msgstr "Spalier (vor dem Pflanzen der Weintrauben auf den\nAckerboden stellen)" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Seed" | ||||
| msgstr "Hanfsamen" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Leaf" | ||||
| msgstr "Hanfblatt" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Bottle of Hemp Oil" | ||||
| msgstr "Flasche mit Hanföl" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Fibre" | ||||
| msgstr "Hanffaser" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Rope" | ||||
| msgstr "Hanfseil" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Hoe" | ||||
| msgstr "Hacke" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Wooden Hoe" | ||||
| msgstr "Holzhacke" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Stone Hoe" | ||||
| msgstr "Steinhacke" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Steel Hoe" | ||||
| msgstr "Stahlhacke" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Bronze Hoe" | ||||
| msgstr "Bronzehacke" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Mese Hoe" | ||||
| msgstr "Mesehacke" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Diamond Hoe" | ||||
| msgstr "Diamanthacke" | ||||
|  | ||||
| #: init.lua | ||||
| msgid "Seed" | ||||
| msgstr "Saatgut" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon Slice" | ||||
| msgstr "Melonenscheibe" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon" | ||||
| msgstr "Melone" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Potato" | ||||
| msgstr "Kartoffel" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Baked Potato" | ||||
| msgstr "Ofenkartoffel" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin" | ||||
| msgstr "Kürbis" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Slice" | ||||
| msgstr "Kürbisscheibe" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Jack 'O Lantern (punch to turn on and off)" | ||||
| msgstr "Kürbislaterne (Punch zum Ein- und Ausschalten)" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Bread" | ||||
| msgstr "Kürbisbrot" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Dough" | ||||
| msgstr "Kürbisteig" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberries" | ||||
| msgstr "Himbeeren" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberry Smoothie" | ||||
| msgstr "Himbeersmoothie" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb" | ||||
| msgstr "Rhabarber" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb Pie" | ||||
| msgstr "Rhabarberkuchen" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Soil" | ||||
| msgstr "Ackerboden" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Wet Soil" | ||||
| msgstr "Bewässerter Ackerboden" | ||||
|  | ||||
| #: sugar.lua | ||||
| msgid "Sugar" | ||||
| msgstr "Zucker" | ||||
|  | ||||
| #: tomato.lua | ||||
| msgid "Tomato" | ||||
| msgstr "Tomate" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat Seed" | ||||
| msgstr "Weizenkörner" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat" | ||||
| msgstr "Weizen" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Straw" | ||||
| msgstr "Stroh" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Flour" | ||||
| msgstr "Mehl" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Bread" | ||||
| msgstr "Brot" | ||||
							
								
								
									
										195
									
								
								locale/de.txt
									
									
									
									
									
								
							
							
						
						| @@ -1,195 +0,0 @@ | ||||
| # German translation of the farming mod by TenPlus1 | ||||
| # textdomain: farming | ||||
| # author: Xanthin | ||||
| # author: TheDarkTiger | ||||
| # last update: 2020/Apr/26 | ||||
|  | ||||
| ###### folder . ###### | ||||
|  | ||||
| ### init.lua ### | ||||
| Seed=Saatgut | ||||
|  | ||||
| ### compatibility.lua ### | ||||
| Banana= | ||||
| Banana Leaves= | ||||
| Orange= | ||||
| Strawberry= | ||||
|  | ||||
| ### food.lua ### | ||||
| Sugar=Zucker | ||||
| Salt= | ||||
| Rose Water= | ||||
| Turkish Delight= | ||||
| Garlic Bread= | ||||
| Donut=Donut | ||||
| Chocolate Donut=Schokodonut | ||||
| Apple Donut=Apfeldonut | ||||
| Porridge= | ||||
| Jaffa Cake= | ||||
|  | ||||
| ### hoes.lua ### | ||||
| Hoe=Hacke | ||||
| Wooden Hoe=Holzhacke | ||||
| Stone Hoe=Steinhacke | ||||
| Steel Hoe=Stahlhacke | ||||
| Bronze Hoe=Bronzehacke | ||||
| Mese Hoe=Mesehacke | ||||
| Diamond Hoe=Diamanthacke | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
| Hoe Bomb (use or throw on grassy areas to hoe land)= | ||||
| Mithril Scythe (Right-click to harvest and replant crops)= | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
|  | ||||
| ### soil.lua ### | ||||
| Soil=Ackerboden | ||||
| Wet Soil=Bewässerter Ackerboden | ||||
|  | ||||
| ### utensils.lua ### | ||||
| Wooden Bowl= | ||||
| Saucepan= | ||||
| Cooking Pot= | ||||
| Baking Tray= | ||||
| Skillet= | ||||
| Mortar and Pestle= | ||||
| Cutting Board= | ||||
| Juicer= | ||||
| Glass Mixing Bowl= | ||||
|  | ||||
|  | ||||
| ###### folder ./crops ###### | ||||
|  | ||||
| ### barley.lua ### | ||||
| Barley Seed=Gerstenkörner | ||||
| Barley=Gerste | ||||
|  | ||||
| ### beans.lua ### | ||||
| Green Beans=Grüne Bohnen | ||||
| Bean Pole (place on soil before planting beans)=Bohnenstange (vor dem Pflanzen der Bohnen auf den\nAckerboden stellen) | ||||
|  | ||||
| ### beetroot.lua ### | ||||
| Beetroot= | ||||
| Beetroot Soup= | ||||
|  | ||||
| ### blueberry.lua ### | ||||
| Blueberries=Blaubeeren | ||||
| Blueberry Muffin=Blaubeermuffin | ||||
| Blueberry Pie= | ||||
|  | ||||
| ### carrot.lua ## | ||||
| Carrot=Möhre | ||||
| Carrot Juice= | ||||
| Golden Carrot=Goldene Möhre | ||||
|  | ||||
| ### chili.lua ### | ||||
| Chili Pepper= | ||||
| Bowl of Chili= | ||||
|  | ||||
| ### cocoa.lua ### | ||||
| Cocoa Beans=Kakaobohne | ||||
| Cookie=Keks | ||||
| Bar of Dark Chocolate=Tafel Zartbitterschokolade | ||||
| Chocolate Block= | ||||
|  | ||||
| ### coffee.lua ### | ||||
| Coffee Beans=Kaffeebohnen | ||||
| Cup of Coffee=Tasse Kaffee | ||||
|  | ||||
| ### corn.lua ### | ||||
| Corn=Mais | ||||
| Corn on the Cob=Maiskolben | ||||
| Cornstarch= | ||||
| Bottle of Ethanol=Flasche Ethanol | ||||
|  | ||||
| ### cotton.lua ### | ||||
| Cotton Seed=Baumwollsamen | ||||
| Cotton=Baumwolle | ||||
| String= | ||||
|  | ||||
| ### cucumber.lua ### | ||||
| Cucumber=Gurke | ||||
|  | ||||
| ### garlic.lua ### | ||||
| Garlic clove= | ||||
| Garlic= | ||||
| Garlic Braid= | ||||
|  | ||||
| ### grapes.lua ### | ||||
| Grapes=Weintrauben | ||||
| Trellis (place on soil before planting grapes)=Spalier (vor dem Pflanzen der Weintrauben auf den\nAckerboden stellen) | ||||
|  | ||||
| ### hemp.lua ### | ||||
| Hemp Seed=Hanfsamen | ||||
| Hemp Leaf=Hanfblatt | ||||
| Bottle of Hemp Oil=Flasche mit Hanföl | ||||
| Hemp Fibre=Hanffaser | ||||
| Hemp Block= | ||||
| Hemp Rope=Hanfseil | ||||
|  | ||||
| ### melon.lua ### | ||||
| Melon Slice=Melonenscheibe | ||||
| Melon=Melone | ||||
|  | ||||
| ### onion.lua ### | ||||
| Onion= | ||||
|  | ||||
| ### peas.lua ### | ||||
| Pea Pod= | ||||
| Peas= | ||||
| Pea Soup= | ||||
|  | ||||
| ### pepper.lua ### | ||||
| Peppercorn= | ||||
| Pepper= | ||||
| Ground Pepper= | ||||
|  | ||||
| ### pinapple.lua ### | ||||
| Pineapple Top= | ||||
| Pineapple= | ||||
| Pineapple Ring= | ||||
| Pineapple Juice= | ||||
|  | ||||
| ### potato.lua ### | ||||
| Potato=Kartoffel | ||||
| Baked Potato=Ofenkartoffel | ||||
| Cucumber and Potato Salad= | ||||
|  | ||||
| ### pumpkin.lua ### | ||||
| Pumpkin Slice=Kürbisscheibe | ||||
| Jack 'O Lantern (punch to turn on and off)=Kürbislaterne (Punch zum Ein- und Ausschalten) | ||||
| Scarecrow Bottom= | ||||
| Pumpkin Bread=Kürbisbrot | ||||
| Pumpkin Dough=Kürbisteig | ||||
| Pumpkin=Kürbis | ||||
|  | ||||
| ### raspberry.lua ### | ||||
| Raspberries=Himbeeren | ||||
| Raspberry Smoothie=Himbeersmoothie | ||||
|  | ||||
| ### rhubarb.lua ### | ||||
| Rhubarb=Rhabarber | ||||
| Rhubarb Pie=Rhabarberkuchen | ||||
|  | ||||
| ### ryeoatrice.lua ### | ||||
| Rye= | ||||
| Rye seed= | ||||
| Oat= | ||||
| Oat seed= | ||||
| Rice= | ||||
| Rice grains= | ||||
| Rice Bread= | ||||
| Rice Flour= | ||||
| Multigrain Flour= | ||||
| Multigrain Bread= | ||||
|  | ||||
| ### tomato.lua ### | ||||
| Tomato=Tomate | ||||
|  | ||||
| ### wheat.lua ### | ||||
| Wheat Seed=Weizenkörner | ||||
| Wheat=Weizen | ||||
| Straw=Stroh | ||||
| Flour=Mehl | ||||
| Bread=Brot | ||||
| Sliced Bread= | ||||
| Toast= | ||||
| Toast Sandwich= | ||||
							
								
								
									
										259
									
								
								locale/fr.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,259 @@ | ||||
| # SOME DESCRIPTIVE TITLE. | ||||
| # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||||
| # This file is distributed under the same license as the PACKAGE package. | ||||
| # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: \n" | ||||
| "Report-Msgid-Bugs-To: \n" | ||||
| "POT-Creation-Date: 2018-03-27 20:21+0200\n" | ||||
| "PO-Revision-Date: 2018-03-27 22:16+0200\n" | ||||
| "Language-Team: \n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| "X-Generator: Poedit 1.8.7.1\n" | ||||
| "Last-Translator: \n" | ||||
| "Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||||
| "Language: fr\n" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley Seed" | ||||
| msgstr "Graine d'orge" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley" | ||||
| msgstr "Orge" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Green Beans" | ||||
| msgstr "Haricots verts" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Bean Pole (place on soil before planting beans)" | ||||
| msgstr "Tuteur pour haricots  (placer sur le sol avant de planter des haricots)" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberries" | ||||
| msgstr "Myrtilles" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberry Muffin" | ||||
| msgstr "Gâteau aux myrtilles" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Carrot" | ||||
| msgstr "Carotte" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Golden Carrot" | ||||
| msgstr "Carotte dorée" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cocoa Beans" | ||||
| msgstr "Fèves de chocolat" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cookie" | ||||
| msgstr "Biscuit" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Bar of Dark Chocolate" | ||||
| msgstr "Barre de chocolat noir" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Coffee Beans" | ||||
| msgstr "Grains de café" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Drinking Cup (empty)" | ||||
| msgstr "Tasse (vide)" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Cold Cup of Coffee" | ||||
| msgstr "Tasse de café froid" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Hot Cup of Coffee" | ||||
| msgstr "Tasse de café chaud" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn" | ||||
| msgstr "Maïs" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn on the Cob" | ||||
| msgstr "Épi de maïs" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Bottle of Ethanol" | ||||
| msgstr "Bouteille de'éthanol" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton Seed" | ||||
| msgstr "Graines de coton" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton" | ||||
| msgstr "Coton" | ||||
|  | ||||
| #: cucumber.lua | ||||
| msgid "Cucumber" | ||||
| msgstr "Concombre" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Donut" | ||||
| msgstr "Beignet" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Chocolate Donut" | ||||
| msgstr "Beignet au chocolat" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Apple Donut" | ||||
| msgstr "Beignet aux pommes" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Grapes" | ||||
| msgstr "Raisins" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Trellis (place on soil before planting grapes)" | ||||
| msgstr "Treillis (placer sur le sol avant de planter les raisins)" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Seed" | ||||
| msgstr "Graines de chanvre" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Leaf" | ||||
| msgstr "Feuille de chanvre" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Bottle of Hemp Oil" | ||||
| msgstr "Bouteille d'huile de chanvre" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Fibre" | ||||
| msgstr "Fibre de chanvre" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Rope" | ||||
| msgstr "Corde de chanvre" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Wooden Hoe" | ||||
| msgstr "Houe en bois" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Stone Hoe" | ||||
| msgstr "Houe en pierre" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Steel Hoe" | ||||
| msgstr "Houe en acier" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Bronze Hoe" | ||||
| msgstr "Houe en bronze" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Mese Hoe" | ||||
| msgstr "Houe en mese" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Diamond Hoe" | ||||
| msgstr "Houe en diamant" | ||||
|  | ||||
| #: init.lua | ||||
| msgid "Seed" | ||||
| msgstr "Graine" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon Slice" | ||||
| msgstr "Tranche de melon" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon" | ||||
| msgstr "Melon" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Potato" | ||||
| msgstr "Pomme de terre" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Baked Potato" | ||||
| msgstr "Pomme de terre cuite" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin" | ||||
| msgstr "Citrouille" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Slice" | ||||
| msgstr "Tranche de citrouille" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Jack 'O Lantern (punch to turn on and off)" | ||||
| msgstr "Jack 'O Lantern (tapé pour allumer et éteindre)" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Bread" | ||||
| msgstr "Pain à la citrouille" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Dough" | ||||
| msgstr "Pâte à la citrouille" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberries" | ||||
| msgstr "Framboises" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberry Smoothie" | ||||
| msgstr "Smoothie aux framboises" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb" | ||||
| msgstr "Rhubarbe" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb Pie" | ||||
| msgstr "Tarte à la rhubarbe" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Soil" | ||||
| msgstr "Sol" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Wet Soil" | ||||
| msgstr "Sol humide" | ||||
|  | ||||
| #: sugar.lua | ||||
| msgid "Sugar" | ||||
| msgstr "Sucre" | ||||
|  | ||||
| #: tomato.lua | ||||
| msgid "Tomato" | ||||
| msgstr "Tomate" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat Seed" | ||||
| msgstr "Graine de blé" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat" | ||||
| msgstr "Blé" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Straw" | ||||
| msgstr "Paille" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Flour" | ||||
| msgstr "Farine" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Bread" | ||||
| msgstr "Pain" | ||||
							
								
								
									
										195
									
								
								locale/fr.txt
									
									
									
									
									
								
							
							
						
						| @@ -1,195 +0,0 @@ | ||||
| # Traduction Française du mod farming par TenPlus1 | ||||
| # textdomain: farming | ||||
| # author: Papaou30 | ||||
| # author: TheDarkTiger | ||||
| # last update: 2020/Apr/26 | ||||
|  | ||||
| ###### folder . ###### | ||||
|  | ||||
| ### init.lua ### | ||||
| Seed=Graine | ||||
|  | ||||
| ### compatibility.lua ### | ||||
| Banana=Banane | ||||
| Banana Leaves=Feuilles de Banane | ||||
| Orange=Orange | ||||
| Strawberry=Fraise | ||||
|  | ||||
| ### food.lua ### | ||||
| Sugar=Sucre | ||||
| Salt=Sel | ||||
| Rose Water=Eau de Rose | ||||
| Turkish Delight=Douceur Turque | ||||
| Garlic Bread=Pain à l'Ail | ||||
| Donut=Beignet | ||||
| Chocolate Donut=Beignet au chocolat | ||||
| Apple Donut=Beignet aux pommes | ||||
| Porridge=Gruau de céréales | ||||
| Jaffa Cake=Petit gâteau à l'orange "Jaffa" | ||||
|  | ||||
| ### hoes.lua ### | ||||
| Hoe=Binette | ||||
| Wooden Hoe=Binette en Bois | ||||
| Stone Hoe=Binette en Pierre | ||||
| Steel Hoe=Binette en Acier | ||||
| Bronze Hoe=Binette en Bronze | ||||
| Mese Hoe=Binette en Mese | ||||
| Diamond Hoe=Binette en Diamant | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
| Hoe Bomb (use or throw on grassy areas to hoe land)=Bombe à binnage (Actionner ou lancer sur une zone herbeuse pour la binner) | ||||
| Mithril Scythe (Right-click to harvest and replant crops)=Faux en Mithril (Récolte et replante des graines) | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
|  | ||||
| ### soil.lua ### | ||||
| Soil=Sol binné | ||||
| Wet Soil=Sol binné humide | ||||
|  | ||||
| ### utensils.lua ### | ||||
| Wooden Bowl=Bol en Bois | ||||
| Saucepan=Casserole | ||||
| Cooking Pot=Fait-tout | ||||
| Baking Tray=Lèche-frite | ||||
| Skillet=Poêle | ||||
| Mortar and Pestle=Mortier et Pilon | ||||
| Cutting Board=Planche à découper | ||||
| Juicer=Presse-agrumes | ||||
| Glass Mixing Bowl=Terrine en Verre | ||||
|  | ||||
|  | ||||
| ###### folder ./crops ###### | ||||
|  | ||||
| ### barley.lua ### | ||||
| Barley Seed=Graine d'Orge | ||||
| Barley=Orge | ||||
|  | ||||
| ### beans.lua ### | ||||
| Green Beans=Haricots verts | ||||
| Bean Pole (place on soil before planting beans)=Tuteur pour haricots  (placer sur le sol avant de planter des haricots) | ||||
|  | ||||
| ### beetroot.lua ### | ||||
| Beetroot=Betrave | ||||
| Beetroot Soup=Soupe de Betrave | ||||
|  | ||||
| ### blueberry.lua ### | ||||
| Blueberries=Myrtilles | ||||
| Blueberry Muffin=Muffin aux Myrtilles | ||||
| Blueberry Pie=Tarte aux Myrtilles | ||||
|  | ||||
| ### carrot.lua ## | ||||
| Carrot=Carotte | ||||
| Carrot Juice=Jus de Carotte | ||||
| Golden Carrot=Carotte dorée | ||||
|  | ||||
| ### chili.lua ### | ||||
| Chili Pepper=Piment Rouge | ||||
| Bowl of Chili=Assiette de Chilli | ||||
|  | ||||
| ### cocoa.lua ### | ||||
| Cocoa Beans=Fèves de Cacao | ||||
| Cookie=Cookie | ||||
| Bar of Dark Chocolate=Tablette de Chocolat noir | ||||
| Chocolate Block=Block de Chocolat | ||||
|  | ||||
| ### coffee.lua ### | ||||
| Coffee Beans=Grains de café | ||||
| Cup of Coffee=Tasse de café | ||||
|  | ||||
| ### corn.lua ### | ||||
| Corn=Maïs | ||||
| Corn on the Cob=Cobette (Maïs cuit) | ||||
| Cornstarch=Fécule de Maïs | ||||
| Bottle of Ethanol=Bouteille d'Éthanol | ||||
|  | ||||
| ### cotton.lua ### | ||||
| Cotton Seed=Graines de Coton | ||||
| Cotton=Coton | ||||
| String=Ficelle | ||||
|  | ||||
| ### cucumber.lua ### | ||||
| Cucumber=Concombre | ||||
|  | ||||
| ### garlic.lua ### | ||||
| Garlic clove=Gousse d'Ail | ||||
| Garlic=Tête d'Ail | ||||
| Garlic Braid=Ail tressé | ||||
|  | ||||
| ### grapes.lua ### | ||||
| Grapes=Raisins | ||||
| Trellis (place on soil before planting grapes)=Treillis (placer sur le sol avant de planter la vigne) | ||||
|  | ||||
| ### hemp.lua ### | ||||
| Hemp Seed=Graines de Chanvre | ||||
| Hemp Leaf=Feuille de Chanvre | ||||
| Bottle of Hemp Oil=Bouteille d'huile de Chanvre | ||||
| Hemp Fibre=Fibre de Chanvre | ||||
| Hemp Block=Bloc de Chanvre | ||||
| Hemp Rope=Corde de Chanvre | ||||
|  | ||||
| ### melon.lua ### | ||||
| Melon Slice=Tranche de Melon | ||||
| Melon=Melon | ||||
|  | ||||
| ### onion.lua ### | ||||
| Onion=Oignon | ||||
|  | ||||
| ### peas.lua ### | ||||
| Pea Pod=Cosse de Petit-poids | ||||
| Peas=Petit-poids | ||||
| Pea Soup=Soupe de Petit-poids | ||||
|  | ||||
| ### pepper.lua ### | ||||
| Peppercorn=Grain de Poivre | ||||
| Pepper=Poivron | ||||
| Ground Pepper=Poivre moulu | ||||
|  | ||||
| ### pinapple.lua ### | ||||
| Pineapple Top=Pousse d'Ananas | ||||
| Pineapple=Ananas | ||||
| Pineapple Ring=Tranche d'Ananas | ||||
| Pineapple Juice=Jus d'Ananas | ||||
|  | ||||
| ### potato.lua ### | ||||
| Potato=Pomme de terre | ||||
| Baked Potato=Pomme de terre cuite | ||||
| Cucumber and Potato Salad=Salade de Pomme de terre au Concombre | ||||
|  | ||||
| ### pumpkin.lua ### | ||||
| Pumpkin Slice=Tranche de Citrouille | ||||
| Jack 'O Lantern (punch to turn on and off)=Jack 'O Lantern (Frapper pour allumer et éteindre) | ||||
| Scarecrow Bottom=Base d'Epouventail | ||||
| Pumpkin Bread=Pain à la Citrouille | ||||
| Pumpkin Dough=Pâton de pain à la Citrouille | ||||
| Pumpkin=Citrouille | ||||
|  | ||||
| ### raspberry.lua ### | ||||
| Raspberries=Framboises | ||||
| Raspberry Smoothie=Smoothie aux Framboises | ||||
|  | ||||
| ### rhubarb.lua ### | ||||
| Rhubarb=Rhubarbe | ||||
| Rhubarb Pie=Tarte à la rhubarbe | ||||
|  | ||||
| ### ryeoatrice.lua ### | ||||
| Rye=Seigle | ||||
| Rye seed=Grains de Seigle | ||||
| Oat=Orge | ||||
| Oat seed=Grains d'Orge | ||||
| Rice=Riz | ||||
| Rice grains=Grain de Riz | ||||
| Rice Bread=Pain de Riz | ||||
| Rice Flour=Farine de Riz | ||||
| Multigrain Flour=Farine Multi-céréales | ||||
| Multigrain Bread=Pain aux Céréales | ||||
|  | ||||
| ### tomato.lua ### | ||||
| Tomato=Tomate | ||||
|  | ||||
| ### wheat.lua ### | ||||
| Wheat Seed=Grain de blé | ||||
| Wheat=Blé | ||||
| Straw=Paille | ||||
| Flour=Farine | ||||
| Bread=Pain | ||||
| Sliced Bread=Tranche de Pain | ||||
| Toast=Pain Grillé | ||||
| Toast Sandwich=Sandwich au Pain | ||||
							
								
								
									
										194
									
								
								locale/it.txt
									
									
									
									
									
								
							
							
						
						| @@ -1,194 +0,0 @@ | ||||
| # Translation of the farming mod by TenPlus1 | ||||
| # textdomain: farming | ||||
| # author: (Hamlet) | ||||
| # last update: 2020/Jun/02 | ||||
|  | ||||
| ###### folder . ###### | ||||
|  | ||||
| ### init.lua ### | ||||
| Seed=Seme | ||||
|  | ||||
| ### compatibility.lua ### | ||||
| Banana=Banana | ||||
| Banana Leaves=Foglie di banano | ||||
| Orange=Arancia | ||||
| Strawberry=Fragola | ||||
|  | ||||
| ### food.lua ### | ||||
| Sugar=Zucchero | ||||
| Salt=Sale | ||||
| Rose Water=Acqua di rose | ||||
| Turkish Delight=Lokum | ||||
| Garlic Bread=Pane all'aglio | ||||
| Donut=Ciambella | ||||
| Chocolate Donut=Ciambella al cioccolato | ||||
| Apple Donut=Ciambella alla mela | ||||
| Porridge=Porridge | ||||
| Jaffa Cake=Torta di jaffa | ||||
|  | ||||
| ### hoes.lua ### | ||||
| Hoe=Zappa | ||||
| Wooden Hoe=Zappa di legno | ||||
| Stone Hoe=Zappa di pietra | ||||
| Steel Hoe=Zappa d'acciaio | ||||
| Bronze Hoe=Zappa di bronzo | ||||
| Mese Hoe=Zappa di mese | ||||
| Diamond Hoe=Zappa di diamante | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
| Hoe Bomb (use or throw on grassy areas to hoe land)=Bomba zappa (usala o lanciala sulle aree erbose per zappare il terreno) | ||||
| Mithril Scythe (Right-click to harvest and replant crops)=Falce di mithril (clicca col destro per raccogliere e ripiantare le prose) | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
|  | ||||
| ### soil.lua ### | ||||
| Soil=Terreno coltivabile | ||||
| Wet Soil=Terreno coltivabile bagnato | ||||
|  | ||||
| ### utensils.lua ### | ||||
| Wooden Bowl=Ciotola di legno | ||||
| Saucepan=Casseruola | ||||
| Cooking Pot=Pentola da cottura | ||||
| Baking Tray=Teglia da forno | ||||
| Skillet=Padella | ||||
| Mortar and Pestle=Mortaio e pestello | ||||
| Cutting Board=Tagliere | ||||
| Juicer=Spremiagrumi | ||||
| Glass Mixing Bowl=Terrina di vetro | ||||
|  | ||||
|  | ||||
| ###### folder ./crops ###### | ||||
|  | ||||
| ### barley.lua ### | ||||
| Barley Seed=Seme d'orzo | ||||
| Barley=Orzo | ||||
|  | ||||
| ### beans.lua ### | ||||
| Green Beans=Fagiolini | ||||
| Bean Pole (place on soil before planting beans)=Palina per fagiolini (mettila sul terreno coltivabile prima di piantare i fagiolini) | ||||
|  | ||||
| ### beetroot.lua ### | ||||
| Beetroot=Barbabietola | ||||
| Beetroot Soup=Zuppa di barbabietola | ||||
|  | ||||
| ### blueberry.lua ### | ||||
| Blueberries=Mirtilli | ||||
| Blueberry Muffin=Focaccina di mirtilli | ||||
| Blueberry Pie=Tortino di mirtilli | ||||
|  | ||||
| ### carrot.lua ## | ||||
| Carrot=Carota | ||||
| Carrot Juice=Succo di carota | ||||
| Golden Carrot=Carota d'oro | ||||
|  | ||||
| ### chili.lua ### | ||||
| Chili Pepper=Peperoncino | ||||
| Bowl of Chili=Ciotola di peperoncino | ||||
|  | ||||
| ### cocoa.lua ### | ||||
| Cocoa Beans=Chicchi di cacao | ||||
| Cookie=Biscotto | ||||
| Bar of Dark Chocolate=Barra di cioccolato fondente | ||||
| Chocolate Block=Blocco di cioccolato | ||||
|  | ||||
| ### coffee.lua ### | ||||
| Coffee Beans=Chicchi di caffè | ||||
| Cup of Coffee=Tazza di caffè | ||||
|  | ||||
| ### corn.lua ### | ||||
| Corn=Mais | ||||
| Corn on the Cob=Pannocchia arrostita | ||||
| Cornstarch=Amido di mais | ||||
| Bottle of Ethanol=Bottiglia di alcol etilico | ||||
|  | ||||
| ### cotton.lua ### | ||||
| Cotton Seed=Seme di cotone | ||||
| Cotton=Cotone | ||||
| String=Filo | ||||
|  | ||||
| ### cucumber.lua ### | ||||
| Cucumber=Cetriolo | ||||
|  | ||||
| ### garlic.lua ### | ||||
| Garlic clove=Spicchio d'aglio | ||||
| Garlic=Aglio | ||||
| Garlic Braid=Treccia d'aglio | ||||
|  | ||||
| ### grapes.lua ### | ||||
| Grapes=Chicchi d'uva | ||||
| Trellis (place on soil before planting grapes)=Graticcio (mettilo sul terreno coltivabile prima di piantare i chicchi d'uva) | ||||
|  | ||||
| ### hemp.lua ### | ||||
| Hemp Seed=Seme di canapa | ||||
| Hemp Leaf=Foglia di canapa | ||||
| Bottle of Hemp Oil=Bottiglia d'olio di canapa | ||||
| Hemp Fibre=Fibra di canapa | ||||
| Hemp Block=Blocco di canapa | ||||
| Hemp Rope=Corda di canapa | ||||
|  | ||||
| ### melon.lua ### | ||||
| Melon Slice=Fetta d'anguria | ||||
| Melon=Anguria | ||||
|  | ||||
| ### onion.lua ### | ||||
| Onion=Cipolla | ||||
|  | ||||
| ### peas.lua ### | ||||
| Pea Pod=Baccello di piselli | ||||
| Peas=Piselli | ||||
| Pea Soup=Zuppa di piselli | ||||
|  | ||||
| ### pepper.lua ### | ||||
| Peppercorn=Grano di pepe | ||||
| Pepper=Pepe | ||||
| Ground Pepper=Pepe macinato | ||||
|  | ||||
| ### pinapple.lua ### | ||||
| Pineapple Top=Cima d'ananas | ||||
| Pineapple=Ananas | ||||
| Pineapple Ring=Anello d'ananas | ||||
| Pineapple Juice=Succo d'ananas | ||||
|  | ||||
| ### potato.lua ### | ||||
| Potato=Patata | ||||
| Baked Potato=Patata arrostita | ||||
| Cucumber and Potato Salad=Insalata di patate e cetrioli | ||||
|  | ||||
| ### pumpkin.lua ### | ||||
| Pumpkin Slice=Fetta di zucca | ||||
| Jack 'O Lantern (punch to turn on and off)=Jack Lanterna (colpirlo per accenderlo e spegnerlo) | ||||
| Scarecrow Bottom=Fondo dello spaventapasseri | ||||
| Pumpkin Bread=Pane alla zucca | ||||
| Pumpkin Dough=Pasta di zucca | ||||
| Pumpkin=Zucca | ||||
|  | ||||
| ### raspberry.lua ### | ||||
| Raspberries=Lamponi | ||||
| Raspberry Smoothie=Purea di lamponi | ||||
|  | ||||
| ### rhubarb.lua ### | ||||
| Rhubarb=Rabarbaro | ||||
| Rhubarb Pie=Tortino al rabarbaro | ||||
|  | ||||
| ### ryeoatrice.lua ### | ||||
| Rye=Segale | ||||
| Rye seed=Seme di segale | ||||
| Oat=Avena | ||||
| Oat seed=Seme d'avena | ||||
| Rice=Riso | ||||
| Rice grains=Chicchi di riso | ||||
| Rice Bread=Pane di riso | ||||
| Rice Flour=Farina di riso | ||||
| Multigrain Flour=Farina multicereale | ||||
| Multigrain Bread=Pane multicereale | ||||
|  | ||||
| ### tomato.lua ### | ||||
| Tomato=Pomodoro | ||||
|  | ||||
| ### wheat.lua ### | ||||
| Wheat Seed=Seme di grano | ||||
| Wheat=Grano | ||||
| Straw=Paglia | ||||
| Flour=Farina | ||||
| Bread=Pane | ||||
| Sliced Bread=Pane a fette | ||||
| Toast=Pane tostato | ||||
| Toast Sandwich=Panino di pane tostato | ||||
							
								
								
									
										258
									
								
								locale/pt.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,258 @@ | ||||
| # Portuguese Translation for farming mod. | ||||
| # Copyright (C) 2017 | ||||
| # This file is distributed under the same license as the farming package. | ||||
| # BrunoMine <borgesdossantosbruno@gmail.com>, 2017. | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: 1.27\n" | ||||
| "Report-Msgid-Bugs-To: \n" | ||||
| "POT-Creation-Date: 2017-08-16 17:38-0300\n" | ||||
| "PO-Revision-Date: 2017-08-17 17:01-0300\n" | ||||
| "Last-Translator: BrunoMine <borgesdossantosbruno@gmail.com>\n" | ||||
| "Language-Team: \n" | ||||
| "Language: Portuguese\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| "X-Generator: Gtranslator 2.91.7\n" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley Seed" | ||||
| msgstr "Sementes de Cevada" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley" | ||||
| msgstr "Cevada" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Green Beans" | ||||
| msgstr "Feijoes Verdes" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Bean Pole (place on soil before planting beans)" | ||||
| msgstr "Apoio de feijao (coloque no solo antes de plantar feijao)" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberries" | ||||
| msgstr "Mirtilos" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberry Muffin" | ||||
| msgstr "Muffin de Mirtilos" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Carrot" | ||||
| msgstr "Cenoura" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Golden Carrot" | ||||
| msgstr "Cenoura Dourada" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cocoa Beans" | ||||
| msgstr "Amendoas de Cacau" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cookie" | ||||
| msgstr "Cookie" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Bar of Dark Chocolate" | ||||
| msgstr "Barra de Chocolate Preto" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Coffee Beans" | ||||
| msgstr "Grao de Cafe" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Drinking Cup (empty)" | ||||
| msgstr "Xicara (vazia)" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Cold Cup of Coffee" | ||||
| msgstr "Xicara de Cafe Frio" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Hot Cup of Coffee" | ||||
| msgstr "Xicara de Cafe Quente" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn" | ||||
| msgstr "Milho" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn on the Cob" | ||||
| msgstr "Espiga de Milho" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Bottle of Ethanol" | ||||
| msgstr "Garrafa de Etanol" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton Seed" | ||||
| msgstr "Sementes de Algodao" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton" | ||||
| msgstr "Algodao" | ||||
|  | ||||
| #: cucumber.lua | ||||
| msgid "Cucumber" | ||||
| msgstr "Pepino" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Donut" | ||||
| msgstr "Donut" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Chocolate Donut" | ||||
| msgstr "Donut de Chocolate" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Apple Donut" | ||||
| msgstr "Donut de Maça" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Grapes" | ||||
| msgstr "Uvas" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Trellis (place on soil before planting grapes)" | ||||
| msgstr "Grade de Ripas (colocar no solo antes de plantar uvas)" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Seed" | ||||
| msgstr "Sementes de Canhamo" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Leaf" | ||||
| msgstr "Folha de Canhamo" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Bottle of Hemp Oil" | ||||
| msgstr "Garrafa de Oleo de Canhamo" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Fibre" | ||||
| msgstr "Fibra de Canhamo" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Rope" | ||||
| msgstr "Corda de Canhamo" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Wooden Hoe" | ||||
| msgstr "Enxada de Madeira" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Stone Hoe" | ||||
| msgstr "Enxada de Pedra" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Steel Hoe" | ||||
| msgstr "Enxada de Aço" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Bronze Hoe" | ||||
| msgstr "Enxada de Bronze" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Mese Hoe" | ||||
| msgstr "Enxada de Mese" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Diamond Hoe" | ||||
| msgstr "Enxada de Diamante" | ||||
|  | ||||
| #: init.lua | ||||
| msgid "Seed" | ||||
| msgstr "Sementes" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon Slice" | ||||
| msgstr "Sementes de Melancia" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon" | ||||
| msgstr "Melancia" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Potato" | ||||
| msgstr "Batata" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Baked Potato" | ||||
| msgstr "Batata Cozida" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin" | ||||
| msgstr "Abobora" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Slice" | ||||
| msgstr "Pedaço de Abobora" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Jack 'O Lantern (punch to turn on and off)" | ||||
| msgstr "Jack 'O Lantern (Socos para ligar e desligar)" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Bread" | ||||
| msgstr "Pao de Abobora" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Dough" | ||||
| msgstr "Massa de Abobora" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberries" | ||||
| msgstr "Framboesa" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberry Smoothie" | ||||
| msgstr "Batida de Framboesa" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb" | ||||
| msgstr "Ruibarbo" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb Pie" | ||||
| msgstr "Torta de Ruibarbo" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Soil" | ||||
| msgstr "Solo" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Wet Soil" | ||||
| msgstr "Solo Seco" | ||||
|  | ||||
| #: sugar.lua | ||||
| msgid "Sugar" | ||||
| msgstr "Açucar" | ||||
|  | ||||
| #: tomato.lua | ||||
| msgid "Tomato" | ||||
| msgstr "Tomate" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat Seed" | ||||
| msgstr "Sementes de Trigo" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat" | ||||
| msgstr "Trigo" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Straw" | ||||
| msgstr "Palha" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Flour" | ||||
| msgstr "Farinha" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Bread" | ||||
| msgstr "Pao" | ||||
							
								
								
									
										195
									
								
								locale/pt.txt
									
									
									
									
									
								
							
							
						
						| @@ -1,195 +0,0 @@ | ||||
| # Portuguese translation of the farming mod by TenPlus1 | ||||
| # textdomain: farming | ||||
| # author: BrunoMine <borgesdossantosbruno@gmail.com> | ||||
| # author: TheDarkTiger | ||||
| # last update: 2020/Apr/26 | ||||
|  | ||||
| ###### folder . ###### | ||||
|  | ||||
| ### init.lua ### | ||||
| Seed=Sementes | ||||
|  | ||||
| ### compatibility.lua ### | ||||
| Banana= | ||||
| Banana Leaves= | ||||
| Orange= | ||||
| Strawberry= | ||||
|  | ||||
| ### food.lua ### | ||||
| Sugar=Açucar | ||||
| Salt= | ||||
| Rose Water= | ||||
| Turkish Delight= | ||||
| Garlic Bread= | ||||
| Donut=Donut | ||||
| Chocolate Donut=Donut de Chocolate | ||||
| Apple Donut=Donut de Maça | ||||
| Porridge= | ||||
| Jaffa Cake= | ||||
|  | ||||
| ### hoes.lua ### | ||||
| Hoe=Enxada | ||||
| Wooden Hoe=Enxada de Madeira | ||||
| Stone Hoe=Enxada de Pedra | ||||
| Steel Hoe=Enxada de Aço | ||||
| Bronze Hoe=Enxada de Bronze | ||||
| Mese Hoe=Enxada de Mese | ||||
| Diamond Hoe=Enxada de Diamante | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
| Hoe Bomb (use or throw on grassy areas to hoe land)= | ||||
| Mithril Scythe (Right-click to harvest and replant crops)= | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
|  | ||||
| ### soil.lua ### | ||||
| Soil=Solo | ||||
| Wet Soil=Solo Seco | ||||
|  | ||||
| ### utensils.lua ### | ||||
| Wooden Bowl= | ||||
| Saucepan= | ||||
| Cooking Pot= | ||||
| Baking Tray= | ||||
| Skillet= | ||||
| Mortar and Pestle= | ||||
| Cutting Board= | ||||
| Juicer= | ||||
| Glass Mixing Bowl= | ||||
|  | ||||
|  | ||||
| ###### folder ./crops ###### | ||||
|  | ||||
| ### barley.lua ### | ||||
| Barley Seed=Sementes de Cevada | ||||
| Barley=Cevada | ||||
|  | ||||
| ### beans.lua ### | ||||
| Green Beans=Feijoes Verdes | ||||
| Bean Pole (place on soil before planting beans)=Apoio de feijao (coloque no solo antes de plantar feijao) | ||||
|  | ||||
| ### beetroot.lua ### | ||||
| Beetroot= | ||||
| Beetroot Soup= | ||||
|  | ||||
| ### blueberry.lua ### | ||||
| Blueberries=Mirtilos | ||||
| Blueberry Muffin=Muffin de Mirtilos | ||||
| Blueberry Pie= | ||||
|  | ||||
| ### carrot.lua ## | ||||
| Carrot=Cenoura | ||||
| Carrot Juice= | ||||
| Golden Carrot=Cenoura Dourada | ||||
|  | ||||
| ### chili.lua ### | ||||
| Chili Pepper= | ||||
| Bowl of Chili= | ||||
|  | ||||
| ### cocoa.lua ### | ||||
| Cocoa Beans=Amendoas de Cacau | ||||
| Cookie=Cookie | ||||
| Bar of Dark Chocolate=Barra de Chocolate Preto | ||||
| Chocolate Block= | ||||
|  | ||||
| ### coffee.lua ### | ||||
| Coffee Beans=Grao de Cafe | ||||
| Cup of Coffee=Xicara de Cafe | ||||
|  | ||||
| ### corn.lua ### | ||||
| Corn=Milho | ||||
| Corn on the Cob=Espiga de Milho | ||||
| Cornstarch= | ||||
| Bottle of Ethanol=Garrafa de Etanol | ||||
|  | ||||
| ### cotton.lua ### | ||||
| Cotton Seed=Sementes de Algodao | ||||
| Cotton=Algodao | ||||
| String= | ||||
|  | ||||
| ### cucumber.lua ### | ||||
| Cucumber=Pepino | ||||
|  | ||||
| ### garlic.lua ### | ||||
| Garlic clove= | ||||
| Garlic= | ||||
| Garlic Braid= | ||||
|  | ||||
| ### grapes.lua ### | ||||
| Grapes=Uvas | ||||
| Trellis (place on soil before planting grapes)=Grade de Ripas (colocar no solo antes de plantar uvas) | ||||
|  | ||||
| ### hemp.lua ### | ||||
| Hemp Seed=Sementes de Canhamo | ||||
| Hemp Leaf=Folha de Canhamo | ||||
| Bottle of Hemp Oil=Garrafa de Oleo de Canhamo | ||||
| Hemp Fibre=Fibra de Canhamo | ||||
| Hemp Block= | ||||
| Hemp Rope=Corda de Canhamo | ||||
|  | ||||
| ### melon.lua ### | ||||
| Melon Slice=Sementes de Melancia | ||||
| Melon=Melancia | ||||
|  | ||||
| ### onion.lua ### | ||||
| Onion= | ||||
|  | ||||
| ### peas.lua ### | ||||
| Pea Pod= | ||||
| Peas= | ||||
| Pea Soup= | ||||
|  | ||||
| ### pepper.lua ### | ||||
| Peppercorn= | ||||
| Pepper= | ||||
| Ground Pepper= | ||||
|  | ||||
| ### pinapple.lua ### | ||||
| Pineapple Top= | ||||
| Pineapple= | ||||
| Pineapple Ring= | ||||
| Pineapple Juice= | ||||
|  | ||||
| ### potato.lua ### | ||||
| Potato=Batata | ||||
| Baked Potato=Batata Cozida | ||||
| Cucumber and Potato Salad= | ||||
|  | ||||
| ### pumpkin.lua ### | ||||
| Pumpkin Slice=Pedaço de Abobora | ||||
| Jack 'O Lantern (punch to turn on and off)=Jack 'O Lantern (Socos para ligar e desligar) | ||||
| Scarecrow Bottom= | ||||
| Pumpkin Bread=Pao de Abobora | ||||
| Pumpkin Dough=Massa de Abobora | ||||
| Pumpkin=Abobora | ||||
|  | ||||
| ### raspberry.lua ### | ||||
| Raspberries=Framboesa | ||||
| Raspberry Smoothie=Batida de Framboesa | ||||
|  | ||||
| ### rhubarb.lua ### | ||||
| Rhubarb=Ruibarbo | ||||
| Rhubarb Pie=Torta de Ruibarbo | ||||
|  | ||||
| ### ryeoatrice.lua ### | ||||
| Rye= | ||||
| Rye seed= | ||||
| Oat= | ||||
| Oat seed= | ||||
| Rice= | ||||
| Rice grains= | ||||
| Rice Bread= | ||||
| Rice Flour= | ||||
| Multigrain Flour= | ||||
| Multigrain Bread= | ||||
|  | ||||
| ### tomato.lua ### | ||||
| Tomato=Tomate | ||||
|  | ||||
| ### wheat.lua ### | ||||
| Wheat Seed=Sementes de Trigo | ||||
| Wheat=Trigo | ||||
| Straw=Palha | ||||
| Flour=Farinha | ||||
| Bread=Pao | ||||
| Sliced Bread= | ||||
| Toast= | ||||
| Toast Sandwich= | ||||
							
								
								
									
										262
									
								
								locale/ru.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,262 @@ | ||||
| # Russian translation for farming mod. | ||||
| # Copyright (C) 2018 | ||||
| # This file is distributed under the same license as the farming package. | ||||
| # codexp <codexp@gmx.net>, 2018. | ||||
| # | ||||
| #, fuzzy | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: 1.27\n" | ||||
| "Report-Msgid-Bugs-To: \n" | ||||
| "POT-Creation-Date: 2018-03-22 01:25+0100\n" | ||||
| "PO-Revision-Date: \n" | ||||
| "Last-Translator: \n" | ||||
| "Language-Team: \n" | ||||
| "Language: Russian\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley Seed" | ||||
| msgstr "семена ячменя" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley" | ||||
| msgstr "ячмень" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Green Beans" | ||||
| msgstr "зеленая фасоль" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Bean Pole (place on soil before planting beans)" | ||||
| msgstr "жердь для бобовых (установите на почву перед посадкой бобовых)" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberries" | ||||
| msgstr "голубика" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberry Muffin" | ||||
| msgstr "кекс из голубики" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Carrot" | ||||
| msgstr "морковь" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Golden Carrot" | ||||
| msgstr "золотая морковь" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cocoa Beans" | ||||
| msgstr "бобы какао" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cookie" | ||||
| msgstr "печенье" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Bar of Dark Chocolate" | ||||
| msgstr "плитка темного шоколада" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Coffee Beans" | ||||
| msgstr "кофе в зернах" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Drinking Cup (empty)" | ||||
| msgstr "чашка (пустая)" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Cold Cup of Coffee" | ||||
| msgstr "холодная чашка кофе" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Hot Cup of Coffee" | ||||
| msgstr "горячая чашка кофе" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn" | ||||
| msgstr "кукуруза" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn on the Cob" | ||||
| msgstr "початок кукурузы" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Bottle of Ethanol" | ||||
| msgstr "бутылка этилового спирта" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton Seed" | ||||
| msgstr "семена хлопка" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton" | ||||
| msgstr "хлопок" | ||||
|  | ||||
| #: cucumber.lua | ||||
| msgid "Cucumber" | ||||
| msgstr "огурец" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Donut" | ||||
| msgstr "пончик" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Chocolate Donut" | ||||
| msgstr "шоколадный пончик" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Apple Donut" | ||||
| msgstr "яблочный пончик" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Grapes" | ||||
| msgstr "виноград" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Trellis (place on soil before planting grapes)" | ||||
| msgstr "решетка (поставьте на почву для посадки винограда)" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Seed" | ||||
| msgstr "семена конопли" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Leaf" | ||||
| msgstr "листья конопли" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Bottle of Hemp Oil" | ||||
| msgstr "бутылка конопляного масла" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Fibre" | ||||
| msgstr "" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Rope" | ||||
| msgstr "Пенька" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Hoe" | ||||
| msgstr "мотыга" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Wooden Hoe" | ||||
| msgstr "деревянная мотыга" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Stone Hoe" | ||||
| msgstr "каменная мотыга" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Steel Hoe" | ||||
| msgstr "стальная мотыга" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Bronze Hoe" | ||||
| msgstr "бронзовая мотыга" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Mese Hoe" | ||||
| msgstr "магическая мотыга" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Diamond Hoe" | ||||
| msgstr "алмазная мотыга" | ||||
|  | ||||
| #: init.lua | ||||
| msgid "Seed" | ||||
| msgstr "семена" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon Slice" | ||||
| msgstr "ломтик арбуза" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon" | ||||
| msgstr "арбуз" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Potato" | ||||
| msgstr "картофель" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Baked Potato" | ||||
| msgstr "запеченный картофель" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin" | ||||
| msgstr "тыква" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Slice" | ||||
| msgstr "ломтик тыквы" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Jack 'O Lantern (punch to turn on and off)" | ||||
| msgstr "светильник джека (удар для включения и отключения)" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Bread" | ||||
| msgstr "тыквенный хлеб" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Dough" | ||||
| msgstr "тыквенное тесто" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberries" | ||||
| msgstr "малина" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberry Smoothie" | ||||
| msgstr "малиновый коктейль" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb" | ||||
| msgstr "ревень" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb Pie" | ||||
| msgstr "пирог из ревеня" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Soil" | ||||
| msgstr "земля" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Wet Soil" | ||||
| msgstr "мокрая земля" | ||||
|  | ||||
| #: sugar.lua | ||||
| msgid "Sugar" | ||||
| msgstr "сахар" | ||||
|  | ||||
| #: tomato.lua | ||||
| msgid "Tomato" | ||||
| msgstr "помидор" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat Seed" | ||||
| msgstr "" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat" | ||||
| msgstr "семена пшеницы" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Straw" | ||||
| msgstr "солома" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Flour" | ||||
| msgstr "мука" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Bread" | ||||
| msgstr "хлеб" | ||||
							
								
								
									
										195
									
								
								locale/ru.txt
									
									
									
									
									
								
							
							
						
						| @@ -1,195 +0,0 @@ | ||||
| # Russian translation of the farming mod by TenPlus1 | ||||
| # textdomain: farming | ||||
| # author: codexp <codexp@gmx.net> | ||||
| # author: TheDarkTiger | ||||
| # last update: 2020/Apr/26 | ||||
|  | ||||
| ###### folder . ###### | ||||
|  | ||||
| ### init.lua ### | ||||
| Seed=семена | ||||
|  | ||||
| ### compatibility.lua ### | ||||
| Banana= | ||||
| Banana Leaves= | ||||
| Orange= | ||||
| Strawberry= | ||||
|  | ||||
| ### food.lua ### | ||||
| Sugar=сахар | ||||
| Salt= | ||||
| Rose Water= | ||||
| Turkish Delight= | ||||
| Garlic Bread= | ||||
| Donut=пончик | ||||
| Chocolate Donut=шоколадный пончик | ||||
| Apple Donut=яблочный пончик | ||||
| Porridge= | ||||
| Jaffa Cake= | ||||
|  | ||||
| ### hoes.lua ### | ||||
| Hoe=мотыга | ||||
| Wooden Hoe=деревянная мотыга | ||||
| Stone Hoe=каменная мотыга | ||||
| Steel Hoe=стальная мотыга | ||||
| Bronze Hoe=бронзовая мотыга | ||||
| Mese Hoe=магическая мотыга | ||||
| Diamond Hoe=алмазная мотыга | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
| Hoe Bomb (use or throw on grassy areas to hoe land)= | ||||
| Mithril Scythe (Right-click to harvest and replant crops)= | ||||
| # Surcharge du mod [Toolranks] à faire # | ||||
|  | ||||
| ### soil.lua ### | ||||
| Soil=земля | ||||
| Wet Soil=мокрая земля | ||||
|  | ||||
| ### utensils.lua ### | ||||
| Wooden Bowl= | ||||
| Saucepan= | ||||
| Cooking Pot= | ||||
| Baking Tray= | ||||
| Skillet= | ||||
| Mortar and Pestle= | ||||
| Cutting Board= | ||||
| Juicer= | ||||
| Glass Mixing Bowl= | ||||
|  | ||||
|  | ||||
| ###### folder ./crops ###### | ||||
|  | ||||
| ### barley.lua ### | ||||
| Barley Seed=семена ячменя | ||||
| Barley=ячмень | ||||
|  | ||||
| ### beans.lua ### | ||||
| Green Beans=зеленая фасоль | ||||
| Bean Pole (place on soil before planting beans)=жердь для бобовых (установите на почву перед посадкой бобовых) | ||||
|  | ||||
| ### beetroot.lua ### | ||||
| Beetroot= | ||||
| Beetroot Soup= | ||||
|  | ||||
| ### blueberry.lua ### | ||||
| Blueberries=голубика | ||||
| Blueberry Muffin=кекс из голубики | ||||
| Blueberry Pie= | ||||
|  | ||||
| ### carrot.lua ## | ||||
| Carrot=морковь | ||||
| Carrot Juice= | ||||
| Golden Carrot=золотая морковь | ||||
|  | ||||
| ### chili.lua ### | ||||
| Chili Pepper= | ||||
| Bowl of Chili= | ||||
|  | ||||
| ### cocoa.lua ### | ||||
| Cocoa Beans=бобы какао | ||||
| Cookie=печенье | ||||
| Bar of Dark Chocolate=плитка темного шоколада | ||||
| Chocolate Block= | ||||
|  | ||||
| ### coffee.lua ### | ||||
| Coffee Beans=кофе в зернах | ||||
| Cup of Coffee=чашка кофе | ||||
|  | ||||
| ### corn.lua ### | ||||
| Corn=кукуруза | ||||
| Corn on the Cob=початок кукурузы | ||||
| Cornstarch= | ||||
| Bottle of Ethanol=бутылка этилового спирта | ||||
|  | ||||
| ### cotton.lua ### | ||||
| Cotton Seed=семена хлопка | ||||
| Cotton=хлопок | ||||
| String= | ||||
|  | ||||
| ### cucumber.lua ### | ||||
| Cucumber=огурец | ||||
|  | ||||
| ### garlic.lua ### | ||||
| Garlic clove= | ||||
| Garlic= | ||||
| Garlic Braid= | ||||
|  | ||||
| ### grapes.lua ### | ||||
| Grapes=виноград | ||||
| Trellis (place on soil before planting grapes)=решетка (поставьте на почву для посадки винограда) | ||||
|  | ||||
| ### hemp.lua ### | ||||
| Hemp Seed=семена конопли | ||||
| Hemp Leaf=листья конопли | ||||
| Bottle of Hemp Oil=бутылка конопляного масла | ||||
| Hemp Fibre= | ||||
| Hemp Block= | ||||
| Hemp Rope=Пенька | ||||
|  | ||||
| ### melon.lua ### | ||||
| Melon Slice=ломтик арбуза | ||||
| Melon=арбуз | ||||
|  | ||||
| ### onion.lua ### | ||||
| Onion= | ||||
|  | ||||
| ### peas.lua ### | ||||
| Pea Pod= | ||||
| Peas= | ||||
| Pea Soup= | ||||
|  | ||||
| ### pepper.lua ### | ||||
| Peppercorn= | ||||
| Pepper= | ||||
| Ground Pepper= | ||||
|  | ||||
| ### pinapple.lua ### | ||||
| Pineapple Top= | ||||
| Pineapple= | ||||
| Pineapple Ring= | ||||
| Pineapple Juice= | ||||
|  | ||||
| ### potato.lua ### | ||||
| Potato=картофель | ||||
| Baked Potato=запеченный картофель | ||||
| Cucumber and Potato Salad= | ||||
|  | ||||
| ### pumpkin.lua ### | ||||
| Pumpkin Slice=ломтик тыквы | ||||
| Jack 'O Lantern (punch to turn on and off)=светильник джека (удар для включения и отключения) | ||||
| Scarecrow Bottom= | ||||
| Pumpkin Bread=тыквенный хлеб | ||||
| Pumpkin Dough=тыквенное тесто | ||||
| Pumpkin=тыква | ||||
|  | ||||
| ### raspberry.lua ### | ||||
| Raspberries=малина | ||||
| Raspberry Smoothie=малиновый коктейль | ||||
|  | ||||
| ### rhubarb.lua ### | ||||
| Rhubarb=ревень | ||||
| Rhubarb Pie=пирог из ревеня | ||||
|  | ||||
| ### ryeoatrice.lua ### | ||||
| Rye= | ||||
| Rye seed= | ||||
| Oat= | ||||
| Oat seed= | ||||
| Rice= | ||||
| Rice grains= | ||||
| Rice Bread= | ||||
| Rice Flour= | ||||
| Multigrain Flour= | ||||
| Multigrain Bread= | ||||
|  | ||||
| ### tomato.lua ### | ||||
| Tomato=помидор | ||||
|  | ||||
| ### wheat.lua ### | ||||
| Wheat Seed= | ||||
| Wheat=семена пшеницы | ||||
| Straw=солома | ||||
| Flour=мука | ||||
| Bread=хлеб | ||||
| Sliced Bread= | ||||
| Toast= | ||||
| Toast Sandwich= | ||||
							
								
								
									
										258
									
								
								locale/template.pot
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,258 @@ | ||||
| # SOME DESCRIPTIVE TITLE. | ||||
| # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||||
| # This file is distributed under the same license as the PACKAGE package. | ||||
| # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||||
| # | ||||
| #, fuzzy | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: PACKAGE VERSION\n" | ||||
| "Report-Msgid-Bugs-To: \n" | ||||
| "POT-Creation-Date: 2017-08-16 17:38-0300\n" | ||||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
| "Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| "Language: \n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=CHARSET\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley Seed" | ||||
| msgstr "" | ||||
|  | ||||
| #: barley.lua | ||||
| msgid "Barley" | ||||
| msgstr "" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Green Beans" | ||||
| msgstr "" | ||||
|  | ||||
| #: beanpole.lua | ||||
| msgid "Bean Pole (place on soil before planting beans)" | ||||
| msgstr "" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberries" | ||||
| msgstr "" | ||||
|  | ||||
| #: blueberry.lua | ||||
| msgid "Blueberry Muffin" | ||||
| msgstr "" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Carrot" | ||||
| msgstr "" | ||||
|  | ||||
| #: carrot.lua | ||||
| msgid "Golden Carrot" | ||||
| msgstr "" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cocoa Beans" | ||||
| msgstr "" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Cookie" | ||||
| msgstr "" | ||||
|  | ||||
| #: cocoa.lua | ||||
| msgid "Bar of Dark Chocolate" | ||||
| msgstr "" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Coffee Beans" | ||||
| msgstr "" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Drinking Cup (empty)" | ||||
| msgstr "" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Cold Cup of Coffee" | ||||
| msgstr "" | ||||
|  | ||||
| #: coffee.lua | ||||
| msgid "Hot Cup of Coffee" | ||||
| msgstr "" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn" | ||||
| msgstr "" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Corn on the Cob" | ||||
| msgstr "" | ||||
|  | ||||
| #: corn.lua | ||||
| msgid "Bottle of Ethanol" | ||||
| msgstr "" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton Seed" | ||||
| msgstr "" | ||||
|  | ||||
| #: cotton.lua | ||||
| msgid "Cotton" | ||||
| msgstr "" | ||||
|  | ||||
| #: cucumber.lua | ||||
| msgid "Cucumber" | ||||
| msgstr "" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Donut" | ||||
| msgstr "" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Chocolate Donut" | ||||
| msgstr "" | ||||
|  | ||||
| #: donut.lua | ||||
| msgid "Apple Donut" | ||||
| msgstr "" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Grapes" | ||||
| msgstr "" | ||||
|  | ||||
| #: grapes.lua | ||||
| msgid "Trellis (place on soil before planting grapes)" | ||||
| msgstr "" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Seed" | ||||
| msgstr "" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Leaf" | ||||
| msgstr "" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Bottle of Hemp Oil" | ||||
| msgstr "" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Fibre" | ||||
| msgstr "" | ||||
|  | ||||
| #: hemp.lua | ||||
| msgid "Hemp Rope" | ||||
| msgstr "" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Wooden Hoe" | ||||
| msgstr "" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Stone Hoe" | ||||
| msgstr "" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Steel Hoe" | ||||
| msgstr "" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Bronze Hoe" | ||||
| msgstr "" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Mese Hoe" | ||||
| msgstr "" | ||||
|  | ||||
| #: hoes.lua | ||||
| msgid "Diamond Hoe" | ||||
| msgstr "" | ||||
|  | ||||
| #: init.lua | ||||
| msgid "Seed" | ||||
| msgstr "" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon Slice" | ||||
| msgstr "" | ||||
|  | ||||
| #: melon.lua | ||||
| msgid "Melon" | ||||
| msgstr "" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Potato" | ||||
| msgstr "" | ||||
|  | ||||
| #: potato.lua | ||||
| msgid "Baked Potato" | ||||
| msgstr "" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin" | ||||
| msgstr "" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Slice" | ||||
| msgstr "" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Jack 'O Lantern (punch to turn on and off)" | ||||
| msgstr "" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Bread" | ||||
| msgstr "" | ||||
|  | ||||
| #: pumpkin.lua | ||||
| msgid "Pumpkin Dough" | ||||
| msgstr "" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberries" | ||||
| msgstr "" | ||||
|  | ||||
| #: raspberry.lua | ||||
| msgid "Raspberry Smoothie" | ||||
| msgstr "" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb" | ||||
| msgstr "" | ||||
|  | ||||
| #: rhubarb.lua | ||||
| msgid "Rhubarb Pie" | ||||
| msgstr "" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Soil" | ||||
| msgstr "" | ||||
|  | ||||
| #: soil.lua | ||||
| msgid "Wet Soil" | ||||
| msgstr "" | ||||
|  | ||||
| #: sugar.lua | ||||
| msgid "Sugar" | ||||
| msgstr "" | ||||
|  | ||||
| #: tomato.lua | ||||
| msgid "Tomato" | ||||
| msgstr "" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat Seed" | ||||
| msgstr "" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Wheat" | ||||
| msgstr "" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Straw" | ||||
| msgstr "" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Flour" | ||||
| msgstr "" | ||||
|  | ||||
| #: wheat.lua | ||||
| msgid "Bread" | ||||
| msgstr "" | ||||
| @@ -1,194 +0,0 @@ | ||||
| # Translation of the farming mod by TenPlus1 | ||||
| # textdomain: farming | ||||
| # author: (you) | ||||
| # last update: 2020/Apr/26 | ||||
|  | ||||
| ###### folder . ###### | ||||
|  | ||||
| ### init.lua ### | ||||
| Seed= | ||||
|  | ||||
| ### compatibility.lua ### | ||||
| Banana= | ||||
| Banana Leaves= | ||||
| Orange= | ||||
| Strawberry= | ||||
|  | ||||
| ### food.lua ### | ||||
| Sugar= | ||||
| Salt= | ||||
| Rose Water= | ||||
| Turkish Delight= | ||||
| Garlic Bread= | ||||
| Donut= | ||||
| Chocolate Donut= | ||||
| Apple Donut= | ||||
| Porridge= | ||||
| Jaffa Cake= | ||||
|  | ||||
| ### hoes.lua ### | ||||
| Hoe= | ||||
| Wooden Hoe= | ||||
| Stone Hoe= | ||||
| Steel Hoe= | ||||
| Bronze Hoe= | ||||
| Mese Hoe= | ||||
| Diamond Hoe= | ||||
| # Surcharge du mod [Toolranks] <20> faire # | ||||
| Hoe Bomb (use or throw on grassy areas to hoe land)= | ||||
| Mithril Scythe (Right-click to harvest and replant crops)= | ||||
| # Surcharge du mod [Toolranks] <20> faire # | ||||
|  | ||||
| ### soil.lua ### | ||||
| Soil= | ||||
| Wet Soil= | ||||
|  | ||||
| ### utensils.lua ### | ||||
| Wooden Bowl= | ||||
| Saucepan= | ||||
| Cooking Pot= | ||||
| Baking Tray= | ||||
| Skillet= | ||||
| Mortar and Pestle= | ||||
| Cutting Board= | ||||
| Juicer= | ||||
| Glass Mixing Bowl= | ||||
|  | ||||
|  | ||||
| ###### folder ./crops ###### | ||||
|  | ||||
| ### barley.lua ### | ||||
| Barley Seed= | ||||
| Barley= | ||||
|  | ||||
| ### beans.lua ### | ||||
| Green Beans= | ||||
| Bean Pole (place on soil before planting beans)= | ||||
|  | ||||
| ### beetroot.lua ### | ||||
| Beetroot= | ||||
| Beetroot Soup= | ||||
|  | ||||
| ### blueberry.lua ### | ||||
| Blueberries= | ||||
| Blueberry Muffin= | ||||
| Blueberry Pie= | ||||
|  | ||||
| ### carrot.lua ## | ||||
| Carrot= | ||||
| Carrot Juice= | ||||
| Golden Carrot= | ||||
|  | ||||
| ### chili.lua ### | ||||
| Chili Pepper= | ||||
| Bowl of Chili= | ||||
|  | ||||
| ### cocoa.lua ### | ||||
| Cocoa Beans= | ||||
| Cookie= | ||||
| Bar of Dark Chocolate= | ||||
| Chocolate Block= | ||||
|  | ||||
| ### coffee.lua ### | ||||
| Coffee Beans= | ||||
| Cup of Coffee= | ||||
|  | ||||
| ### corn.lua ### | ||||
| Corn= | ||||
| Corn on the Cob= | ||||
| Cornstarch= | ||||
| Bottle of Ethanol= | ||||
|  | ||||
| ### cotton.lua ### | ||||
| Cotton Seed= | ||||
| Cotton= | ||||
| String= | ||||
|  | ||||
| ### cucumber.lua ### | ||||
| Cucumber= | ||||
|  | ||||
| ### garlic.lua ### | ||||
| Garlic clove= | ||||
| Garlic= | ||||
| Garlic Braid= | ||||
|  | ||||
| ### grapes.lua ### | ||||
| Grapes= | ||||
| Trellis (place on soil before planting grapes)= | ||||
|  | ||||
| ### hemp.lua ### | ||||
| Hemp Seed= | ||||
| Hemp Leaf= | ||||
| Bottle of Hemp Oil= | ||||
| Hemp Fibre= | ||||
| Hemp Block= | ||||
| Hemp Rope= | ||||
|  | ||||
| ### melon.lua ### | ||||
| Melon Slice= | ||||
| Melon= | ||||
|  | ||||
| ### onion.lua ### | ||||
| Onion= | ||||
|  | ||||
| ### peas.lua ### | ||||
| Pea Pod= | ||||
| Peas= | ||||
| Pea Soup= | ||||
|  | ||||
| ### pepper.lua ### | ||||
| Peppercorn= | ||||
| Pepper= | ||||
| Ground Pepper= | ||||
|  | ||||
| ### pinapple.lua ### | ||||
| Pineapple Top= | ||||
| Pineapple= | ||||
| Pineapple Ring= | ||||
| Pineapple Juice= | ||||
|  | ||||
| ### potato.lua ### | ||||
| Potato= | ||||
| Baked Potato= | ||||
| Cucumber and Potato Salad= | ||||
|  | ||||
| ### pumpkin.lua ### | ||||
| Pumpkin Slice= | ||||
| Jack 'O Lantern (punch to turn on and off)= | ||||
| Scarecrow Bottom= | ||||
| Pumpkin Bread= | ||||
| Pumpkin Dough= | ||||
| Pumpkin= | ||||
|  | ||||
| ### raspberry.lua ### | ||||
| Raspberries= | ||||
| Raspberry Smoothie= | ||||
|  | ||||
| ### rhubarb.lua ### | ||||
| Rhubarb= | ||||
| Rhubarb Pie= | ||||
|  | ||||
| ### ryeoatrice.lua ### | ||||
| Rye= | ||||
| Rye seed= | ||||
| Oat= | ||||
| Oat seed= | ||||
| Rice= | ||||
| Rice grains= | ||||
| Rice Bread= | ||||
| Rice Flour= | ||||
| Multigrain Flour= | ||||
| Multigrain Bread= | ||||
|  | ||||
| ### tomato.lua ### | ||||
| Tomato= | ||||
|  | ||||
| ### wheat.lua ### | ||||
| Wheat Seed= | ||||
| Wheat= | ||||
| Straw= | ||||
| Flour= | ||||
| Bread= | ||||
| Sliced Bread= | ||||
| Toast= | ||||
| Toast Sandwich= | ||||
							
								
								
									
										30
									
								
								mapgen.lua
									
									
									
									
									
								
							
							
						
						| @@ -34,10 +34,9 @@ end | ||||
| -- add crops to mapgen | ||||
| register_plant("potato_3", 15, 40, nil, "", -1, farming.potato) | ||||
| register_plant("tomato_7", 5, 20, nil, "", -1, farming.tomato) | ||||
| register_plant("corn_7", 12, 22, nil, "", -1, nil) | ||||
| register_plant("corn_7", 12, 22, nil, "", -1, farming.corn) | ||||
| register_plant("coffee_5", 20, 45, {"default:dirt_with_dry_grass", | ||||
| 	"default:dirt_with_rainforest_litter", | ||||
| 	"default:dry_dirt_with_dry_grass"}, "", -1, farming.coffee) | ||||
| 	"default:dirt_with_rainforest_litter"}, "", -1, farming.coffee) | ||||
| register_plant("raspberry_4", 3, 10, nil, "", -1, farming.raspberry) | ||||
| register_plant("rhubarb_3", 3, 15, nil, "", -1, farming.rhubarb) | ||||
| register_plant("blueberry_4", 3, 10, nil, "", -1, farming.blueberry) | ||||
| @@ -47,8 +46,6 @@ register_plant("onion_5", 5, 22, nil, "", -1, farming.onion) | ||||
| register_plant("garlic_5", 3, 30, nil, "group:tree", 1, farming.garlic) | ||||
| register_plant("pea_5", 25, 50, nil, "", -1, farming.peas) | ||||
| register_plant("beetroot_5", 1, 15, nil, "", -1, farming.beetroot) | ||||
| register_plant("mint_4", 1, 75, {"default:dirt_with_grass", | ||||
| "default:dirt_with_coniferous_litter"}, "group:water", 1, farming.mint) | ||||
|  | ||||
|  | ||||
| if minetest.get_mapgen_setting("mg_name") == "v6" then | ||||
| @@ -59,7 +56,7 @@ if minetest.get_mapgen_setting("mg_name") == "v6" then | ||||
| 	register_plant("pumpkin_8", 1, 20, nil, "group:water", 1, farming.pumpkin) | ||||
| else | ||||
| 	-- v7 maps have a beach so plants growing near water is limited to 6 high | ||||
| 	register_plant("carrot_8", 1, 15, nil, "", -1, nil) | ||||
| 	register_plant("carrot_8", 1, 15, nil, "", -1, farming.carrot) | ||||
| 	register_plant("cucumber_4", 1, 10, nil, "", -1, farming.cucumber) | ||||
| 	register_plant("melon_8", 1, 6, {"default:dirt_with_dry_grass", | ||||
| 		"default:dirt_with_rainforest_litter"}, "", -1, farming.melon) | ||||
| @@ -132,7 +129,7 @@ end | ||||
| if farming.pineapple then | ||||
| minetest.register_decoration({ | ||||
| 	deco_type = "simple", | ||||
| 	place_on = {"default:dirt_with_dry_grass", "default:dry_dirt_with_dry_grass"}, | ||||
| 	place_on = {"default:dirt_with_dry_grass"}, | ||||
| 	sidelen = 16, | ||||
| 	noise_params = { | ||||
| 		offset = 0, | ||||
| @@ -147,22 +144,3 @@ minetest.register_decoration({ | ||||
| 	decoration = {"farming:pineapple_8"}, | ||||
| }) | ||||
| end | ||||
|  | ||||
| minetest.register_decoration({ | ||||
| 	name = "farming:cotton_wild", | ||||
| 	deco_type = "simple", | ||||
| 	place_on = {"default:dry_dirt_with_dry_grass"}, | ||||
| 	sidelen = 16, | ||||
| 	noise_params = { | ||||
| 		offset = -0.1, | ||||
| 		scale = 0.1, | ||||
| 		spread = {x = 50, y = 50, z = 50}, | ||||
| 		seed = 4242, | ||||
| 		octaves = 3, | ||||
| 		persist = 0.7 | ||||
| 	}, | ||||
| 	biomes = {"savanna"}, | ||||
| 	y_max = 31000, | ||||
| 	y_min = 1, | ||||
| 	decoration = "farming:cotton_wild", | ||||
| }) | ||||
|   | ||||
| @@ -1,2 +0,0 @@ | ||||
| #    Contains a value used for speed of crop growth in seconds | ||||
| farming_stage_length (Farming Stage Length) float 160.0 | ||||
							
								
								
									
										136
									
								
								soil.lua
									
									
									
									
									
								
							
							
						
						| @@ -1,143 +1,37 @@ | ||||
|  | ||||
| local S = farming.intllib | ||||
|  | ||||
| -- add soil types to existing dirt blocks | ||||
| minetest.override_item("default:dirt", { | ||||
| 	soil = { | ||||
| 		base = "default:dirt", | ||||
| 		dry = "farming:soil", | ||||
| 		wet = "farming:soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.override_item("default:dirt_with_grass", { | ||||
| 	soil = { | ||||
| 		base = "default:dirt_with_grass", | ||||
| 		dry = "farming:soil", | ||||
| 		wet = "farming:soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.override_item("default:dirt_with_dry_grass", { | ||||
| 	soil = { | ||||
| 		base = "default:dirt_with_dry_grass", | ||||
| 		dry = "farming:soil", | ||||
| 		wet = "farming:soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.override_item("default:dirt_with_rainforest_litter", { | ||||
| 	soil = { | ||||
| 		base = "default:dirt_with_rainforest_litter", | ||||
| 		dry = "farming:soil", | ||||
| 		wet = "farming:soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.override_item("default:dirt_with_coniferous_litter", { | ||||
| 	soil = { | ||||
| 		base = "default:dirt_with_coniferous_litter", | ||||
| 		dry = "farming:soil", | ||||
| 		wet = "farming:soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.override_item("default:dry_dirt", { | ||||
| 	soil = { | ||||
| 		base = "default:dry_dirt", | ||||
| 		dry = "farming:dry_soil", | ||||
| 		wet = "farming:dry_soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.override_item("default:dry_dirt_with_dry_grass", { | ||||
| 	soil = { | ||||
| 		base = "default:dry_dirt_with_dry_grass", | ||||
| 		dry = "farming:dry_soil", | ||||
| 		wet = "farming:dry_soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| -- normal soil | ||||
| minetest.register_node("farming:soil", { | ||||
| 	description = S("Soil"), | ||||
| 	tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"}, | ||||
| 	drop = "default:dirt", | ||||
| 	groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2, field = 1}, | ||||
| 	groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2}, | ||||
| 	sounds = default.node_sound_dirt_defaults(), | ||||
| 	soil = { | ||||
| 		base = "default:dirt", | ||||
| 		dry = "farming:soil", | ||||
| 		wet = "farming:soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| -- wet soil | ||||
| minetest.register_node("farming:soil_wet", { | ||||
| 	description = S("Wet Soil"), | ||||
| 	tiles = { | ||||
| 		"default_dirt.png^farming_soil_wet.png", | ||||
| 		"default_dirt.png^farming_soil_wet_side.png"}, | ||||
| 	tiles = {"default_dirt.png^farming_soil_wet.png", "default_dirt.png^farming_soil_wet_side.png"}, | ||||
| 	drop = "default:dirt", | ||||
| 	groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3, field = 1}, | ||||
| 	groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3}, | ||||
| 	sounds = default.node_sound_dirt_defaults(), | ||||
| 	soil = { | ||||
| 		base = "default:dirt", | ||||
| 		dry = "farming:soil", | ||||
| 		wet = "farming:soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| -- savanna soil | ||||
| if minetest.registered_nodes["default:dry_dirt"] then | ||||
| minetest.register_node("farming:dry_soil", { | ||||
| 	description = S("Savanna Soil"), | ||||
| 	tiles = { | ||||
| 		"default_dry_dirt.png^farming_soil.png", | ||||
| 		"default_dry_dirt.png"}, | ||||
| 	drop = "default:dry_dirt", | ||||
| 	groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2, field = 1}, | ||||
| 	sounds = default.node_sound_dirt_defaults(), | ||||
| 	soil = { | ||||
| 		base = "default:dry_dirt", | ||||
| 		dry = "farming:dry_soil", | ||||
| 		wet = "farming:dry_soil_wet" | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.register_node("farming:dry_soil_wet", { | ||||
| 	description = S("Wet Savanna Soil"), | ||||
| 	tiles = { | ||||
| 		"default_dry_dirt.png^farming_soil_wet.png", | ||||
| 		"default_dry_dirt.png^farming_soil_wet_side.png"}, | ||||
| 	drop = "default:dry_dirt", | ||||
| 	groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3, field = 1}, | ||||
| 	sounds = default.node_sound_dirt_defaults(), | ||||
| 	soil = { | ||||
| 		base = "default:dry_dirt", | ||||
| 		dry = "farming:dry_soil", | ||||
| 		wet = "farming:dry_soil_wet" | ||||
| 	} | ||||
| }) | ||||
| end | ||||
|  | ||||
| -- sand is not soil, change existing sand-soil to use dry soil | ||||
| minetest.register_alias("farming:desert_sand_soil", "farming:dry_soil") | ||||
| minetest.register_alias("farming:desert_sand_soil_wet", "farming:dry_soil_wet") | ||||
| -- sand is not soil, change existing sand-soil to use normal soil | ||||
| minetest.register_alias("farming:desert_sand_soil", "farming:soil") | ||||
| minetest.register_alias("farming:desert_sand_soil_wet", "farming:soil_wet") | ||||
|  | ||||
| -- if water near soil then change to wet soil | ||||
| minetest.register_abm({ | ||||
| 	nodenames = {"group:field"}, | ||||
| 	nodenames = {"farming:soil", "farming:soil_wet"}, | ||||
| 	interval = 15, | ||||
| 	chance = 4, | ||||
| 	catch_up = false, | ||||
|  | ||||
| 	action = function(pos, node) | ||||
|  | ||||
| 		local ndef = minetest.registered_nodes[node.name] | ||||
| 		if not ndef or not ndef.soil or not ndef.soil.wet | ||||
| 		or not ndef.soil.base or not ndef.soil.dry then return end | ||||
|  | ||||
| 		pos.y = pos.y + 1 | ||||
| 		local nn = minetest.get_node_or_nil(pos) | ||||
| 		pos.y = pos.y - 1 | ||||
| @@ -157,20 +51,24 @@ minetest.register_abm({ | ||||
| 			return | ||||
| 		end | ||||
|  | ||||
| 		-- check if there is water nearby and change soil accordingly | ||||
| --		if minetest.find_node_near(pos, 3, {"group:water"}) then | ||||
|  | ||||
| 		-- check if water is within 3 nodes horizontally and 1 below | ||||
| 		if #minetest.find_nodes_in_area( | ||||
| 				{x = pos.x + 3, y = pos.y - 1, z = pos.z + 3}, | ||||
| 				{x = pos.x - 3, y = pos.y    , z = pos.z - 3}, | ||||
| 				{"group:water"}) > 0 then | ||||
|  | ||||
| 			minetest.set_node(pos, {name = ndef.soil.wet}) | ||||
| 			if node.name == "farming:soil" then | ||||
| 				minetest.set_node(pos, {name = "farming:soil_wet"}) | ||||
| 			end | ||||
|  | ||||
| 		elseif node.name == ndef.soil.wet then | ||||
| 			minetest.set_node(pos, {name = ndef.soil.dry}) | ||||
| 		elseif node.name == "farming:soil_wet" then | ||||
| 			minetest.set_node(pos, {name = "farming:soil"}) | ||||
|  | ||||
| 		elseif node.name == ndef.soil.dry | ||||
| 		and minetest.get_item_group(nn, "plant") == 0 then | ||||
| 			minetest.set_node(pos, {name = ndef.soil.base}) | ||||
| 		elseif node.name == "farming:soil" and minetest.get_item_group(nn, "plant") == 0 then | ||||
| 			minetest.set_node(pos, {name = "default:dirt"}) | ||||
| 		end | ||||
| 	end, | ||||
| }) | ||||
|   | ||||
| Before Width: | Height: | Size: 200 B | 
| Before Width: | Height: | Size: 144 B | 
| Before Width: | Height: | Size: 228 B | 
| Before Width: | Height: | Size: 114 B | 
| Before Width: | Height: | Size: 122 B | 
| Before Width: | Height: | Size: 132 B | 
| Before Width: | Height: | Size: 174 B | 
| Before Width: | Height: | Size: 158 B | 
| Before Width: | Height: | Size: 143 B | 
| Before Width: | Height: | Size: 166 B | 
| Before Width: | Height: | Size: 161 B |