diff --git a/README.md b/README.md index 128bf76..17ecc56 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,9 @@ 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.41 - Each crop has it's own spawn rate (can be changed in farming.conf) diff --git a/api.txt b/api.txt index acec5a0..81092c6 100644 --- a/api.txt +++ b/api.txt @@ -21,7 +21,7 @@ The farming API allows you to easily register plants and hoes. { - description = "", -- Description for tooltip + description = "My Hoe", -- 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 = "", -- Description of seed item + description = "My Plant", -- 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) diff --git a/compatibility.lua b/compatibility.lua index 808000d..dc9aff6 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -1,4 +1,6 @@ +local S = farming.intllib + --= Helpers local eth = minetest.get_modpath("ethereal") @@ -29,7 +31,7 @@ if eth then alias("farming_plus:banana", "ethereal:banana") else minetest.register_node(":ethereal:banana", { - description = "Banana", + description = S("Banana"), drawtype = "torchlike", tiles = {"banana_single.png"}, inventory_image = "banana_single.png", @@ -47,7 +49,7 @@ else }) minetest.register_node(":ethereal:bananaleaves", { - description = "Banana Leaves", + description = S("Banana Leaves"), tiles = {"banana_leaf.png"}, inventory_image = "banana_leaf.png", wield_image = "banana_leaf.png", @@ -87,7 +89,7 @@ if eth then alias("farming_plus:orange_seed", "ethereal:orange_tree_sapling") else minetest.register_node(":ethereal:orange", { - description = "Orange", + description = S("Orange"), drawtype = "plantlike", tiles = {"farming_orange.png"}, inventory_image = "farming_orange.png", @@ -145,7 +147,7 @@ if eth then alias("farming_plus:strawberry", "ethereal:strawberry_7") else minetest.register_craftitem(":ethereal:strawberry", { - description = "Strawberry", + description = S("Strawberry"), inventory_image = "strawberry.png", wield_image = "strawberry.png", groups = {food_strawberry = 1, flammable = 2}, diff --git a/crops/corn.lua b/crops/corn.lua index eef547a..8e39fb7 100644 --- a/crops/corn.lua +++ b/crops/corn.lua @@ -74,6 +74,7 @@ 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"}, } }) diff --git a/crops/cotton.lua b/crops/cotton.lua index 24dc7bb..c5baf5b 100644 --- a/crops/cotton.lua +++ b/crops/cotton.lua @@ -1,6 +1,27 @@ 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"), diff --git a/crops/hemp.lua b/crops/hemp.lua index e08384c..583b7da 100644 --- a/crops/hemp.lua +++ b/crops/hemp.lua @@ -134,7 +134,7 @@ end -- paper minetest.register_craft( { - output = "default:paper", + output = "default:paper 3", recipe = { {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"}, } @@ -142,7 +142,7 @@ minetest.register_craft( { -- string minetest.register_craft( { - output = "farming:cotton", + output = "farming:cotton 3", recipe = { {"farming:hemp_fibre"}, {"farming:hemp_fibre"}, diff --git a/crops/melon.lua b/crops/melon.lua index 3fda9f6..88f4a1b 100644 --- a/crops/melon.lua +++ b/crops/melon.lua @@ -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 = 1, oddly_breakable_by_hand = 1, + food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1, flammable = 2, plant = 1 } --crop_def.drop = "farming:melon_slice 9" diff --git a/crops/mint.lua b/crops/mint.lua new file mode 100644 index 0000000..96b2f46 --- /dev/null +++ b/crops/mint.lua @@ -0,0 +1,91 @@ + +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 +} diff --git a/crops/onion.lua b/crops/onion.lua index 72a425e..ba8c301 100644 --- a/crops/onion.lua +++ b/crops/onion.lua @@ -7,7 +7,7 @@ local S = farming.intllib --- potato +-- onion minetest.register_craftitem("farming:onion", { description = S("Onion"), inventory_image = "crops_onion.png", @@ -18,6 +18,25 @@ minetest.register_craftitem("farming:onion", { 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", diff --git a/crops/pepper.lua b/crops/pepper.lua index 6770888..ea07b4e 100644 --- a/crops/pepper.lua +++ b/crops/pepper.lua @@ -33,7 +33,7 @@ minetest.register_craft({ -- ground pepper minetest.register_node("farming:pepper_ground", { - description = ("Ground Pepper"), + description = S("Ground Pepper"), inventory_image = "crops_pepper_ground.png", wield_image = "crops_pepper_ground.png", drawtype = "plantlike", diff --git a/crops/pumpkin.lua b/crops/pumpkin.lua index 1e937db..57f8a14 100644 --- a/crops/pumpkin.lua +++ b/crops/pumpkin.lua @@ -88,6 +88,7 @@ minetest.register_craft({ --- wooden scarecrow base minetest.register_node("farming:scarecrow_bottom", { + description = S("Scarecrow Bottom"), paramtype = "light", sunlight_propagates = true, paramtype2 = "facedir", @@ -203,9 +204,10 @@ minetest.register_node("farming:pumpkin_8", { "farming_pumpkin_side.png" }, groups = { - food_pumpkin = 1, choppy = 1, oddly_breakable_by_hand = 1, + food_pumpkin = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, plant = 1 }, + drop = "farming:pumpkin_8", sounds = default.node_sound_wood_defaults(), }) diff --git a/crops/ryeoatrice.lua b/crops/ryeoatrice.lua index d064626..d362d09 100644 --- a/crops/ryeoatrice.lua +++ b/crops/ryeoatrice.lua @@ -6,7 +6,7 @@ local S = farming.intllib -- Rye farming.register_plant("farming:rye", { - description = "Rye seed", + description = S("Rye seed"), paramtype2 = "meshoptions", inventory_image = "farming_rye_seed.png", steps = 8, @@ -14,6 +14,7 @@ farming.register_plant("farming:rye", { }) minetest.override_item("farming:rye", { + description = S("Rye"), groups = {food_rye = 1, flammable = 4} }) @@ -30,7 +31,7 @@ minetest.register_craft({ -- Oats farming.register_plant("farming:oat", { - description = "Oat seed", + description = S("Oat seed"), paramtype2 = "meshoptions", inventory_image = "farming_oat_seed.png", steps = 8, @@ -38,6 +39,7 @@ farming.register_plant("farming:oat", { }) minetest.override_item("farming:oat", { + description = S("Oats"), groups = {food_oats = 1, flammable = 4} }) @@ -54,7 +56,7 @@ minetest.register_craft({ -- Rice farming.register_plant("farming:rice", { - description = "Rice grains", + description = S("Rice grains"), paramtype2 = "meshoptions", inventory_image = "farming_rice_seed.png", steps = 8, @@ -62,18 +64,19 @@ 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 = "Rice Bread", + description = S("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 = "Rice Flour", + description = S("Rice Flour"), inventory_image = "farming_rice_flour.png", groups = {food_rice_flour = 1, flammable = 1}, }) diff --git a/farming.conf_example b/farming.conf_example index c2c5de0..a1998f6 100644 --- a/farming.conf_example +++ b/farming.conf_example @@ -29,6 +29,7 @@ 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) diff --git a/food.lua b/food.lua index 00f3267..6afe17f 100644 --- a/food.lua +++ b/food.lua @@ -20,7 +20,7 @@ minetest.register_craft({ --= Salt minetest.register_node("farming:salt", { - description = ("Salt"), + description = S("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 = ("Rose Water"), + description = S("Rose Water"), inventory_image = "farming_rose_water.png", wield_image = "farming_rose_water.png", drawtype = "plantlike", @@ -218,3 +218,21 @@ 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"}} +}) diff --git a/hoes.lua b/hoes.lua index 5716128..78e35f1 100644 --- a/hoes.lua +++ b/hoes.lua @@ -63,8 +63,9 @@ function farming.hoe_on_use(itemstack, user, pointed_thing, uses) local pt = pointed_thing - -- check if pointing at a node - if not pt or pt.type ~= "node" then + -- 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 return end @@ -95,12 +96,24 @@ 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 = "farming:soil"}) + minetest.set_node(pt.under, {name = ndef.soil.dry}) minetest.sound_play("default_dig_crumbly", {pos = pt.under, gain = 0.5}) - local wear = 65535 / (uses -1) + local wdef = itemstack:get_definition() + local wear = 65535 / (uses - 1) if farming.is_creative(user:get_player_name()) then if tr then @@ -116,6 +129,11 @@ 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 @@ -238,7 +256,7 @@ minetest.register_entity("farming:hoebomb_entity", { visual = "sprite", visual_size = {x = 1.0, y = 1.0}, textures = {"farming_hoe_bomb.png"}, - collisionbox = {0,0,0,0,0,0}, + collisionbox = {-0.1,-0.1,-0.1,0.1,0.1,0.1}, lastpos = {}, player = "", @@ -314,7 +332,7 @@ 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) @@ -343,7 +361,7 @@ farming.add_to_scythe_not_drops = function(item) end minetest.register_tool("farming:scythe_mithril", { - description = S("Mithril Scythe (Use to harvest and replant crops)"), + description = S("Mithril Scythe (Right-click to harvest and replant crops)"), inventory_image = "farming_scythe_mithril.png", sound = {breaks = "default_tool_breaks"}, diff --git a/init.lua b/init.lua index 3a5f5eb..aeeda5d 100644 --- a/init.lua +++ b/init.lua @@ -7,7 +7,7 @@ farming = { mod = "redo", - version = "20191202", + version = "20200527", path = minetest.get_modpath("farming"), select = { type = "fixed", @@ -79,7 +79,8 @@ end -- Growth Logic -local STAGE_LENGTH_AVG = 160.0 +local STAGE_LENGTH_AVG = tonumber( + minetest.settings:get("farming_stage_length")) or 160 local STAGE_LENGTH_DEV = STAGE_LENGTH_AVG / 6 @@ -623,6 +624,7 @@ 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 @@ -687,6 +689,7 @@ 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") diff --git a/locale/de.po b/locale/de.po deleted file mode 100644 index 731b31d..0000000 --- a/locale/de.po +++ /dev/null @@ -1,262 +0,0 @@ -# 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" diff --git a/locale/de.txt b/locale/de.txt new file mode 100644 index 0000000..a18f79e --- /dev/null +++ b/locale/de.txt @@ -0,0 +1,195 @@ +# 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= diff --git a/locale/fr.po b/locale/fr.po deleted file mode 100644 index 7b50640..0000000 --- a/locale/fr.po +++ /dev/null @@ -1,259 +0,0 @@ -# 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 , 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" diff --git a/locale/fr.txt b/locale/fr.txt new file mode 100644 index 0000000..04a5b1b --- /dev/null +++ b/locale/fr.txt @@ -0,0 +1,195 @@ +# 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 diff --git a/locale/it.txt b/locale/it.txt new file mode 100644 index 0000000..cbb6a2d --- /dev/null +++ b/locale/it.txt @@ -0,0 +1,194 @@ +# 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 diff --git a/locale/pt.po b/locale/pt.po deleted file mode 100644 index bc4352f..0000000 --- a/locale/pt.po +++ /dev/null @@ -1,258 +0,0 @@ -# Portuguese Translation for farming mod. -# Copyright (C) 2017 -# This file is distributed under the same license as the farming package. -# BrunoMine , 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 \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" diff --git a/locale/pt.txt b/locale/pt.txt new file mode 100644 index 0000000..a4c504c --- /dev/null +++ b/locale/pt.txt @@ -0,0 +1,195 @@ +# Portuguese translation of the farming mod by TenPlus1 +# textdomain: farming +# author: BrunoMine +# 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= diff --git a/locale/ru.po b/locale/ru.po deleted file mode 100644 index 607c96d..0000000 --- a/locale/ru.po +++ /dev/null @@ -1,262 +0,0 @@ -# Russian translation for farming mod. -# Copyright (C) 2018 -# This file is distributed under the same license as the farming package. -# codexp , 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 "хлеб" diff --git a/locale/ru.txt b/locale/ru.txt new file mode 100644 index 0000000..8235b3f --- /dev/null +++ b/locale/ru.txt @@ -0,0 +1,195 @@ +# Russian translation of the farming mod by TenPlus1 +# textdomain: farming +# author: codexp +# 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= diff --git a/locale/template.pot b/locale/template.pot deleted file mode 100644 index 210d946..0000000 --- a/locale/template.pot +++ /dev/null @@ -1,258 +0,0 @@ -# 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 , 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 \n" -"Language-Team: LANGUAGE \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 "" diff --git a/locale/template.txt b/locale/template.txt new file mode 100644 index 0000000..905d9e0 --- /dev/null +++ b/locale/template.txt @@ -0,0 +1,194 @@ +# 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] 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= diff --git a/mapgen.lua b/mapgen.lua index 6fffac9..cc6f971 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -36,7 +36,8 @@ 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("coffee_5", 20, 45, {"default:dirt_with_dry_grass", - "default:dirt_with_rainforest_litter"}, "", -1, farming.coffee) + "default:dirt_with_rainforest_litter", + "default:dry_dirt_with_dry_grass"}, "", -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) @@ -46,6 +47,8 @@ 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 @@ -129,7 +132,7 @@ end if farming.pineapple then minetest.register_decoration({ deco_type = "simple", - place_on = {"default:dirt_with_dry_grass"}, + place_on = {"default:dirt_with_dry_grass", "default:dry_dirt_with_dry_grass"}, sidelen = 16, noise_params = { offset = 0, @@ -144,3 +147,22 @@ 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", +}) diff --git a/settingtypes.txt b/settingtypes.txt new file mode 100644 index 0000000..05f50af --- /dev/null +++ b/settingtypes.txt @@ -0,0 +1,2 @@ +# Contains a value used for speed of crop growth in seconds +farming_stage_length (Farming Stage Length) float 160.0 diff --git a/soil.lua b/soil.lua index d379f5d..4ecab29 100644 --- a/soil.lua +++ b/soil.lua @@ -1,37 +1,143 @@ 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}, + groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2, field = 1}, 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}, + groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3, field = 1}, sounds = default.node_sound_dirt_defaults(), + soil = { + base = "default:dirt", + dry = "farming:soil", + wet = "farming: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") +-- 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") -- if water near soil then change to wet soil minetest.register_abm({ - nodenames = {"farming:soil", "farming:soil_wet"}, + nodenames = {"group:field"}, 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 @@ -51,24 +157,20 @@ 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 - if node.name == "farming:soil" then - minetest.set_node(pos, {name = "farming:soil_wet"}) - end + minetest.set_node(pos, {name = ndef.soil.wet}) - elseif node.name == "farming:soil_wet" then - minetest.set_node(pos, {name = "farming:soil"}) + elseif node.name == ndef.soil.wet then + minetest.set_node(pos, {name = ndef.soil.dry}) - elseif node.name == "farming:soil" and minetest.get_item_group(nn, "plant") == 0 then - minetest.set_node(pos, {name = "default:dirt"}) + elseif node.name == ndef.soil.dry + and minetest.get_item_group(nn, "plant") == 0 then + minetest.set_node(pos, {name = ndef.soil.base}) end end, }) diff --git a/textures/farming_apple_pie.png b/textures/farming_apple_pie.png new file mode 100644 index 0000000..0e4fdf4 Binary files /dev/null and b/textures/farming_apple_pie.png differ diff --git a/textures/farming_cotton_wild.png b/textures/farming_cotton_wild.png new file mode 100644 index 0000000..0107ad4 Binary files /dev/null and b/textures/farming_cotton_wild.png differ diff --git a/textures/farming_mint_1.png b/textures/farming_mint_1.png new file mode 100644 index 0000000..10ba563 Binary files /dev/null and b/textures/farming_mint_1.png differ diff --git a/textures/farming_mint_2.png b/textures/farming_mint_2.png new file mode 100644 index 0000000..b0d4324 Binary files /dev/null and b/textures/farming_mint_2.png differ diff --git a/textures/farming_mint_3.png b/textures/farming_mint_3.png new file mode 100644 index 0000000..3ae3d61 Binary files /dev/null and b/textures/farming_mint_3.png differ diff --git a/textures/farming_mint_4.png b/textures/farming_mint_4.png new file mode 100644 index 0000000..83c0e90 Binary files /dev/null and b/textures/farming_mint_4.png differ diff --git a/textures/farming_mint_leaf.png b/textures/farming_mint_leaf.png new file mode 100644 index 0000000..da3a77f Binary files /dev/null and b/textures/farming_mint_leaf.png differ diff --git a/textures/farming_mint_seeds.png b/textures/farming_mint_seeds.png new file mode 100644 index 0000000..2e0a0ea Binary files /dev/null and b/textures/farming_mint_seeds.png differ diff --git a/textures/farming_mint_tea.png b/textures/farming_mint_tea.png new file mode 100644 index 0000000..0c7b532 Binary files /dev/null and b/textures/farming_mint_tea.png differ diff --git a/textures/farming_onion_soup.png b/textures/farming_onion_soup.png new file mode 100644 index 0000000..cd535ae Binary files /dev/null and b/textures/farming_onion_soup.png differ