Compare commits
55 Commits
62b83f71a4
...
d087d639b8
Author | SHA1 | Date | |
---|---|---|---|
d087d639b8 | |||
f8533c415b | |||
3949775d29 | |||
1064ebaf04 | |||
23d12c3c8c | |||
7666044598 | |||
942d6eafba | |||
2e2cd77184 | |||
9b6a055534 | |||
2277932cd4 | |||
328e8b3223 | |||
361e006b56 | |||
a30d889e4d | |||
48951090c0 | |||
f5a82f1478 | |||
36838a8acc | |||
95ba853872 | |||
3246f11594 | |||
a5ea92bdd3 | |||
e6994235c5 | |||
756b4417ea | |||
70803f8aef | |||
dc392e8adc | |||
9a08e2978a | |||
787b7b3396 | |||
9440fe2e5a | |||
dedc33cc46 | |||
ebb5f98fae | |||
275214ea62 | |||
4c6b062f98 | |||
4b033fed83 | |||
847a9a4527 | |||
f1d52b4aef | |||
9866b219bc | |||
5b9bd1e6d6 | |||
9fa818c1aa | |||
113fac2647 | |||
06a92e93c0 | |||
81293a2f94 | |||
13df43deeb | |||
ea59a8acdb | |||
2c758348e3 | |||
c75be65326 | |||
e0340ce2cf | |||
584ab76fb5 | |||
47985d7dd2 | |||
cd30901b68 | |||
8f2c41abe9 | |||
675b30dc76 | |||
7a99786e6d | |||
3cbc4fe48e | |||
59743d747f | |||
79035d0473 | |||
c8284b6410 | |||
41356a32e2 |
@ -13,7 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t
|
|||||||
|
|
||||||
### Changelog:
|
### Changelog:
|
||||||
|
|
||||||
- 1.46 - Added min/max default light settings, added lettuce and blackberries with food items (thanks OgelGames), added soya and vanilla (thanks Felfa), added tofu
|
- 1.46 - Added min/max default light settings, added lettuce and blackberries with food items (thanks OgelGames), added soya, vanilla and sunflowers (thanks Felfa), added tofu, added salt crystals (thanks gorlock)
|
||||||
- 1.45 - Dirt and Hoes are more in line with default by using dry/wet/base, added cactus juice, added pasta, spaghetti, cabbage, korean bibimbap, code tidy
|
- 1.45 - Dirt and Hoes are more in line with default by using dry/wet/base, added cactus juice, added pasta, spaghetti, cabbage, korean bibimbap, code tidy
|
||||||
options, onion soup added (thanks edcrypt), Added apple pie, added wild cotton to savanna
|
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.44 - Added 'farming_stage_length' in mod settings for speed of crop growth, also thanks to TheDarkTiger for translation updates
|
||||||
|
@ -15,13 +15,6 @@ minetest.override_item("default:apple", {
|
|||||||
leafdecay = 3, leafdecay_drop = 1}
|
leafdecay = 3, leafdecay_drop = 1}
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.registered_nodes["flowers:mushroom_brown"] then
|
|
||||||
minetest.override_item("flowers:mushroom_brown", {
|
|
||||||
light_source = 1,
|
|
||||||
groups = {food_mushroom = 1, snappy = 3, attached_node = 1, flammable = 2}
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
--= Aliases
|
--= Aliases
|
||||||
|
|
||||||
-- Banana
|
-- Banana
|
||||||
@ -33,9 +26,9 @@ else
|
|||||||
minetest.register_node(":ethereal:banana", {
|
minetest.register_node(":ethereal:banana", {
|
||||||
description = S("Banana"),
|
description = S("Banana"),
|
||||||
drawtype = "torchlike",
|
drawtype = "torchlike",
|
||||||
tiles = {"banana_single.png"},
|
tiles = {"farming_banana_single.png"},
|
||||||
inventory_image = "banana_single.png",
|
inventory_image = "farming_banana_single.png",
|
||||||
wield_image = "banana_single.png",
|
wield_image = "farming_banana_single.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -50,9 +43,9 @@ else
|
|||||||
|
|
||||||
minetest.register_node(":ethereal:bananaleaves", {
|
minetest.register_node(":ethereal:bananaleaves", {
|
||||||
description = S("Banana Leaves"),
|
description = S("Banana Leaves"),
|
||||||
tiles = {"banana_leaf.png"},
|
tiles = {"farming_banana_leaf.png"},
|
||||||
inventory_image = "banana_leaf.png",
|
inventory_image = "farming_banana_leaf.png",
|
||||||
wield_image = "banana_leaf.png",
|
wield_image = "farming_banana_leaf.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
|
groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
|
||||||
@ -148,8 +141,8 @@ if eth then
|
|||||||
else
|
else
|
||||||
minetest.register_craftitem(":ethereal:strawberry", {
|
minetest.register_craftitem(":ethereal:strawberry", {
|
||||||
description = S("Strawberry"),
|
description = S("Strawberry"),
|
||||||
inventory_image = "strawberry.png",
|
inventory_image = "farming_strawberry.png",
|
||||||
wield_image = "strawberry.png",
|
wield_image = "farming_strawberry.png",
|
||||||
groups = {food_strawberry = 1, flammable = 2},
|
groups = {food_strawberry = 1, flammable = 2},
|
||||||
on_use = minetest.item_eat(1)
|
on_use = minetest.item_eat(1)
|
||||||
})
|
})
|
||||||
|
64
crops/artichoke.lua
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
local S = farming.intllib
|
||||||
|
|
||||||
|
-- item definition
|
||||||
|
minetest.register_craftitem("farming:artichoke", {
|
||||||
|
description = S("Artichoke"),
|
||||||
|
inventory_image = "farming_artichoke.png",
|
||||||
|
groups = {seed = 2, food_artichoke = 1, flammable = 2},
|
||||||
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
return farming.place_seed(itemstack, placer, pointed_thing, "farming:artichoke_1")
|
||||||
|
end,
|
||||||
|
on_use = minetest.item_eat(4)
|
||||||
|
})
|
||||||
|
|
||||||
|
-- crop definition
|
||||||
|
local def = {
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = {"farming_artichoke_1.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
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:artichoke_1", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 2
|
||||||
|
def.tiles = {"farming_artichoke_2.png"}
|
||||||
|
minetest.register_node("farming:artichoke_2", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 3
|
||||||
|
def.tiles = {"farming_artichoke_3.png"}
|
||||||
|
minetest.register_node("farming:artichoke_3", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 4
|
||||||
|
def.tiles = {"farming_artichoke_4.png"}
|
||||||
|
minetest.register_node("farming:artichoke_4", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 5 (final)
|
||||||
|
def.tiles = {"farming_artichoke_5.png"}
|
||||||
|
def.groups.growing = nil
|
||||||
|
def.drop = {
|
||||||
|
items = {
|
||||||
|
{items = {"farming:artichoke 2"}, rarity = 1},
|
||||||
|
{items = {"farming:artichoke"}, rarity = 2}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
minetest.register_node("farming:artichoke_5", table.copy(def))
|
||||||
|
|
||||||
|
-- add to registered_plants
|
||||||
|
farming.registered_plants["farming:artichoke"] = {
|
||||||
|
crop = "farming:artichoke",
|
||||||
|
seed = "farming:artichoke",
|
||||||
|
minlight = 13,
|
||||||
|
maxlight = 15,
|
||||||
|
steps = 5
|
||||||
|
}
|
@ -28,11 +28,10 @@ minetest.register_craftitem("farming:barley", {
|
|||||||
|
|
||||||
-- flour
|
-- flour
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:flour",
|
output = "farming:flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:barley", "farming:barley", "farming:barley",
|
{"farming:barley", "farming:barley", "farming:barley"},
|
||||||
"farming:barley", "farming:mortar_pestle"
|
{"farming:barley", "farming:mortar_pestle", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
|
@ -81,9 +81,7 @@ minetest.register_craftitem("farming:beans", {
|
|||||||
-- beans can be used for green dye
|
-- beans can be used for green dye
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "dye:green",
|
output = "dye:green",
|
||||||
recipe = {
|
recipe = {{"farming:beans"}}
|
||||||
{"farming:beans"}
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- beanpole
|
-- beanpole
|
||||||
|
@ -21,20 +21,17 @@ minetest.register_craftitem("farming:beetroot_soup", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:beetroot_soup",
|
output = "farming:beetroot_soup",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_beetroot", "group:food_beetroot",
|
{"group:food_beetroot", "group:food_beetroot", "group:food_beetroot"},
|
||||||
"group:food_beetroot", "group:food_beetroot",
|
{"group:food_beetroot", "group:food_bowl", "group:food_beetroot"}
|
||||||
"group:food_beetroot", "group:food_beetroot","group:food_bowl"
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- red dye
|
-- red dye
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "dye:red",
|
output = "dye:red",
|
||||||
recipe = {"group:food_beetroot"}
|
recipe = {{"group:food_beetroot"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
local def = {
|
local def = {
|
||||||
|
@ -36,10 +36,9 @@ minetest.register_craftitem("farming:blueberry_pie", {
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:blueberry_pie",
|
output = "farming:blueberry_pie",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_flour", "group:food_sugar",
|
{"group:food_flour", "group:food_sugar", "group:food_blueberries"},
|
||||||
"group:food_blueberries", "group:food_baking_tray"
|
{"group:food_baking_tray", "", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_baking_tray", "farming:baking_tray"}}
|
replacements = {{"group:food_baking_tray", "farming:baking_tray"}}
|
||||||
})
|
})
|
||||||
@ -79,7 +78,7 @@ def.drop = {
|
|||||||
items = {
|
items = {
|
||||||
{items = {"farming:blueberries 2"}, rarity = 1},
|
{items = {"farming:blueberries 2"}, rarity = 1},
|
||||||
{items = {"farming:blueberries"}, rarity = 2},
|
{items = {"farming:blueberries"}, rarity = 2},
|
||||||
{items = {"farming:blueberries"}, rarity = 3},
|
{items = {"farming:blueberries"}, rarity = 3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:blueberry_4", table.copy(def))
|
minetest.register_node("farming:blueberry_4", table.copy(def))
|
||||||
|
@ -27,9 +27,10 @@ minetest.register_craftitem("farming:carrot_juice", {
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:carrot_juice",
|
output = "farming:carrot_juice",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "group:food_carrot", "farming:juicer"
|
{"group:food_carrot"},
|
||||||
|
{"farming:juicer"},
|
||||||
|
{"vessels:drinking_glass"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_juicer", "farming:juicer"}
|
{"group:food_juicer", "farming:juicer"}
|
||||||
|
@ -20,20 +20,17 @@ minetest.register_craftitem("farming:chili_bowl", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:chili_bowl",
|
output = "farming:chili_bowl",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_chili_pepper", "group:food_barley",
|
{"group:food_chili_pepper", "group:food_rice", "group:food_tomato"},
|
||||||
"group:food_tomato", "group:food_beans", "group:food_bowl"
|
{"group:food_beans", "group:food_bowl", ""}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- chili can be used for red dye
|
-- chili can be used for red dye
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "dye:red",
|
output = "dye:red",
|
||||||
recipe = {
|
recipe = {{"farming:chili_pepper"}}
|
||||||
{"farming:chili_pepper"}
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- chili definition
|
-- chili definition
|
||||||
|
@ -75,9 +75,7 @@ minetest.register_craftitem("farming:cocoa_beans", {
|
|||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "dye:brown 2",
|
output = "dye:brown 2",
|
||||||
recipe = {
|
recipe = {{"farming:cocoa_beans"}}
|
||||||
{ "farming:cocoa_beans" }
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- chocolate cookie
|
-- chocolate cookie
|
||||||
@ -128,9 +126,7 @@ minetest.register_craft({
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:chocolate_dark 9",
|
output = "farming:chocolate_dark 9",
|
||||||
recipe = {
|
recipe = {{"farming:chocolate_block"}}
|
||||||
{"farming:chocolate_block"}
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- cocoa definition
|
-- cocoa definition
|
||||||
@ -139,15 +135,11 @@ local def = {
|
|||||||
tiles = {"farming_cocoa_1.png"},
|
tiles = {"farming_cocoa_1.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
drop = {
|
|
||||||
items = {
|
|
||||||
{items = {"farming:cocoa_beans 1"}, rarity = 2},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
|
||||||
},
|
},
|
||||||
|
drop = {},
|
||||||
groups = {
|
groups = {
|
||||||
snappy = 3, flammable = 2, plant = 1, growing = 1,
|
snappy = 3, flammable = 2, plant = 1, growing = 1,
|
||||||
not_in_creative_inventory = 1, leafdecay = 1, leafdecay_drop = 1
|
not_in_creative_inventory = 1, leafdecay = 1, leafdecay_drop = 1
|
||||||
|
@ -34,10 +34,10 @@ minetest.register_alias("farming:drinking_cup", "vessels:drinking_glass")
|
|||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "farming:coffee_cup",
|
output = "farming:coffee_cup",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "group:food_coffee",
|
{"group:food_saucepan", "group:food_coffee", "group:water_bucket"},
|
||||||
"group:water_bucket", "group:food_saucepan"},
|
{"", "vessels:drinking_glass", ""}
|
||||||
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:water_bucket", "bucket:bucket_empty"},
|
{"group:water_bucket", "bucket:bucket_empty"},
|
||||||
{"group:food_saucepan", "farming:saucepan"}
|
{"group:food_saucepan", "farming:saucepan"}
|
||||||
@ -47,10 +47,10 @@ minetest.register_craft( {
|
|||||||
if minetest.get_modpath("bucket_wooden") then
|
if minetest.get_modpath("bucket_wooden") then
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "farming:coffee_cup",
|
output = "farming:coffee_cup",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "group:food_coffee",
|
{"group:food_saucepan", "group:food_coffee", "group:water_bucket_wooden"},
|
||||||
"group:water_bucket_wooden", "group:food_saucepan"},
|
{"", "vessels:drinking_glass", ""}
|
||||||
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:water_bucket_wooden", "bucket_wooden:bucket_empty"},
|
{"group:water_bucket_wooden", "bucket_wooden:bucket_empty"},
|
||||||
{"group:food_saucepan", "farming:saucepan"}
|
{"group:food_saucepan", "farming:saucepan"}
|
||||||
|
@ -32,11 +32,30 @@ minetest.register_craft({
|
|||||||
recipe = "group:food_corn"
|
recipe = "group:food_corn"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- popcorn
|
||||||
|
minetest.register_craftitem("farming:popcorn", {
|
||||||
|
description = S("Popcorn"),
|
||||||
|
inventory_image = "farming_popcorn.png",
|
||||||
|
groups = {food_popcorn = 1, flammable = 2},
|
||||||
|
on_use = minetest.item_eat(4)
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:popcorn",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_pot", "group:food_oil", "group:food_corn"}
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"group:food_pot", "farming:pot"},
|
||||||
|
{"group:food_oil", "vessels:glass_bottle"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- cornstarch
|
-- cornstarch
|
||||||
minetest.register_craftitem("farming:cornstarch", {
|
minetest.register_craftitem("farming:cornstarch", {
|
||||||
description = S("Cornstarch"),
|
description = S("Cornstarch"),
|
||||||
inventory_image = "farming_cornstarch.png",
|
inventory_image = "farming_cornstarch.png",
|
||||||
groups = {food_cornstarch = 1, flammable = 2}
|
groups = {food_cornstarch = 1, food_gelatin = 1, food_flammable = 2}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -47,7 +66,7 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_mortar_pestle", "farming:mortar_pestle"},
|
{"group:food_mortar_pestle", "farming:mortar_pestle"},
|
||||||
{"group:food_baking_tray", "farming:baking_tray"},
|
{"group:food_baking_tray", "farming:baking_tray"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -72,9 +91,9 @@ minetest.register_node("farming:bottle_ethanol", {
|
|||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "farming:bottle_ethanol",
|
output = "farming:bottle_ethanol",
|
||||||
recipe = {
|
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"},
|
{"group:food_corn", "vessels:glass_bottle", "group:food_corn"},
|
||||||
{ "group:food_corn", "group:food_corn", "group:food_corn"}
|
{"group:food_corn", "group:food_corn", "group:food_corn"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -82,7 +101,7 @@ minetest.register_craft({
|
|||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "farming:bottle_ethanol",
|
recipe = "farming:bottle_ethanol",
|
||||||
burntime = 80,
|
burntime = 80,
|
||||||
replacements = {{ "farming:bottle_ethanol", "vessels:glass_bottle"}}
|
replacements = {{"farming:bottle_ethanol", "vessels:glass_bottle"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- corn definition
|
-- corn definition
|
||||||
|
@ -46,6 +46,7 @@ minetest.register_node("farming:garlic_braid", {
|
|||||||
inventory_image = "crops_garlic_braid.png",
|
inventory_image = "crops_garlic_braid.png",
|
||||||
wield_image = "crops_garlic_braid.png",
|
wield_image = "crops_garlic_braid.png",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
tiles = {
|
tiles = {
|
||||||
|
@ -76,9 +76,7 @@ minetest.register_craftitem("farming:grapes", {
|
|||||||
-- grapes can be used for violet dye
|
-- grapes can be used for violet dye
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "dye:violet",
|
output = "dye:violet",
|
||||||
recipe = {
|
recipe = {{"farming:grapes"}}
|
||||||
{"farming:grapes"}
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- trellis
|
-- trellis
|
||||||
|
@ -65,7 +65,7 @@ minetest.register_craft({
|
|||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "farming:hemp_oil",
|
recipe = "farming:hemp_oil",
|
||||||
burntime = 20,
|
burntime = 20,
|
||||||
replacements = {{ "farming:hemp_oil", "vessels:glass_bottle"}}
|
replacements = {{"farming:hemp_oil", "vessels:glass_bottle"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- hemp fibre
|
-- hemp fibre
|
||||||
|
@ -48,7 +48,7 @@ def.groups.growing = nil
|
|||||||
def.drop = {
|
def.drop = {
|
||||||
items = {
|
items = {
|
||||||
{items = {'farming:lettuce 2'}, rarity = 1},
|
{items = {'farming:lettuce 2'}, rarity = 1},
|
||||||
{items = {'farming:lettuce 1'}, rarity = 2},
|
{items = {'farming:lettuce 1'}, rarity = 2}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:lettuce_5", table.copy(def))
|
minetest.register_node("farming:lettuce_5", table.copy(def))
|
||||||
|
@ -21,9 +21,8 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:melon_slice 4",
|
output = "farming:melon_slice 4",
|
||||||
recipe = {"farming:melon_8", "farming:cutting_board"},
|
recipe = {{"farming:cutting_board", "farming:melon_8"}},
|
||||||
replacements = {{"farming:cutting_board", "farming:cutting_board"}}
|
replacements = {{"farming:cutting_board", "farming:cutting_board"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -72,17 +71,22 @@ def.tiles = {"farming_melon_7.png"}
|
|||||||
minetest.register_node("farming:melon_7", table.copy(def))
|
minetest.register_node("farming:melon_7", table.copy(def))
|
||||||
|
|
||||||
-- stage 8 (final)
|
-- stage 8 (final)
|
||||||
def.drawtype = "nodebox"
|
minetest.register_node("farming:melon_8", {
|
||||||
def.description = S("Melon")
|
description = S("Melon"),
|
||||||
def.tiles = {"farming_melon_top.png", "farming_melon_top.png", "farming_melon_side.png"}
|
tiles = {
|
||||||
def.selection_box = {-.5, -.5, -.5, .5, .5, .5}
|
"farming_melon_top.png",
|
||||||
def.walkable = true
|
"farming_melon_bottom.png",
|
||||||
def.groups = {
|
"farming_melon_side.png"
|
||||||
food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1,
|
},
|
||||||
flammable = 2, plant = 1
|
groups = {
|
||||||
}
|
food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1,
|
||||||
def.drop = "farming:melon_8"
|
flammable = 2, plant = 1
|
||||||
minetest.register_node("farming:melon_8", table.copy(def))
|
},
|
||||||
|
drop = "farming:melon_8",
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
on_place = minetest.rotate_node
|
||||||
|
})
|
||||||
|
|
||||||
-- add to registered_plants
|
-- add to registered_plants
|
||||||
farming.registered_plants["farming:melon"] = {
|
farming.registered_plants["farming:melon"] = {
|
||||||
|
@ -29,11 +29,9 @@ minetest.register_craftitem("farming:mint_tea", {
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:mint_tea",
|
output = "farming:mint_tea",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "group:food_mint",
|
{"group:food_mint", "group:food_mint", "group:food_mint"},
|
||||||
"group:food_mint", "group:food_mint",
|
{"group:water_bucket", "farming:juicer", "vessels:drinking_glass"}
|
||||||
"farming:juicer", "group:water_bucket"
|
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_juicer", "farming:juicer"},
|
{"group:food_juicer", "farming:juicer"},
|
||||||
@ -44,11 +42,9 @@ minetest.register_craft({
|
|||||||
if minetest.get_modpath("bucket_wooden") then
|
if minetest.get_modpath("bucket_wooden") then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:mint_tea",
|
output = "farming:mint_tea",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "group:food_mint",
|
{"group:food_mint", "group:food_mint", "group:food_mint"},
|
||||||
"group:food_mint", "group:food_mint",
|
{"group:water_bucket_wooden", "farming:juicer", "vessels:drinking_glass"}
|
||||||
"farming:juicer", "group:water_bucket_wooden"
|
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_juicer", "farming:juicer"},
|
{"group:food_juicer", "farming:juicer"},
|
||||||
@ -92,7 +88,7 @@ def.drop = {
|
|||||||
{items = {"farming:mint_leaf 2"}, rarity = 1},
|
{items = {"farming:mint_leaf 2"}, rarity = 1},
|
||||||
{items = {"farming:mint_leaf 2"}, rarity = 2},
|
{items = {"farming:mint_leaf 2"}, rarity = 2},
|
||||||
{items = {"farming:seed_mint 1"}, rarity = 1},
|
{items = {"farming:seed_mint 1"}, rarity = 1},
|
||||||
{items = {"farming:seed_mint 2"}, rarity = 2},
|
{items = {"farming:seed_mint 2"}, rarity = 2}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:mint_4", table.copy(def))
|
minetest.register_node("farming:mint_4", table.copy(def))
|
||||||
|
@ -27,12 +27,11 @@ minetest.register_craftitem("farming:onion_soup", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:onion_soup",
|
output = "farming:onion_soup",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_onion", "group:food_onion", "group:food_pot",
|
{"group:food_onion", "group:food_onion", "group:food_onion"},
|
||||||
"group:food_onion", "group:food_onion",
|
{"group:food_onion", "group:food_pot", "group:food_onion"},
|
||||||
"group:food_onion", "group:food_onion", "group:food_bowl"
|
{"", "group:food_bowl", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"farming:pot", "farming:pot"}}
|
replacements = {{"farming:pot", "farming:pot"}}
|
||||||
})
|
})
|
||||||
@ -81,7 +80,7 @@ def.drop = {
|
|||||||
{items = {"farming:onion"}, rarity = 1},
|
{items = {"farming:onion"}, rarity = 1},
|
||||||
{items = {"farming:onion"}, rarity = 2},
|
{items = {"farming:onion"}, rarity = 2},
|
||||||
{items = {"farming:onion"}, rarity = 2},
|
{items = {"farming:onion"}, rarity = 2},
|
||||||
{items = {"farming:onion"}, rarity = 5},
|
{items = {"farming:onion"}, rarity = 5}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:onion_5", table.copy(def))
|
minetest.register_node("farming:onion_5", table.copy(def))
|
||||||
|
56
crops/parsley.lua
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
local S = farming.intllib
|
||||||
|
|
||||||
|
-- item definition
|
||||||
|
minetest.register_craftitem("farming:parsley", {
|
||||||
|
description = S("Parsley"),
|
||||||
|
inventory_image = "farming_parsley.png",
|
||||||
|
groups = {seed = 2, food_parsley = 1, flammable = 2},
|
||||||
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
return farming.place_seed(itemstack, placer, pointed_thing, "farming:parsley_1")
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
-- crop definition
|
||||||
|
local def = {
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = {"farming_parsley_1.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
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:parsley_1", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 2
|
||||||
|
def.tiles = {"farming_parsley_2.png"}
|
||||||
|
minetest.register_node("farming:parsley_2", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 3 (final)
|
||||||
|
def.tiles = {"farming_parsley_3.png"}
|
||||||
|
def.groups.growing = nil
|
||||||
|
def.drop = {
|
||||||
|
items = {
|
||||||
|
{items = {"farming:parsley 2"}, rarity = 1},
|
||||||
|
{items = {"farming:parsley"}, rarity = 2},
|
||||||
|
{items = {"farming:parsley"}, rarity = 3}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
minetest.register_node("farming:parsley_3", table.copy(def))
|
||||||
|
|
||||||
|
-- add to registered_plants
|
||||||
|
farming.registered_plants["farming:parsley"] = {
|
||||||
|
crop = "farming:parsley",
|
||||||
|
seed = "farming:parsley",
|
||||||
|
minlight = 13,
|
||||||
|
maxlight = 15,
|
||||||
|
steps = 3
|
||||||
|
}
|
@ -21,9 +21,8 @@ minetest.register_craftitem("farming:peas", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:peas",
|
output = "farming:peas",
|
||||||
recipe = {"farming:pea_pod"}
|
recipe = {{"farming:pea_pod"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- pea soup
|
-- pea soup
|
||||||
@ -35,9 +34,12 @@ minetest.register_craftitem("farming:pea_soup", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:pea_soup",
|
output = "farming:pea_soup",
|
||||||
recipe = {"group:food_peas", "group:food_peas", "group:food_bowl"}
|
recipe = {
|
||||||
|
{"group:food_peas"},
|
||||||
|
{"group:food_peas"},
|
||||||
|
{"group:food_bowl"}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
local def = {
|
local def = {
|
||||||
|
@ -30,7 +30,7 @@ minetest.register_craftitem("farming:pepper_yellow", {
|
|||||||
description = S("Yellow Pepper"),
|
description = S("Yellow Pepper"),
|
||||||
inventory_image = "crops_pepper_yellow.png",
|
inventory_image = "crops_pepper_yellow.png",
|
||||||
on_use = minetest.item_eat(3),
|
on_use = minetest.item_eat(3),
|
||||||
groups = {food_pepper = 1, flammable = 3},
|
groups = {food_pepper = 1, flammable = 3}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- red pepper
|
-- red pepper
|
||||||
@ -38,13 +38,12 @@ minetest.register_craftitem("farming:pepper_red", {
|
|||||||
description = S("Red Pepper"),
|
description = S("Red Pepper"),
|
||||||
inventory_image = "crops_pepper_red.png",
|
inventory_image = "crops_pepper_red.png",
|
||||||
on_use = minetest.item_eat(4),
|
on_use = minetest.item_eat(4),
|
||||||
groups = {food_pepper = 1, flammable = 3},
|
groups = {food_pepper = 1, flammable = 3}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:peppercorn",
|
output = "farming:peppercorn",
|
||||||
recipe = {"group:food_pepper"}
|
recipe = {{"group:food_pepper"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- ground pepper
|
-- ground pepper
|
||||||
@ -69,8 +68,11 @@ minetest.register_node("farming:pepper_ground", {
|
|||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "farming:pepper_ground",
|
output = "farming:pepper_ground",
|
||||||
type = "shapeless",
|
recipe = {
|
||||||
recipe = {"group:food_peppercorn", "vessels:glass_bottle", "farming:mortar_pestle"},
|
{"group:food_peppercorn"},
|
||||||
|
{"farming:mortar_pestle"},
|
||||||
|
{"vessels:glass_bottle"}
|
||||||
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -124,9 +126,9 @@ minetest.register_node("farming:pepper_5", table.copy(def))
|
|||||||
def.tiles = {"crops_pepper_plant_6.png"}
|
def.tiles = {"crops_pepper_plant_6.png"}
|
||||||
def.drop = {
|
def.drop = {
|
||||||
max_items = 2, items = {
|
max_items = 2, items = {
|
||||||
{items = {'farming:pepper_yellow 2'}, rarity = 1},
|
{items = {"farming:pepper_yellow 2"}, rarity = 1},
|
||||||
{items = {'farming:pepper_yellow'}, rarity = 2},
|
{items = {"farming:pepper_yellow"}, rarity = 2},
|
||||||
{items = {'farming:pepper_yellow'}, rarity = 3},
|
{items = {"farming:pepper_yellow"}, rarity = 3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:pepper_6", table.copy(def))
|
minetest.register_node("farming:pepper_6", table.copy(def))
|
||||||
@ -136,9 +138,9 @@ def.tiles = {"crops_pepper_plant_7.png"}
|
|||||||
def.groups.growing = nil
|
def.groups.growing = nil
|
||||||
def.drop = {
|
def.drop = {
|
||||||
max_items = 2, items = {
|
max_items = 2, items = {
|
||||||
{items = {'farming:pepper_red 2'}, rarity = 1},
|
{items = {"farming:pepper_red 2"}, rarity = 1},
|
||||||
{items = {'farming:pepper_red'}, rarity = 2},
|
{items = {"farming:pepper_red"}, rarity = 2},
|
||||||
{items = {'farming:pepper_red'}, rarity = 3},
|
{items = {"farming:pepper_red"}, rarity = 3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:pepper_7", table.copy(def))
|
minetest.register_node("farming:pepper_7", table.copy(def))
|
||||||
|
@ -38,8 +38,7 @@ minetest.register_craftitem("farming:pineapple_ring", {
|
|||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "farming:pineapple_ring 5",
|
output = "farming:pineapple_ring 5",
|
||||||
type = "shapeless",
|
recipe = {{"group:food_pineapple"}},
|
||||||
recipe = {"group:food_pineapple"},
|
|
||||||
replacements = {{"farming:pineapple", "farming:pineapple_top"}}
|
replacements = {{"farming:pineapple", "farming:pineapple_top"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -53,11 +52,12 @@ minetest.register_craftitem("farming:pineapple_juice", {
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:pineapple_juice",
|
output = "farming:pineapple_juice",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "group:food_pineapple_ring",
|
{"group:food_pineapple_ring", "group:food_pineapple_ring",
|
||||||
"group:food_pineapple_ring", "group:food_pineapple_ring",
|
"group:food_pineapple_ring"},
|
||||||
"farming:juicer"},
|
{"", "farming:juicer", ""},
|
||||||
|
{"", "vessels:drinking_glass", ""}
|
||||||
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_juicer", "farming:juicer"}
|
{"group:food_juicer", "farming:juicer"}
|
||||||
}
|
}
|
||||||
@ -65,10 +65,10 @@ minetest.register_craft({
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:pineapple_juice 2",
|
output = "farming:pineapple_juice 2",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "vessels:drinking_glass",
|
{"group:food_pineapple", ""},
|
||||||
"group:food_pineapple", "farming:juicer"
|
{"farming:juicer", ""},
|
||||||
|
{"vessels:drinking_glass", "vessels:drinking_glass"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_juicer", "farming:juicer"}
|
{"group:food_juicer", "farming:juicer"}
|
||||||
|
@ -25,9 +25,8 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:pumpkin_slice 4",
|
output = "farming:pumpkin_slice 4",
|
||||||
recipe = {"farming:pumpkin", "farming:cutting_board"},
|
recipe = {{"farming:cutting_board", "farming:pumpkin"}},
|
||||||
replacements = {{"farming:cutting_board", "farming:cutting_board"}}
|
replacements = {{"farming:cutting_board", "farming:cutting_board"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -122,8 +121,9 @@ minetest.register_craftitem("farming:pumpkin_dough", {
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:pumpkin_dough",
|
output = "farming:pumpkin_dough",
|
||||||
type = "shapeless",
|
recipe = {
|
||||||
recipe = {"group:food_flour", "group:food_pumpkin_slice", "group:food_pumpkin_slice"}
|
{"group:food_pumpkin_slice", "group:food_flour", "group:food_pumpkin_slice"}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -183,7 +183,7 @@ minetest.register_node("farming:pumpkin_8", {
|
|||||||
description = S("Pumpkin"),
|
description = S("Pumpkin"),
|
||||||
tiles = {
|
tiles = {
|
||||||
"farming_pumpkin_top.png",
|
"farming_pumpkin_top.png",
|
||||||
"farming_pumpkin_top.png",
|
"farming_pumpkin_bottom.png",
|
||||||
"farming_pumpkin_side.png"
|
"farming_pumpkin_side.png"
|
||||||
},
|
},
|
||||||
groups = {
|
groups = {
|
||||||
@ -191,7 +191,9 @@ minetest.register_node("farming:pumpkin_8", {
|
|||||||
flammable = 2, plant = 1
|
flammable = 2, plant = 1
|
||||||
},
|
},
|
||||||
drop = "farming:pumpkin_8",
|
drop = "farming:pumpkin_8",
|
||||||
sounds = default.node_sound_wood_defaults()
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
on_place = minetest.rotate_node
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_alias("farming:pumpkin", "farming:pumpkin_8")
|
minetest.register_alias("farming:pumpkin", "farming:pumpkin_8")
|
||||||
|
@ -45,7 +45,7 @@ local def = {
|
|||||||
},
|
},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
minlight = 10,
|
minlight = 10,
|
||||||
maxlight = 12,
|
maxlight = 12
|
||||||
}
|
}
|
||||||
|
|
||||||
-- stage 1
|
-- stage 1
|
||||||
|
@ -18,12 +18,15 @@ minetest.override_item("farming:rye", {
|
|||||||
groups = {food_rye = 1, flammable = 4}
|
groups = {food_rye = 1, flammable = 4}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.override_item("farming:rye_1", {drop = {}})
|
||||||
|
minetest.override_item("farming:rye_2", {drop = {}})
|
||||||
|
minetest.override_item("farming:rye_3", {drop = {}})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:flour",
|
output = "farming:flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:rye", "farming:rye", "farming:rye", "farming:rye",
|
{"farming:rye", "farming:rye", "farming:rye"},
|
||||||
"farming:mortar_pestle"
|
{"farming:rye", "farming:mortar_pestle", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
@ -43,12 +46,15 @@ minetest.override_item("farming:oat", {
|
|||||||
groups = {food_oats = 1, flammable = 4}
|
groups = {food_oats = 1, flammable = 4}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.override_item("farming:oat_1", {drop = {}})
|
||||||
|
minetest.override_item("farming:oat_2", {drop = {}})
|
||||||
|
minetest.override_item("farming:oat_3", {drop = {}})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:flour",
|
output = "farming:flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:oat", "farming:oat", "farming:oat", "farming:oat",
|
{"farming:oat", "farming:oat", "farming:oat"},
|
||||||
"farming:mortar_pestle"
|
{"farming:oat", "farming:mortar_pestle", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
@ -68,6 +74,10 @@ minetest.override_item("farming:rice", {
|
|||||||
groups = {food_rice = 1, flammable = 4}
|
groups = {food_rice = 1, flammable = 4}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.override_item("farming:rice_1", {drop = {}})
|
||||||
|
minetest.override_item("farming:rice_2", {drop = {}})
|
||||||
|
minetest.override_item("farming:rice_3", {drop = {}})
|
||||||
|
|
||||||
minetest.register_craftitem("farming:rice_bread", {
|
minetest.register_craftitem("farming:rice_bread", {
|
||||||
description = S("Rice Bread"),
|
description = S("Rice Bread"),
|
||||||
inventory_image = "farming_rice_bread.png",
|
inventory_image = "farming_rice_bread.png",
|
||||||
@ -82,11 +92,10 @@ minetest.register_craftitem("farming:rice_flour", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:rice_flour",
|
output = "farming:rice_flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:rice", "farming:rice", "farming:rice", "farming:rice",
|
{"farming:rice", "farming:rice", "farming:rice"},
|
||||||
"farming:mortar_pestle"
|
{"farming:rice", "farming:mortar_pestle", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
|
@ -19,9 +19,42 @@ minetest.register_craftitem("farming:soy_beans", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:soy_beans",
|
output = "farming:soy_beans",
|
||||||
recipe = {"farming:soy_pod"}
|
recipe = {{"farming:soy_pod"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- soy sauce
|
||||||
|
minetest.register_node("farming:soy_sauce", {
|
||||||
|
description = S("Soy Sauce"),
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = {"farming_soy_sauce.png"},
|
||||||
|
inventory_image = "farming_soy_sauce.png",
|
||||||
|
wield_image = "farming_soy_sauce.png",
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
|
||||||
|
},
|
||||||
|
groups = {
|
||||||
|
vessel = 1, food_soy_sauce = 1, dig_immediate = 3, attached_node = 1
|
||||||
|
},
|
||||||
|
sounds = default.node_sound_glass_defaults()
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- soy sauce recipe
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "farming:soy_sauce",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_soy", "group:food_salt", "group:food_soy"},
|
||||||
|
{"", "group:food_juicer", ""},
|
||||||
|
{"", "bucket:bucket_water", "vessels:glass_bottle"}
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"bucket:bucket_water", "bucket:bucket_empty"},
|
||||||
|
{"group:food_juicer", "farming:juicer"}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- soy milk
|
-- soy milk
|
||||||
@ -46,11 +79,10 @@ minetest.register_node("farming:soy_milk", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:soy_milk",
|
output = "farming:soy_milk",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_soy", "group:food_soy", "group:food_soy",
|
{"group:food_soy", "group:food_soy", "group:food_soy"},
|
||||||
"farming:vanilla_extract", "bucket:bucket_water", "vessels:drinking_glass"
|
{"farming:vanilla_extract", "bucket:bucket_water", "vessels:drinking_glass"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"bucket:bucket_water", "bucket:bucket_empty"},
|
{"bucket:bucket_water", "bucket:bucket_empty"},
|
||||||
@ -68,10 +100,9 @@ minetest.register_craftitem("farming:tofu", {
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:tofu",
|
output = "farming:tofu",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:baking_tray", "group:food_soy", "group:food_soy",
|
{"farming:baking_tray", "group:food_soy", "group:food_soy"},
|
||||||
"group:food_soy", "group:food_soy", "group:food_soy",
|
{"group:food_soy", "group:food_soy", "group:food_soy"}
|
||||||
},
|
},
|
||||||
replacements = {{"farming:baking_tray", "farming:baking_tray"}}
|
replacements = {{"farming:baking_tray", "farming:baking_tray"}}
|
||||||
})
|
})
|
||||||
@ -131,7 +162,7 @@ minetest.register_node("farming:soy_4", table.copy(def))
|
|||||||
def.tiles = {"farming_soy_5.png"}
|
def.tiles = {"farming_soy_5.png"}
|
||||||
def.drop = {
|
def.drop = {
|
||||||
max_items = 1, items = {
|
max_items = 1, items = {
|
||||||
{items = {'farming:soy_pod'}, rarity = 1},
|
{items = {"farming:soy_pod"}, rarity = 1},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:soy_5", table.copy(def))
|
minetest.register_node("farming:soy_5", table.copy(def))
|
||||||
@ -140,9 +171,9 @@ minetest.register_node("farming:soy_5", table.copy(def))
|
|||||||
def.tiles = {"farming_soy_6.png"}
|
def.tiles = {"farming_soy_6.png"}
|
||||||
def.drop = {
|
def.drop = {
|
||||||
max_items = 3, items = {
|
max_items = 3, items = {
|
||||||
{items = {'farming:soy_pod'}, rarity = 1},
|
{items = {"farming:soy_pod"}, rarity = 1},
|
||||||
{items = {'farming:soy_pod'}, rarity = 2},
|
{items = {"farming:soy_pod"}, rarity = 2},
|
||||||
{items = {'farming:soy_pod'}, rarity = 3},
|
{items = {"farming:soy_pod"}, rarity = 3},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:soy_6", table.copy(def))
|
minetest.register_node("farming:soy_6", table.copy(def))
|
||||||
@ -152,11 +183,11 @@ def.tiles = {"farming_soy_7.png"}
|
|||||||
def.groups.growing = nil
|
def.groups.growing = nil
|
||||||
def.drop = {
|
def.drop = {
|
||||||
max_items = 5, items = {
|
max_items = 5, items = {
|
||||||
{items = {'farming:soy_pod'}, rarity = 1},
|
{items = {"farming:soy_pod"}, rarity = 1},
|
||||||
{items = {'farming:soy_pod'}, rarity = 2},
|
{items = {"farming:soy_pod"}, rarity = 2},
|
||||||
{items = {'farming:soy_pod'}, rarity = 3},
|
{items = {"farming:soy_pod"}, rarity = 3},
|
||||||
{items = {'farming:soy_pod'}, rarity = 4},
|
{items = {"farming:soy_pod"}, rarity = 4},
|
||||||
{items = {'farming:soy_pod'}, rarity = 5}
|
{items = {"farming:soy_pod"}, rarity = 5}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:soy_7", table.copy(def))
|
minetest.register_node("farming:soy_7", table.copy(def))
|
||||||
|
160
crops/sunflower.lua
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
local S = farming.intllib
|
||||||
|
|
||||||
|
-- sunflower
|
||||||
|
minetest.register_craftitem("farming:sunflower", {
|
||||||
|
description = S("Sunflower"),
|
||||||
|
inventory_image = "farming_sunflower.png",
|
||||||
|
groups = {flammable = 2}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- sunflower seeds
|
||||||
|
minetest.register_craftitem("farming:seed_sunflower", {
|
||||||
|
description = S("Sunflower Seeds"),
|
||||||
|
inventory_image = "farming_sunflower_seeds.png",
|
||||||
|
groups = {seed = 2, food_sunflower_seeds = 1, flammable = 2},
|
||||||
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
return farming.place_seed(itemstack, placer, pointed_thing, "farming:sunflower_1")
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_alias("farming:sunflower_seeds", "farming:seed_sunflower")
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:seed_sunflower 5",
|
||||||
|
recipe = {{"farming:sunflower"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- sunflower seeds (toasted)
|
||||||
|
minetest.register_craftitem("farming:sunflower_seeds_toasted", {
|
||||||
|
description = S("Toasted Sunflower Seeds"),
|
||||||
|
inventory_image = "farming_sunflower_seeds_toasted.png",
|
||||||
|
groups = {food_sunflower_seeds_toasted = 1, flammable = 2},
|
||||||
|
on_use = minetest.item_eat(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
cooktime = 10,
|
||||||
|
output = "farming:sunflower_seeds_toasted",
|
||||||
|
recipe = "farming:seed_sunflower"
|
||||||
|
})
|
||||||
|
|
||||||
|
-- sunflower oil
|
||||||
|
minetest.register_node("farming:sunflower_oil", {
|
||||||
|
description = S("Bottle of Sunflower Oil"),
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = {"farming_sunflower_oil.png"},
|
||||||
|
inventory_image = "farming_sunflower_oil.png",
|
||||||
|
wield_image = "farming_sunflower_oil.png",
|
||||||
|
paramtype = "light",
|
||||||
|
is_ground_content = false,
|
||||||
|
walkable = false,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||||
|
},
|
||||||
|
groups = {
|
||||||
|
food_oil = 1, vessel = 1, dig_immediate = 3, attached_node = 1,
|
||||||
|
flammable = 2
|
||||||
|
},
|
||||||
|
sounds = default.node_sound_glass_defaults()
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "farming:sunflower_oil",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_sunflower_seeds", "group:food_sunflower_seeds", "group:food_sunflower_seeds"},
|
||||||
|
{"group:food_sunflower_seeds", "group:food_sunflower_seeds", "group:food_sunflower_seeds"},
|
||||||
|
{"group:food_sunflower_seeds", "vessels:glass_bottle", "group:food_sunflower_seeds"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "farming:sunflower_oil",
|
||||||
|
burntime = 30,
|
||||||
|
replacements = {{"farming:sunflower_oil", "vessels:glass_bottle"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- sunflower seed bread
|
||||||
|
minetest.register_craftitem("farming:sunflower_bread", {
|
||||||
|
description = S("Sunflower Seed Bread"),
|
||||||
|
inventory_image = "farming_sunflower_bread.png",
|
||||||
|
on_use = minetest.item_eat(8),
|
||||||
|
groups = {food_bread = 1, flammable = 2}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:sunflower_bread", {
|
||||||
|
description = S("Sunflower Bread"),
|
||||||
|
inventory_image = "farming_sunflower_bread.png"
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:sunflower_bread",
|
||||||
|
recipe = {{"group:food_sunflower_seeds_toasted", "group:food_bread", "group:food_sunflower_seeds_toasted"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- sunflower definition
|
||||||
|
local def = {
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = {"farming_sunflower_1.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
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:sunflower_1", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 2
|
||||||
|
def.tiles = {"farming_sunflower_2.png"}
|
||||||
|
minetest.register_node("farming:sunflower_2", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 3
|
||||||
|
def.tiles = {"farming_sunflower_3.png"}
|
||||||
|
minetest.register_node("farming:sunflower_3", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 4
|
||||||
|
def.tiles = {"farming_sunflower_4.png"}
|
||||||
|
minetest.register_node("farming:sunflower_4", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 5
|
||||||
|
def.tiles = {"farming_sunflower_5.png"}
|
||||||
|
minetest.register_node("farming:sunflower_5", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 6
|
||||||
|
def.tiles = {"farming_sunflower_6.png"}
|
||||||
|
def.visual_scale = 1.9
|
||||||
|
minetest.register_node("farming:sunflower_6", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 7
|
||||||
|
def.tiles = {"farming_sunflower_7.png"}
|
||||||
|
minetest.register_node("farming:sunflower_7", table.copy(def))
|
||||||
|
|
||||||
|
-- stage 8 (final)
|
||||||
|
def.tiles = {"farming_sunflower_8.png"}
|
||||||
|
def.groups.growing = nil
|
||||||
|
def.drop = {
|
||||||
|
items = {
|
||||||
|
{items = {"farming:sunflower"}, rarity = 1},
|
||||||
|
{items = {"farming:sunflower"}, rarity = 6}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
minetest.register_node("farming:sunflower_8", table.copy(def))
|
||||||
|
|
||||||
|
-- add to registered_plants
|
||||||
|
farming.registered_plants["farming:sunflower"] = {
|
||||||
|
crop = "farming:sunflower",
|
||||||
|
seed = "farming:seed_sunflower",
|
||||||
|
minlight = 14,
|
||||||
|
maxlight = farming.max_light,
|
||||||
|
steps = 8
|
||||||
|
}
|
@ -17,6 +17,23 @@ minetest.register_craftitem("farming:tomato", {
|
|||||||
on_use = minetest.item_eat(4)
|
on_use = minetest.item_eat(4)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- tomato soup
|
||||||
|
minetest.register_craftitem("farming:tomato_soup", {
|
||||||
|
description = S("Tomato Soup"),
|
||||||
|
inventory_image = "farming_tomato_soup.png",
|
||||||
|
groups = {flammable = 2},
|
||||||
|
on_use = minetest.item_eat(8, "farming:bowl")
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:tomato_soup",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_tomato"},
|
||||||
|
{"group:food_tomato"},
|
||||||
|
{"group:food_bowl"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- tomato definition
|
-- tomato definition
|
||||||
local def = {
|
local def = {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
|
@ -8,7 +8,7 @@ minetest.register_craftitem("farming:vanilla", {
|
|||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:vanilla_1")
|
return farming.place_seed(itemstack, placer, pointed_thing, "farming:vanilla_1")
|
||||||
end,
|
end,
|
||||||
on_use = minetest.item_eat(1),
|
on_use = minetest.item_eat(1)
|
||||||
})
|
})
|
||||||
|
|
||||||
-- crop definition
|
-- crop definition
|
||||||
@ -49,8 +49,8 @@ minetest.register_node("farming:vanilla_extract", {
|
|||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "farming:vanilla_extract",
|
output = "farming:vanilla_extract",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "group:food_vanilla", "group:food_vanilla", "group:food_vanilla"},
|
{"group:food_vanilla", "group:food_vanilla", "group:food_vanilla"},
|
||||||
{ "group:food_vanilla", "farming:bottle_ethanol", "bucket:bucket_water"},
|
{"group:food_vanilla", "farming:bottle_ethanol", "bucket:bucket_water"},
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"bucket:bucket_water", "bucket:bucket_empty"},
|
{"bucket:bucket_water", "bucket:bucket_empty"},
|
||||||
@ -61,7 +61,7 @@ minetest.register_craft({
|
|||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "farming:vanilla_extract",
|
recipe = "farming:vanilla_extract",
|
||||||
burntime = 25,
|
burntime = 25,
|
||||||
replacements = {{ "farming:vanilla_extract", "vessels:glass_bottle" }}
|
replacements = {{"farming:vanilla_extract", "vessels:glass_bottle"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- stage 1
|
-- stage 1
|
||||||
@ -92,9 +92,9 @@ minetest.register_node("farming:vanilla_6", table.copy(def))
|
|||||||
def.tiles = {"farming_vanilla_7.png"}
|
def.tiles = {"farming_vanilla_7.png"}
|
||||||
def.drop = {
|
def.drop = {
|
||||||
items = {
|
items = {
|
||||||
{items = {'farming:vanilla'}, rarity = 1},
|
{items = {"farming:vanilla"}, rarity = 1},
|
||||||
{items = {'farming:vanilla'}, rarity = 2},
|
{items = {"farming:vanilla"}, rarity = 2},
|
||||||
{items = {'farming:vanilla'}, rarity = 3}
|
{items = {"farming:vanilla"}, rarity = 3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:vanilla_7", table.copy(def))
|
minetest.register_node("farming:vanilla_7", table.copy(def))
|
||||||
@ -104,10 +104,10 @@ def.tiles = {"farming_vanilla_8.png"}
|
|||||||
def.groups.growing = nil
|
def.groups.growing = nil
|
||||||
def.drop = {
|
def.drop = {
|
||||||
items = {
|
items = {
|
||||||
{items = {'farming:vanilla 2'}, rarity = 1},
|
{items = {"farming:vanilla 2"}, rarity = 1},
|
||||||
{items = {'farming:vanilla 2'}, rarity = 2},
|
{items = {"farming:vanilla 2"}, rarity = 2},
|
||||||
{items = {'farming:vanilla 2'}, rarity = 2},
|
{items = {"farming:vanilla 2"}, rarity = 2},
|
||||||
{items = {'farming:vanilla 2'}, rarity = 3}
|
{items = {"farming:vanilla 2"}, rarity = 3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("farming:vanilla_8", table.copy(def))
|
minetest.register_node("farming:vanilla_8", table.copy(def))
|
||||||
|
@ -46,9 +46,7 @@ minetest.register_craft({
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:wheat 3",
|
output = "farming:wheat 3",
|
||||||
recipe = {
|
recipe = {{"farming:straw"}}
|
||||||
{"farming:straw"}
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- check and register stairs
|
-- check and register stairs
|
||||||
@ -80,11 +78,10 @@ minetest.register_craftitem("farming:flour", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:flour",
|
output = "farming:flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:wheat", "farming:wheat", "farming:wheat",
|
{"farming:wheat", "farming:wheat", "farming:wheat"},
|
||||||
"farming:wheat", "farming:mortar_pestle"
|
{"farming:wheat", "farming:mortar_pestle", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
@ -113,9 +110,8 @@ minetest.register_craftitem("farming:bread_slice", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:bread_slice 5",
|
output = "farming:bread_slice 5",
|
||||||
recipe = {"farming:bread", "group:food_cutting_board"},
|
recipe = {{"group:food_cutting_board", "farming:bread"}},
|
||||||
replacements = {{"group:food_cutting_board", "farming:cutting_board"}}
|
replacements = {{"group:food_cutting_board", "farming:cutting_board"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -35,6 +35,9 @@ farming.blackberry = 0.002
|
|||||||
farming.lettuce = 0.001
|
farming.lettuce = 0.001
|
||||||
farming.soy = 0.001
|
farming.soy = 0.001
|
||||||
farming.vanilla = 0.001
|
farming.vanilla = 0.001
|
||||||
|
farming.artichoke = 0.001
|
||||||
|
farming.parsley = 0.002
|
||||||
|
farming.sunflower = 0.001
|
||||||
farming.grains = true -- true or false only
|
farming.grains = true -- true or false only
|
||||||
|
|
||||||
-- default rarety of crops on map (higher number = more crops)
|
-- default rarety of crops on map (higher number = more crops)
|
||||||
|
375
food.lua
@ -1,6 +1,44 @@
|
|||||||
|
|
||||||
local S = farming.intllib
|
local S = farming.intllib
|
||||||
|
|
||||||
|
--= filter sea water into river water
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "bucket:bucket_river_water",
|
||||||
|
recipe = {
|
||||||
|
{"farming:hemp_fibre"},
|
||||||
|
{"farming:hemp_fibre"},
|
||||||
|
{"bucket:bucket_water"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
--= glass of water
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:glass_water", {
|
||||||
|
description = S("Glass of Water"),
|
||||||
|
inventory_image = "farming_water_glass.png",
|
||||||
|
groups = {food_water_glass = 1, flammable = 3, vessel = 1}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:glass_water 4",
|
||||||
|
recipe = {
|
||||||
|
{"vessels:drinking_glass", "vessels:drinking_glass"},
|
||||||
|
{"vessels:drinking_glass", "vessels:drinking_glass"},
|
||||||
|
{"bucket:bucket_river_water", ""}
|
||||||
|
},
|
||||||
|
replacements = {{"bucket:bucket_river_water", "bucket:bucket_empty"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:glass_water 4",
|
||||||
|
recipe = {
|
||||||
|
{"vessels:drinking_glass", "vessels:drinking_glass"},
|
||||||
|
{"vessels:drinking_glass", "vessels:drinking_glass"},
|
||||||
|
{"bucket:bucket_water", "farming:hemp_fibre"}
|
||||||
|
},
|
||||||
|
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
|
||||||
|
})
|
||||||
|
|
||||||
--= Sugar
|
--= Sugar
|
||||||
|
|
||||||
minetest.register_craftitem("farming:sugar", {
|
minetest.register_craftitem("farming:sugar", {
|
||||||
@ -16,6 +54,19 @@ minetest.register_craft({
|
|||||||
recipe = "default:papyrus"
|
recipe = "default:papyrus"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--= Sugar caramel
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:caramel", {
|
||||||
|
description = S("Caramel"),
|
||||||
|
inventory_image = "farming_caramel.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
cooktime = 6,
|
||||||
|
output = "farming:caramel",
|
||||||
|
recipe = "group:food_sugar",
|
||||||
|
})
|
||||||
|
|
||||||
--= Salt
|
--= Salt
|
||||||
|
|
||||||
@ -33,7 +84,48 @@ minetest.register_node("farming:salt", {
|
|||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||||
}
|
},
|
||||||
|
-- special function to make salt crystals form inside water
|
||||||
|
dropped_step = function(self, pos, dtime)
|
||||||
|
|
||||||
|
self.ctimer = (self.ctimer or 0) + dtime
|
||||||
|
if self.ctimer < 15.0 then return end
|
||||||
|
self.ctimer = 0
|
||||||
|
|
||||||
|
local needed
|
||||||
|
|
||||||
|
if self.node_inside
|
||||||
|
and self.node_inside.name == "default:water_source" then
|
||||||
|
needed = 8
|
||||||
|
|
||||||
|
elseif self.node_inside
|
||||||
|
and self.node_inside.name == "default:river_water_source" then
|
||||||
|
needed = 9
|
||||||
|
end
|
||||||
|
|
||||||
|
if not needed then return end
|
||||||
|
|
||||||
|
local objs = core.get_objects_inside_radius(pos, 0.5)
|
||||||
|
|
||||||
|
if not objs or #objs ~= 1 then return end
|
||||||
|
|
||||||
|
local salt, ent = nil, nil
|
||||||
|
|
||||||
|
for k, obj in pairs(objs) do
|
||||||
|
|
||||||
|
ent = obj:get_luaentity()
|
||||||
|
|
||||||
|
if ent and ent.name == "__builtin:item"
|
||||||
|
and ent.itemstring == "farming:salt " .. needed then
|
||||||
|
|
||||||
|
obj:remove()
|
||||||
|
|
||||||
|
core.add_item(pos, "farming:salt_crystal")
|
||||||
|
|
||||||
|
return false -- return with no further action
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -44,6 +136,42 @@ minetest.register_craft({
|
|||||||
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
|
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--= Salt Crystal
|
||||||
|
|
||||||
|
minetest.register_node("farming:salt_crystal", {
|
||||||
|
description = ("Salt crystal"),
|
||||||
|
inventory_image = "farming_salt_crystal.png",
|
||||||
|
wield_image = "farming_salt_crystal.png",
|
||||||
|
drawtype = "plantlike",
|
||||||
|
visual_scale = 0.8,
|
||||||
|
paramtype = "light",
|
||||||
|
light_source = 1,
|
||||||
|
tiles = {"farming_salt_crystal.png"},
|
||||||
|
groups = { dig_immediate = 3, attached_node = 1},
|
||||||
|
sounds = default.node_sound_defaults(),
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||||
|
},
|
||||||
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
-- type = "shapeless",
|
||||||
|
output = "farming:salt 9",
|
||||||
|
recipe = {
|
||||||
|
{"farming:salt_crystal", "farming:mortar_pestle"}
|
||||||
|
},
|
||||||
|
replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:salt_crystal",
|
||||||
|
recipe = {
|
||||||
|
{"farming:salt", "farming:salt", "farming:salt"},
|
||||||
|
{"farming:salt", "farming:salt", "farming:salt"},
|
||||||
|
{"farming:salt", "farming:salt", "farming:salt"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
--= Rose Water
|
--= Rose Water
|
||||||
|
|
||||||
minetest.register_node("farming:rose_water", {
|
minetest.register_node("farming:rose_water", {
|
||||||
@ -105,7 +233,7 @@ minetest.register_craft({
|
|||||||
recipe = {
|
recipe = {
|
||||||
{"group:food_gelatin", "group:food_sugar", "group:food_gelatin"},
|
{"group:food_gelatin", "group:food_sugar", "group:food_gelatin"},
|
||||||
{"group:food_sugar", "group:food_rose_water", "group:food_sugar"},
|
{"group:food_sugar", "group:food_rose_water", "group:food_sugar"},
|
||||||
{"group:food_cornstarch", "group:food_sugar", "dye:pink"}
|
{"group:food_sugar", "dye:pink", "group:food_sugar"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_cornstarch", "farming:bowl"},
|
{"group:food_cornstarch", "farming:bowl"},
|
||||||
@ -123,9 +251,11 @@ minetest.register_craftitem("farming:garlic_bread", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:garlic_bread",
|
output = "farming:garlic_bread",
|
||||||
recipe = {"group:food_toast", "group:food_garlic_clove", "group:food_garlic_clove"}
|
recipe = {
|
||||||
|
{"group:food_toast", "group:food_garlic_clove", "group:food_garlic_clove"}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
--= Donuts (thanks to Bockwurst for making the donut images)
|
--= Donuts (thanks to Bockwurst for making the donut images)
|
||||||
@ -182,11 +312,11 @@ minetest.register_craftitem("farming:porridge", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:porridge",
|
output = "farming:porridge",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_oats", "group:food_oats", "group:food_oats",
|
{"group:food_oats", "group:food_oats", "group:food_oats"},
|
||||||
"group:food_oats", "group:food_bowl", "group:food_milk_glass"
|
{"group:food_oats", "group:food_bowl", "group:food_milk_glass"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"mobs:glass_milk", "vessels:drinking_glass"},
|
{"mobs:glass_milk", "vessels:drinking_glass"},
|
||||||
@ -203,12 +333,12 @@ minetest.register_craftitem("farming:jaffa_cake", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:jaffa_cake",
|
output = "farming:jaffa_cake",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:baking_tray", "group:food_egg", "group:food_sugar",
|
{"farming:baking_tray", "group:food_egg", "group:food_sugar"},
|
||||||
"group:food_flour", "group:food_cocoa", "group:food_orange",
|
{"group:food_flour", "group:food_cocoa", "group:food_orange"},
|
||||||
"group:food_milk"
|
{"group:food_milk", "", ""}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"farming:baking_tray", "farming:baking_tray"},
|
{"farming:baking_tray", "farming:baking_tray"},
|
||||||
@ -226,10 +356,9 @@ minetest.register_craftitem("farming:apple_pie", {
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:apple_pie",
|
output = "farming:apple_pie",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_flour", "group:food_sugar",
|
{"group:food_flour", "group:food_sugar", "group:food_apple"},
|
||||||
"group:food_apple", "group:food_baking_tray"
|
{"", "group:food_baking_tray", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_baking_tray", "farming:baking_tray"}}
|
replacements = {{"group:food_baking_tray", "farming:baking_tray"}}
|
||||||
})
|
})
|
||||||
@ -254,11 +383,11 @@ minetest.register_craftitem("farming:cactus_juice", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:cactus_juice 2",
|
output = "farming:cactus_juice",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "vessels:drinking_glass",
|
{"default:cactus"},
|
||||||
"default:cactus", "farming:juicer"
|
{"farming:juicer"},
|
||||||
|
{"vessels:drinking_glass"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_juicer", "farming:juicer"}
|
{"group:food_juicer", "farming:juicer"}
|
||||||
@ -273,30 +402,24 @@ minetest.register_craftitem("farming:pasta", {
|
|||||||
groups = {food_pasta = 1}
|
groups = {food_pasta = 1}
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("mobs_animal") or minetest.get_modpath("xanadu")then
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:pasta",
|
output = "farming:pasta",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_flour", "group:food_mixing_bowl",
|
{"group:food_flour", "group:food_butter", "group:food_mixing_bowl"}
|
||||||
"group:food_butter"
|
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mixing_bowl", "farming:mixing_bowl"}}
|
replacements = {{"group:food_mixing_bowl", "farming:mixing_bowl"}}
|
||||||
})
|
})
|
||||||
else
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:pasta",
|
output = "farming:pasta",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_flour", "group:food_mixing_bowl",
|
{"group:food_flour", "group:food_oil", "group:food_mixing_bowl"}
|
||||||
"group:food_oil"
|
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_mixing_bowl", "farming:mixing_bowl"},
|
{"group:food_mixing_bowl", "farming:mixing_bowl"},
|
||||||
{"group:food_oil", "vessels:glass_bottle"}
|
{"group:food_oil", "vessels:glass_bottle"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
|
||||||
-- Spaghetti
|
-- Spaghetti
|
||||||
|
|
||||||
@ -308,10 +431,9 @@ minetest.register_craftitem("farming:spaghetti", {
|
|||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:spaghetti",
|
output = "farming:spaghetti",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_pasta", "group:food_saucepan",
|
{"group:food_pasta", "group:food_saucepan", "group:food_tomato"},
|
||||||
"group:food_tomato", "group:food_garlic_clove", "group:food_garlic_clove"
|
{"group:food_garlic_clove", "group:food_garlic_clove", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_saucepan", "farming:saucepan"}}
|
replacements = {{"group:food_saucepan", "farming:saucepan"}}
|
||||||
})
|
})
|
||||||
@ -324,18 +446,16 @@ minetest.register_craftitem("farming:bibimbap", {
|
|||||||
on_use = minetest.item_eat(8, "farming:bowl")
|
on_use = minetest.item_eat(8, "farming:bowl")
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("mobs_animal") or minetest.get_modpath("xanadu")then
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:bibimbap",
|
output = "farming:bibimbap",
|
||||||
type = "shapeless",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_skillet", "group:food_bowl", "group:food_egg", "group:food_rice",
|
{"group:food_skillet", "group:food_bowl", "group:food_egg"},
|
||||||
"group:food_chicken_raw", "group:food_cabbage", "group:food_carrot",
|
{"group:food_rice", "group:food_chicken_raw", "group:food_cabbage"},
|
||||||
"group:food_chili_pepper"
|
{"group:food_carrot", "group:food_chili_pepper", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_skillet", "farming:skillet"}}
|
replacements = {{"group:food_skillet", "farming:skillet"}}
|
||||||
})
|
})
|
||||||
else
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:bibimbap",
|
output = "farming:bibimbap",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
@ -346,7 +466,6 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
replacements = {{"group:food_skillet", "farming:skillet"}}
|
replacements = {{"group:food_skillet", "farming:skillet"}}
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
|
||||||
-- Burger
|
-- Burger
|
||||||
|
|
||||||
@ -357,12 +476,11 @@ minetest.register_craftitem("farming:burger", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:burger",
|
output = "farming:burger",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:bread", "group:food_meat", "group:food_cheese",
|
{"farming:bread", "group:food_meat", "group:food_cheese"},
|
||||||
"group:food_tomato", "group:food_cucumber", "group:food_onion",
|
{"group:food_tomato", "group:food_cucumber", "group:food_onion"},
|
||||||
"group:food_lettuce"
|
{"group:food_lettuce", "", ""}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -380,7 +498,7 @@ minetest.register_craft({
|
|||||||
recipe = {
|
recipe = {
|
||||||
"group:food_bowl", "group:food_tomato", "group:food_cucumber",
|
"group:food_bowl", "group:food_tomato", "group:food_cucumber",
|
||||||
"group:food_lettuce", "group:food_oil"
|
"group:food_lettuce", "group:food_oil"
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Triple Berry Smoothie
|
-- Triple Berry Smoothie
|
||||||
@ -401,3 +519,176 @@ minetest.register_craft({
|
|||||||
"vessels:drinking_glass"
|
"vessels:drinking_glass"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Patatas a la importancia
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:spanish_potatoes", {
|
||||||
|
description = S("Spanish Potatoes"),
|
||||||
|
inventory_image = "farming_spanish_potatoes.png",
|
||||||
|
on_use = minetest.item_eat(8, "farming:bowl"),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "farming:spanish_potatoes",
|
||||||
|
recipe = {
|
||||||
|
"farming:potato", "group:food_parsley", "farming:potato",
|
||||||
|
"group:food_egg", "group:food_flour", "farming:onion",
|
||||||
|
"farming:garlic_clove", "group:food_bowl", "group:food_skillet"
|
||||||
|
},
|
||||||
|
replacements = {{"group:food_skillet", "farming:skillet"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Potato omelet
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:potato_omelet", {
|
||||||
|
description = S("Potato omelet"),
|
||||||
|
inventory_image = "farming_potato_omelet.png",
|
||||||
|
on_use = minetest.item_eat(6, "farming:bowl")
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "farming:potato_omelet",
|
||||||
|
recipe = {
|
||||||
|
"group:food_egg", "farming:potato", "group:food_onion",
|
||||||
|
"group:food_skillet", "group:food_bowl"},
|
||||||
|
replacements = {{"group:food_skillet", "farming:skillet"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Paella
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:paella", {
|
||||||
|
description = S("Paella"),
|
||||||
|
inventory_image = "farming_paella.png",
|
||||||
|
on_use = minetest.item_eat(8, "farming:bowl")
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "farming:paella",
|
||||||
|
recipe = {
|
||||||
|
"group:food_rice", "dye:orange", "farming:pepper_red",
|
||||||
|
"group:food_peas", "group:food_chicken", "group:food_bowl", "group:food_skillet"
|
||||||
|
},
|
||||||
|
replacements = {{"group:food_skillet", "farming:skillet"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Flan
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:flan", {
|
||||||
|
description = S("Vanilla Flan"),
|
||||||
|
inventory_image = "farming_vanilla_flan.png",
|
||||||
|
on_use = minetest.item_eat(6)
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:flan",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_sugar", "group:food_milk", "farming:caramel"},
|
||||||
|
{"group:food_egg", "group:food_egg", "farming:vanilla_extract"}
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"cucina_vegana:soy_milk", "vessels:drinking_glass"},
|
||||||
|
{"group:food_milk", "bucket:bucket_empty"},
|
||||||
|
{"farming:vanilla_extract", "vessels:glass_bottle"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Vegan Cheese
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:cheese_vegan", {
|
||||||
|
description = S("Vegan Cheese"),
|
||||||
|
inventory_image = "farming_cheese_vegan.png",
|
||||||
|
on_use = minetest.item_eat(2),
|
||||||
|
groups = {food_cheese = 1, flammable = 2}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:cheese_vegan",
|
||||||
|
recipe = {
|
||||||
|
{"farming:soy_milk", "farming:soy_milk", "farming:soy_milk"},
|
||||||
|
{"group:food_salt", "group:food_peppercorn", "farming:bottle_ethanol"},
|
||||||
|
{"group:food_gelatin", "group:food_pot", ""}
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"farming:soy_milk", "vessels:drinking_glass 3"},
|
||||||
|
{"farming:pot", "farming:pot"},
|
||||||
|
{"farming:bottle_ethanol", "vessels:glass_bottle"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:cheese_vegan",
|
||||||
|
recipe = {
|
||||||
|
{"farming:soy_milk", "farming:soy_milk", "farming:soy_milk"},
|
||||||
|
{"group:food_salt", "group:food_peppercorn", "group:food_lemon"},
|
||||||
|
{"group:food_gelatin", "group:food_pot", ""}
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"farming:soy_milk", "vessels:drinking_glass 3"},
|
||||||
|
{"farming:pot", "farming:pot"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Onigiri
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:onigiri", {
|
||||||
|
description = S("Onirigi"),
|
||||||
|
inventory_image = "farming_onigiri.png",
|
||||||
|
on_use = minetest.item_eat(2),
|
||||||
|
groups = {flammable = 2}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:onigiri",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_rice", "group:food_salt", "group:food_rice"},
|
||||||
|
{"", "group:food_seaweed", ""}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Gyoza
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:gyoza", {
|
||||||
|
description = S("Gyoza"),
|
||||||
|
inventory_image = "farming_gyoza.png",
|
||||||
|
on_use = minetest.item_eat(4),
|
||||||
|
groups = {flammable = 2}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:gyoza 4",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_cabbage", "group:food_garlic_clove", "group:food_onion"},
|
||||||
|
{"group:food_meat_raw", "group:food_salt", "group:food_flour"},
|
||||||
|
{"", "group:food_skillet", ""}
|
||||||
|
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"group:food_skillet", "farming:skillet"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Mochi
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:mochi", {
|
||||||
|
description = S("Mochi"),
|
||||||
|
inventory_image = "farming_mochi.png",
|
||||||
|
on_use = minetest.item_eat(3),
|
||||||
|
groups = {flammable = 2}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:mochi",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_rice", "group:food_sugar", "group:food_rice"},
|
||||||
|
{"", "group:food_mortar_pestle", ""},
|
||||||
|
{"", "farming:glass_water", ""}
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"group:food_mortar_pestle", "farming:mortar_pestle"},
|
||||||
|
{"farming:glass_water", "vessels:drinking_glass"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
2
hoes.lua
@ -361,7 +361,7 @@ farming.add_to_scythe_not_drops = function(item)
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_tool("farming:scythe_mithril", {
|
minetest.register_tool("farming:scythe_mithril", {
|
||||||
description = S("Mithril Scythe (Right-click to harvest and replant crops)"),
|
description = S("Mithril Scythe (Use to harvest and replant crops)"),
|
||||||
inventory_image = "farming_scythe_mithril.png",
|
inventory_image = "farming_scythe_mithril.png",
|
||||||
sound = {breaks = "default_tool_breaks"},
|
sound = {breaks = "default_tool_breaks"},
|
||||||
|
|
||||||
|
8
init.lua
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
farming = {
|
farming = {
|
||||||
mod = "redo",
|
mod = "redo",
|
||||||
version = "20201213",
|
version = "20210928",
|
||||||
path = minetest.get_modpath("farming"),
|
path = minetest.get_modpath("farming"),
|
||||||
select = {
|
select = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -633,6 +633,9 @@ farming.blackberry = 0.002
|
|||||||
farming.soy = 0.001
|
farming.soy = 0.001
|
||||||
farming.vanilla = 0.001
|
farming.vanilla = 0.001
|
||||||
farming.lettuce = 0.001
|
farming.lettuce = 0.001
|
||||||
|
farming.artichoke = 0.001
|
||||||
|
farming.parsley = 0.002
|
||||||
|
farming.sunflower = 0.001
|
||||||
farming.grains = true
|
farming.grains = true
|
||||||
farming.rarety = 0.002
|
farming.rarety = 0.002
|
||||||
|
|
||||||
@ -703,6 +706,9 @@ ddoo("blackberry.lua", farming.blackberry)
|
|||||||
ddoo("soy.lua", farming.soy)
|
ddoo("soy.lua", farming.soy)
|
||||||
ddoo("vanilla.lua", farming.vanilla)
|
ddoo("vanilla.lua", farming.vanilla)
|
||||||
ddoo("lettuce.lua", farming.lettuce)
|
ddoo("lettuce.lua", farming.lettuce)
|
||||||
|
ddoo("artichoke.lua", farming.artichoke)
|
||||||
|
ddoo("parsley.lua", farming.parsley)
|
||||||
|
ddoo("sunflower.lua", farming.sunflower)
|
||||||
|
|
||||||
dofile(farming.path .. "/food.lua")
|
dofile(farming.path .. "/food.lua")
|
||||||
dofile(farming.path .. "/mapgen.lua")
|
dofile(farming.path .. "/mapgen.lua")
|
||||||
|
41
license.txt
@ -63,6 +63,11 @@ Created by VanessaE (License: CC BY 3.0):
|
|||||||
farming_cotton_7.png
|
farming_cotton_7.png
|
||||||
farming_cotton_8.png
|
farming_cotton_8.png
|
||||||
|
|
||||||
|
Created by 7eventy7 (https://www.planetminecraft.com/member/7eventy7/)
|
||||||
|
farming_melon_top.png
|
||||||
|
farming_melon_side.png
|
||||||
|
farming_melon_bottom.png
|
||||||
|
|
||||||
Created by Doc (License: CC BY 3.0):
|
Created by Doc (License: CC BY 3.0):
|
||||||
farming_cucumber.png
|
farming_cucumber.png
|
||||||
farming_cucumber_1.png
|
farming_cucumber_1.png
|
||||||
@ -145,13 +150,33 @@ Created by mDiyo (Natura), modified by TenPlus1 (License: CC BY-SA 3.0):
|
|||||||
farming_barley.png
|
farming_barley.png
|
||||||
|
|
||||||
Created by OgelGames (CC BY-SA 4.0)
|
Created by OgelGames (CC BY-SA 4.0)
|
||||||
farming_berry_smoothie.png
|
farming_berry_smoothie.png
|
||||||
farming_cactus_juice.png
|
farming_cactus_juice.png
|
||||||
farming_salad.png
|
farming_salad.png
|
||||||
|
|
||||||
Created by Felfa (CC0)
|
Created by Felfa (CC0)
|
||||||
farming_blackberry*.png
|
farming_blackberry*.png
|
||||||
farming_lettuce*.png
|
farming_lettuce*.png
|
||||||
farming_burger.png
|
farming_burger.png
|
||||||
farming_soy*.png
|
farming_soy*.png
|
||||||
farming_vanilla*.png
|
farming_vanilla*.png
|
||||||
|
farming_artichoke*.png
|
||||||
|
farming_parsley*.png
|
||||||
|
farming_paella.png
|
||||||
|
farming_potato_omelette.png
|
||||||
|
farming_spanish_potatoes.png
|
||||||
|
farming_vanilla_flan.png
|
||||||
|
farming_sunflower*.png
|
||||||
|
|
||||||
|
Created by gorlock (CC0)
|
||||||
|
farming_salt_crystal.png
|
||||||
|
|
||||||
|
Created by sirrobzeroone (CC0)
|
||||||
|
farming_gyoza.png
|
||||||
|
farming_pineapple_ring.png
|
||||||
|
|
||||||
|
Created by TechM8 (https://www.deviantart.com/techm8)
|
||||||
|
farming_popcorn.png
|
||||||
|
|
||||||
|
Created by RZR0 (CC-BY-NC-SA)
|
||||||
|
farming_blueberry_pie.png
|
||||||
|
@ -1,94 +1,94 @@
|
|||||||
# textdomain:farming
|
# textdomain:farming
|
||||||
#%s Hoe=
|
%s Hoe=%s Hacke
|
||||||
Apple Donut=Apfeldonut
|
Apple Donut=Apfeldonut
|
||||||
#Apple Pie=
|
Apple Pie=Apfelkuchen
|
||||||
Baked Potato=Ofenkartoffel
|
Baked Potato=Ofenkartoffel
|
||||||
#Baking Tray=
|
Baking Tray=Kuchenblech
|
||||||
#Banana=
|
Banana=Banane
|
||||||
#Banana Leaves=
|
Banana Leaves=Bananenblatt
|
||||||
Bar of Dark Chocolate=Tafel Zartbitterschokolade
|
Bar of Dark Chocolate=Tafel Zartbitterschokolade
|
||||||
Barley=Gerste
|
Barley=Gerste
|
||||||
Barley Seed=Gerstenkörner
|
Barley Seed=Gerstenkörner
|
||||||
Bean Pole (place on soil before planting beans)=Bohnenstange (vor dem Pflanzen der Bohnen auf den\nAckerboden stellen)
|
Bean Pole (place on soil before planting beans)=Bohnenstange (vor dem Pflanzen der Bohnen auf den\nAckerboden stellen)
|
||||||
#Beetroot=
|
Beetroot=Rote Beete
|
||||||
#Beetroot Soup=
|
Beetroot Soup=Rote Beete Suppe
|
||||||
#Bibimbap=
|
Bibimbap=Bibimbap
|
||||||
Wild Blueberries=Wilde Blaubeeren
|
Wild Blueberries=Wilde Blaubeeren
|
||||||
Blueberry Muffin=Blaubeermuffin
|
Blueberry Muffin=Blaubeermuffin
|
||||||
#Blueberry Pie=
|
Blueberry Pie=Blaubeerkuchen
|
||||||
Bottle of Ethanol=Flasche Ethanol
|
Bottle of Ethanol=Flasche Ethanol
|
||||||
Bottle of Hemp Oil=Flasche mit Hanföl
|
Bottle of Hemp Oil=Flasche mit Hanföl
|
||||||
#Bowl of Chili=
|
Bowl of Chili=Chili Schale
|
||||||
Bread=Brot
|
Bread=Brot
|
||||||
Bronze Hoe=Bronzehacke
|
Bronze Hoe=Bronzehacke
|
||||||
#Cabbage=
|
Cabbage=Weißkohl
|
||||||
#Cactus Juice=
|
Cactus Juice=Kaktussaft
|
||||||
Carrot=Möhre
|
Carrot=Möhre
|
||||||
#Carrot Juice=
|
Carrot Juice=Möhrensaft
|
||||||
#Chili Pepper=
|
Chili Pepper=Chili
|
||||||
#Chocolate Block=
|
Chocolate Block=Schokoladenstück
|
||||||
Chocolate Donut=Schokodonut
|
Chocolate Donut=Schokodonut
|
||||||
Cocoa Beans=Kakaobohne
|
Cocoa Beans=Kakaobohne
|
||||||
Coffee Beans=Kaffeebohnen
|
Coffee Beans=Kaffeebohnen
|
||||||
Cookie=Keks
|
Cookie=Keks
|
||||||
#Cooking Pot=
|
Cooking Pot=Kochtopf
|
||||||
Corn=Mais
|
Corn=Mais
|
||||||
Corn on the Cob=Maiskolben
|
Corn on the Cob=Maiskolben
|
||||||
#Cornstarch=
|
Cornstarch=Speisestärke
|
||||||
Cotton=Baumwolle
|
Cotton=Baumwolle
|
||||||
Cotton Seed=Baumwollsamen
|
Cotton Seed=Baumwollsamen
|
||||||
Cucumber=Gurke
|
Cucumber=Gurke
|
||||||
#Cucumber and Potato Salad=
|
Cucumber and Potato Salad=Gurken und Tomatensalat
|
||||||
Cup of Coffee=Tasse Kaffee
|
Cup of Coffee=Tasse Kaffee
|
||||||
#Cutting Board=
|
Cutting Board=Schneidebrett
|
||||||
Diamond Hoe=Diamanthacke
|
Diamond Hoe=Diamanthacke
|
||||||
Donut=Donut
|
Donut=Donut
|
||||||
Flour=Mehl
|
Flour=Mehl
|
||||||
#Garlic=
|
Garlic=Knoblauch
|
||||||
#Garlic Braid=
|
Garlic Braid=Knoblauchzopf
|
||||||
#Garlic Bread=
|
Garlic Bread=Knoblauchbrot
|
||||||
#Garlic clove=
|
Garlic clove=Knoblauchzehe
|
||||||
#Glass Mixing Bowl=
|
Glass Mixing Bowl=Glasschlüssel
|
||||||
Golden Carrot=Goldene Möhre
|
Golden Carrot=Goldene Möhre
|
||||||
Grapes=Weintrauben
|
Grapes=Weintrauben
|
||||||
Green Beans=Grüne Bohnen
|
Green Beans=Grüne Bohnen
|
||||||
#Ground Pepper=
|
Ground Pepper=Gemahlener Pfeffer
|
||||||
#Hemp Block=
|
Hemp Block=Hanfblock
|
||||||
Hemp Fibre=Hanffaser
|
Hemp Fibre=Hanffaser
|
||||||
Hemp Leaf=Hanfblatt
|
Hemp Leaf=Hanfblatt
|
||||||
Hemp Rope=Hanfseil
|
Hemp Rope=Hanfseil
|
||||||
Hemp Seed=Hanfsamen
|
Hemp Seed=Hanfsamen
|
||||||
Hoe=Hacke
|
Hoe=Hacke
|
||||||
#Hoe Bomb (use or throw on grassy areas to hoe land)=
|
Hoe Bomb (use or throw on grassy areas to hoe land)=Hackbombe (Auf Grasland werfen oder benutzen)
|
||||||
Jack 'O Lantern (punch to turn on and off)=Kürbislaterne (Punch zum Ein- und Ausschalten)
|
Jack 'O Lantern (punch to turn on and off)=Kürbislaterne (Punch zum Ein- und Ausschalten)
|
||||||
#Jaffa Cake=
|
Jaffa Cake=Jaffakeks
|
||||||
#Juicer=
|
Juicer=Entsafter
|
||||||
Melon=Melone
|
Melon=Melone
|
||||||
Melon Slice=Melonenscheibe
|
Melon Slice=Melonenscheibe
|
||||||
Mese Hoe=Mesehacke
|
Mese Hoe=Mesehacke
|
||||||
#Mint Leaf=
|
Mint Leaf=Minzblatt
|
||||||
#Mint Seeds=
|
Mint Seeds=Minzsamen
|
||||||
#Mint Tea=
|
Mint Tea=Minztee
|
||||||
#Mithril Scythe (Right-click to harvest and replant crops)=
|
Mithril Scythe (Right-click to harvest and replant crops)=Mithril-Sense (Rechts-Klick zum Ernten und Wiedereinpflanzen)
|
||||||
#Mortar and Pestle=
|
Mortar and Pestle=Mörser und Stößel
|
||||||
#Multigrain Bread=
|
Multigrain Bread=Mehrkornbrot
|
||||||
#Multigrain Flour=
|
Multigrain Flour=Mehrkornmehl
|
||||||
#Oat seed=
|
Oat seed=Hafersamen
|
||||||
#Oats=
|
Oats=Hafer
|
||||||
#Onion=
|
Onion=Zwiebel
|
||||||
#Onion Soup=
|
Onion Soup=Zwiebelsuppe
|
||||||
#Orange=
|
Orange=Apfelsine
|
||||||
#Pasta=
|
Pasta=Pasta
|
||||||
#Pea Pod=
|
Pea Pod=Erbsenschote
|
||||||
#Pea Soup=
|
Pea Soup=Erbsensuppe
|
||||||
#Peas=
|
Peas=Erbsen
|
||||||
#Pepper=
|
Pepper=Pfeffer
|
||||||
#Peppercorn=
|
Peppercorn=Pfefferkorn
|
||||||
#Pineapple=
|
Pineapple=Ananas
|
||||||
#Pineapple Juice=
|
Pineapple Juice=Ananassaft
|
||||||
#Pineapple Ring=
|
Pineapple Ring=Ananasscheibe
|
||||||
#Pineapple Top=
|
Pineapple Top=Ananasdeckel
|
||||||
#Porridge=
|
Porridge=Haferbrei
|
||||||
Potato=Kartoffel
|
Potato=Kartoffel
|
||||||
Pumpkin=Kürbis
|
Pumpkin=Kürbis
|
||||||
Pumpkin Bread=Kürbisbrot
|
Pumpkin Bread=Kürbisbrot
|
||||||
@ -98,37 +98,37 @@ Raspberries=Himbeeren
|
|||||||
Raspberry Smoothie=Himbeersmoothie
|
Raspberry Smoothie=Himbeersmoothie
|
||||||
Rhubarb=Rhabarber
|
Rhubarb=Rhabarber
|
||||||
Rhubarb Pie=Rhabarberkuchen
|
Rhubarb Pie=Rhabarberkuchen
|
||||||
#Rice=
|
Rice=Reis
|
||||||
#Rice Bread=
|
Rice Bread=Reiswaffel
|
||||||
#Rice Flour=
|
Rice Flour=Reismehl
|
||||||
#Rice grains=
|
Rice grains=Reissaat
|
||||||
#Rose Water=
|
Rose Water=Rosenwasser
|
||||||
#Rye=
|
Rye=Roggen
|
||||||
#Rye seed=
|
Rye seed=Roggensaat
|
||||||
#Salt=
|
Salt=Salz
|
||||||
#Saucepan=
|
Saucepan=Kasserolle
|
||||||
#Savanna Soil=
|
Savanna Soil=Savannaerde
|
||||||
#Scarecrow Bottom=
|
Scarecrow Bottom=Vogelscheuchengestell
|
||||||
Seed=Saatgut
|
Seed=Saatgut
|
||||||
#Skillet=
|
Skillet=Bratpfanne
|
||||||
#Sliced Bread=
|
Sliced Bread=Geschnittenes Brot
|
||||||
Soil=Ackerboden
|
Soil=Ackerboden
|
||||||
#Spaghetti=
|
Spaghetti=Spaghetti
|
||||||
Steel Hoe=Stahlhacke
|
Steel Hoe=Stahlhacke
|
||||||
Stone Hoe=Steinhacke
|
Stone Hoe=Steinhacke
|
||||||
Straw=Stroh
|
Straw=Stroh
|
||||||
#Strawberry=
|
Strawberry=Erdbeere
|
||||||
#String=
|
String=Faden
|
||||||
Sugar=Zucker
|
Sugar=Zucker
|
||||||
#Toast=
|
Toast=Toast
|
||||||
#Toast Sandwich=
|
Toast Sandwich=Toast Sandwich
|
||||||
Tomato=Tomate
|
Tomato=Tomate
|
||||||
Trellis (place on soil before planting grapes)=Spalier (vor dem Pflanzen der Weintrauben auf den\nAckerboden stellen)
|
Trellis (place on soil before planting grapes)=Spalier (vor dem Pflanzen der Weintrauben auf den\nAckerboden stellen)
|
||||||
#Turkish Delight=
|
Turkish Delight=Lokum
|
||||||
#Wet Savanna Soil=
|
Wet Savanna Soil=Feuchte Savannaerde
|
||||||
Wet Soil=Bewässerter Ackerboden
|
Wet Soil=Bewässerter Ackerboden
|
||||||
Wheat=Weizen
|
Wheat=Weizen
|
||||||
Wheat Seed=Weizenkörner
|
Wheat Seed=Weizenkörner
|
||||||
#Wild Cotton=
|
Wild Cotton=Wilde Baumwolle
|
||||||
#Wooden Bowl=
|
Wooden Bowl=Holzschale
|
||||||
Wooden Hoe=Holzhacke
|
Wooden Hoe=Holzhacke
|
||||||
|
@ -60,7 +60,7 @@ Hemp Rope=麻绳
|
|||||||
Hemp Seed=大麻籽
|
Hemp Seed=大麻籽
|
||||||
Hoe=锄头
|
Hoe=锄头
|
||||||
Hoe Bomb (use or throw on grassy areas to hoe land)=锄弹(在草地上使用或扔在锄地上)
|
Hoe Bomb (use or throw on grassy areas to hoe land)=锄弹(在草地上使用或扔在锄地上)
|
||||||
Jack 'O Lantern (punch to turn on and off)=杰克灯(按一下开关)
|
Jack 'O Lantern (punch to turn on and off)=南瓜灯(按一下开关)
|
||||||
Jaffa Cake=佳发饼
|
Jaffa Cake=佳发饼
|
||||||
Juicer=榨汁机
|
Juicer=榨汁机
|
||||||
Melon=甜瓜
|
Melon=甜瓜
|
||||||
@ -118,7 +118,7 @@ Steel Hoe=钢锄头
|
|||||||
Stone Hoe=石锄
|
Stone Hoe=石锄
|
||||||
Straw=稻草
|
Straw=稻草
|
||||||
Strawberry=草莓
|
Strawberry=草莓
|
||||||
String=字符串
|
String=线
|
||||||
Sugar=糖
|
Sugar=糖
|
||||||
Toast=烤面包片
|
Toast=烤面包片
|
||||||
Toast Sandwich=三明治面包
|
Toast Sandwich=三明治面包
|
||||||
|
@ -60,7 +60,7 @@ Hemp Rope=麻繩
|
|||||||
Hemp Seed=大麻籽
|
Hemp Seed=大麻籽
|
||||||
Hoe=鋤頭
|
Hoe=鋤頭
|
||||||
Hoe Bomb (use or throw on grassy areas to hoe land)=鋤彈(在草地上使用或扔在鋤地上)
|
Hoe Bomb (use or throw on grassy areas to hoe land)=鋤彈(在草地上使用或扔在鋤地上)
|
||||||
Jack 'O Lantern (punch to turn on and off)=傑克燈(按一下開關)
|
Jack 'O Lantern (punch to turn on and off)=南瓜燈(按一下開關)
|
||||||
Jaffa Cake=佳發餅
|
Jaffa Cake=佳發餅
|
||||||
Juicer=榨汁機
|
Juicer=榨汁機
|
||||||
Melon=甜瓜
|
Melon=甜瓜
|
||||||
@ -118,7 +118,7 @@ Steel Hoe=鋼鋤頭
|
|||||||
Stone Hoe=石鋤
|
Stone Hoe=石鋤
|
||||||
Straw=稻草
|
Straw=稻草
|
||||||
Strawberry=草莓
|
Strawberry=草莓
|
||||||
String=字符串
|
String=線
|
||||||
Sugar=糖
|
Sugar=糖
|
||||||
Toast=烤麵包片
|
Toast=烤麵包片
|
||||||
Toast Sandwich=三明治麵包
|
Toast Sandwich=三明治麵包
|
||||||
|
238
locale/zh_CN.txt
@ -1,119 +1,119 @@
|
|||||||
Seed=种子
|
Seed=种子
|
||||||
Banana=香蕉
|
Banana=香蕉
|
||||||
Banana Leaves=香蕉叶
|
Banana Leaves=香蕉叶
|
||||||
Orange=橙色
|
Orange=橙色
|
||||||
Strawberry=草莓
|
Strawberry=草莓
|
||||||
Sugar=糖
|
Sugar=糖
|
||||||
Salt=盐
|
Salt=盐
|
||||||
Rose Water=玫瑰汁
|
Rose Water=玫瑰汁
|
||||||
Turkish Delight=土耳其软糖
|
Turkish Delight=土耳其软糖
|
||||||
Garlic Bread=蒜香面包
|
Garlic Bread=蒜香面包
|
||||||
Donut=甜甜圈
|
Donut=甜甜圈
|
||||||
Chocolate Donut=巧克力甜甜圈
|
Chocolate Donut=巧克力甜甜圈
|
||||||
Apple Donut=苹果甜甜圈
|
Apple Donut=苹果甜甜圈
|
||||||
Porridge=粥
|
Porridge=粥
|
||||||
Jaffa Cake=佳发饼
|
Jaffa Cake=佳发饼
|
||||||
Hoe=锄头
|
Hoe=锄头
|
||||||
Wooden Hoe=木锄
|
Wooden Hoe=木锄
|
||||||
Stone Hoe=石锄
|
Stone Hoe=石锄
|
||||||
Steel Hoe=钢锄头
|
Steel Hoe=钢锄头
|
||||||
Bronze Hoe=青铜锄头
|
Bronze Hoe=青铜锄头
|
||||||
Mese Hoe=黄石锄头
|
Mese Hoe=黄石锄头
|
||||||
Diamond Hoe=钻石锄
|
Diamond Hoe=钻石锄
|
||||||
Hoe Bomb (use or throw on grassy areas to hoe land)=锄弹(在草地上使用或扔在锄地上)
|
Hoe Bomb (use or throw on grassy areas to hoe land)=锄弹(在草地上使用或扔在锄地上)
|
||||||
Mithril Scythe (Right-click to harvest and replant crops)=秘银镰刀(右击可收获并重新种植作物)
|
Mithril Scythe (Right-click to harvest and replant crops)=秘银镰刀(右击可收获并重新种植作物)
|
||||||
Soil=土壤
|
Soil=土壤
|
||||||
Wet Soil=湿土
|
Wet Soil=湿土
|
||||||
Wooden Bowl=木碗
|
Wooden Bowl=木碗
|
||||||
Saucepan=平底锅
|
Saucepan=平底锅
|
||||||
Cooking Pot=锅
|
Cooking Pot=锅
|
||||||
Baking Tray=烤盘
|
Baking Tray=烤盘
|
||||||
Skillet=平底锅
|
Skillet=平底锅
|
||||||
Mortar and Pestle=研钵
|
Mortar and Pestle=研钵
|
||||||
Cutting Board=砧板
|
Cutting Board=砧板
|
||||||
Juicer=榨汁机
|
Juicer=榨汁机
|
||||||
Glass Mixing Bowl=搅拌杯
|
Glass Mixing Bowl=搅拌杯
|
||||||
Barley Seed=大麦种子
|
Barley Seed=大麦种子
|
||||||
Barley=大麦
|
Barley=大麦
|
||||||
Green Beans=青豆
|
Green Beans=青豆
|
||||||
Bean Pole (place on soil before planting beans)=豆杆(种豆前先放在土上)
|
Bean Pole (place on soil before planting beans)=豆杆(种豆前先放在土上)
|
||||||
Beetroot=甜菜根
|
Beetroot=甜菜根
|
||||||
Beetroot Soup=甜菜根汤
|
Beetroot Soup=甜菜根汤
|
||||||
Blueberries=蓝莓
|
Blueberries=蓝莓
|
||||||
Blueberry Muffin=蓝莓松糕
|
Blueberry Muffin=蓝莓松糕
|
||||||
Blueberry Pie=蓝莓派
|
Blueberry Pie=蓝莓派
|
||||||
Carrot=胡萝卜
|
Carrot=胡萝卜
|
||||||
Carrot Juice=胡萝卜汁
|
Carrot Juice=胡萝卜汁
|
||||||
Golden Carrot=金萝卜
|
Golden Carrot=金萝卜
|
||||||
Chili Pepper=辣椒
|
Chili Pepper=辣椒
|
||||||
Bowl of Chili=一碗辣椒
|
Bowl of Chili=一碗辣椒
|
||||||
Cocoa Beans=可可豆
|
Cocoa Beans=可可豆
|
||||||
Cookie=曲奇
|
Cookie=曲奇
|
||||||
Bar of Dark Chocolate=黑巧克力条
|
Bar of Dark Chocolate=黑巧克力条
|
||||||
Chocolate Block=巧克力块
|
Chocolate Block=巧克力块
|
||||||
Coffee Beans=咖啡豆
|
Coffee Beans=咖啡豆
|
||||||
Cup of Coffee=一杯咖啡
|
Cup of Coffee=一杯咖啡
|
||||||
Corn=玉米
|
Corn=玉米
|
||||||
Corn on the Cob=玉米棒
|
Corn on the Cob=玉米棒
|
||||||
Cornstarch=玉米淀粉
|
Cornstarch=玉米淀粉
|
||||||
Bottle of Ethanol=一瓶乙醇
|
Bottle of Ethanol=一瓶乙醇
|
||||||
Cotton Seed=棉籽
|
Cotton Seed=棉籽
|
||||||
Cotton=棉花
|
Cotton=棉花
|
||||||
String=字符串
|
String=线
|
||||||
Cucumber=黄瓜
|
Cucumber=黄瓜
|
||||||
Garlic clove=蒜瓣
|
Garlic clove=蒜瓣
|
||||||
Garlic=大蒜
|
Garlic=大蒜
|
||||||
Garlic Braid=蒜辫
|
Garlic Braid=蒜辫
|
||||||
Grapes=葡萄
|
Grapes=葡萄
|
||||||
Trellis (place on soil before planting grapes)=棚架(种植葡萄前先放在土壤上)
|
Trellis (place on soil before planting grapes)=棚架(种植葡萄前先放在土壤上)
|
||||||
Hemp Seed=大麻籽
|
Hemp Seed=大麻籽
|
||||||
Hemp Leaf=大麻叶
|
Hemp Leaf=大麻叶
|
||||||
Bottle of Hemp Oil=一瓶大麻油
|
Bottle of Hemp Oil=一瓶大麻油
|
||||||
Hemp Fibre=大麻纤维
|
Hemp Fibre=大麻纤维
|
||||||
Hemp Block=麻块
|
Hemp Block=麻块
|
||||||
Hemp Rope=麻绳
|
Hemp Rope=麻绳
|
||||||
Melon Slice=西瓜片
|
Melon Slice=西瓜片
|
||||||
Melon=甜瓜
|
Melon=甜瓜
|
||||||
Onion=洋葱
|
Onion=洋葱
|
||||||
Pea Pod=豌豆荚
|
Pea Pod=豌豆荚
|
||||||
Peas=豌豆
|
Peas=豌豆
|
||||||
Pea Soup=豌豆汤
|
Pea Soup=豌豆汤
|
||||||
Peppercorn=胡椒粉
|
Peppercorn=胡椒粉
|
||||||
Pepper=胡椒粉
|
Pepper=胡椒粉
|
||||||
Ground Pepper=胡椒粉
|
Ground Pepper=胡椒粉
|
||||||
Pineapple Top=菠萝上衣
|
Pineapple Top=菠萝上衣
|
||||||
Pineapple=菠萝
|
Pineapple=菠萝
|
||||||
Pineapple Ring=菠萝圈
|
Pineapple Ring=菠萝圈
|
||||||
Pineapple Juice=菠萝汁
|
Pineapple Juice=菠萝汁
|
||||||
Potato=土豆
|
Potato=土豆
|
||||||
Baked Potato=焗马铃薯
|
Baked Potato=焗马铃薯
|
||||||
Cucumber and Potato Salad=黄瓜土豆沙拉
|
Cucumber and Potato Salad=黄瓜土豆沙拉
|
||||||
Pumpkin Slice=南瓜片
|
Pumpkin Slice=南瓜片
|
||||||
Jack 'O Lantern (punch to turn on and off)=杰克灯(按一下开关)
|
Jack 'O Lantern (punch to turn on and off)=杰克灯(按一下开关)
|
||||||
Scarecrow Bottom=稻草人屁股
|
Scarecrow Bottom=稻草人屁股
|
||||||
Pumpkin Bread=南瓜面包
|
Pumpkin Bread=南瓜面包
|
||||||
Pumpkin Dough=南瓜面团
|
Pumpkin Dough=南瓜面团
|
||||||
Pumpkin=南瓜
|
Pumpkin=南瓜
|
||||||
Raspberries=覆盆子
|
Raspberries=覆盆子
|
||||||
Raspberry Smoothie=覆盆子冰沙
|
Raspberry Smoothie=覆盆子冰沙
|
||||||
Rhubarb=大黄
|
Rhubarb=大黄
|
||||||
Rhubarb Pie=大黄派
|
Rhubarb Pie=大黄派
|
||||||
Rye=黑麦
|
Rye=黑麦
|
||||||
Rye seed=黑麦种子
|
Rye seed=黑麦种子
|
||||||
Oat=燕麦
|
Oat=燕麦
|
||||||
Oat seed=燕麦籽
|
Oat seed=燕麦籽
|
||||||
Rice=大米
|
Rice=大米
|
||||||
Rice grains=稻谷
|
Rice grains=稻谷
|
||||||
Rice Bread=米饭面包
|
Rice Bread=米饭面包
|
||||||
Rice Flour=米粉
|
Rice Flour=米粉
|
||||||
Multigrain Flour=多粒面粉
|
Multigrain Flour=多粒面粉
|
||||||
Multigrain Bread=杂粮面包
|
Multigrain Bread=杂粮面包
|
||||||
Tomato=番茄
|
Tomato=番茄
|
||||||
Wheat Seed=小麦种子
|
Wheat Seed=小麦种子
|
||||||
Wheat=小麦
|
Wheat=小麦
|
||||||
Straw=稻草
|
Straw=稻草
|
||||||
Flour=面粉
|
Flour=面粉
|
||||||
Bread=面包
|
Bread=面包
|
||||||
Sliced Bread=切片面包
|
Sliced Bread=切片面包
|
||||||
Toast=烤面包片
|
Toast=烤面包片
|
||||||
Toast Sandwich=三明治面包
|
Toast Sandwich=三明治面包
|
||||||
|
@ -72,6 +72,8 @@ if minetest.get_modpath("lucky_block") then
|
|||||||
{name = "farming:seed_rice", max = 15},
|
{name = "farming:seed_rice", max = 15},
|
||||||
{name = "farming:seed_oat", max = 15},
|
{name = "farming:seed_oat", max = 15},
|
||||||
{name = "farming:soil_wet", max = 10},
|
{name = "farming:soil_wet", max = 10},
|
||||||
|
{name = "farming:cotton_wild", max = 5},
|
||||||
|
{name = "farming:grapebush", max = 5},
|
||||||
}},
|
}},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
95
mapgen.lua
@ -1,3 +1,8 @@
|
|||||||
|
-- what mapgen are we using
|
||||||
|
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||||
|
|
||||||
|
-- temp vars
|
||||||
|
local tmp1, tmp2, tmp3
|
||||||
|
|
||||||
-- decoration function
|
-- decoration function
|
||||||
local function register_plant(name, min, max, spawnon, spawnby, num, rarety)
|
local function register_plant(name, min, max, spawnon, spawnby, num, rarety)
|
||||||
@ -35,9 +40,6 @@ end
|
|||||||
register_plant("potato_3", 15, 40, nil, "", -1, farming.potato)
|
register_plant("potato_3", 15, 40, nil, "", -1, farming.potato)
|
||||||
register_plant("tomato_7", 5, 20, nil, "", -1, farming.tomato)
|
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, nil)
|
||||||
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)
|
|
||||||
register_plant("raspberry_4", 3, 10, nil, "", -1, farming.raspberry)
|
register_plant("raspberry_4", 3, 10, nil, "", -1, farming.raspberry)
|
||||||
register_plant("rhubarb_3", 3, 15, nil, "", -1, farming.rhubarb)
|
register_plant("rhubarb_3", 3, 15, nil, "", -1, farming.rhubarb)
|
||||||
register_plant("blueberry_4", 3, 10, nil, "", -1, farming.blueberry)
|
register_plant("blueberry_4", 3, 10, nil, "", -1, farming.blueberry)
|
||||||
@ -47,23 +49,26 @@ register_plant("onion_5", 5, 22, nil, "", -1, farming.onion)
|
|||||||
register_plant("garlic_5", 3, 30, nil, "group:tree", 1, farming.garlic)
|
register_plant("garlic_5", 3, 30, nil, "group:tree", 1, farming.garlic)
|
||||||
register_plant("pea_5", 25, 50, nil, "", -1, farming.peas)
|
register_plant("pea_5", 25, 50, nil, "", -1, farming.peas)
|
||||||
register_plant("beetroot_5", 1, 15, nil, "", -1, farming.beetroot)
|
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)
|
|
||||||
register_plant("cabbage_6", 2, 10, nil, "", -1, farming.cabbage)
|
register_plant("cabbage_6", 2, 10, nil, "", -1, farming.cabbage)
|
||||||
register_plant("lettuce_5", 5, 30, nil, "", -1, farming.lettuce)
|
register_plant("lettuce_5", 5, 30, nil, "", -1, farming.lettuce)
|
||||||
register_plant("blackberry_4", 3, 10, nil, "", -1, farming.blackberry)
|
register_plant("blackberry_4", 3, 10, nil, "", -1, farming.blackberry)
|
||||||
register_plant("soy_6", 20, 50, {"default:dirt_with_dry_grass",
|
|
||||||
"default:dirt_with_rainforest_litter",
|
|
||||||
"default:dry_dirt_with_dry_grass"}, "", -1, farming.soy)
|
|
||||||
register_plant("vanilla_7", 5, 35, nil, "", -1, farming.vanilla)
|
register_plant("vanilla_7", 5, 35, nil, "", -1, farming.vanilla)
|
||||||
|
register_plant("parsley_3", 10, 40, nil, "", -1, farming.parsley)
|
||||||
|
register_plant("sunflower_8", 10, 40, nil, "", -1, farming.sunflower)
|
||||||
|
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
|
-- v6 mapgen compatibility for specific crops
|
||||||
|
if mg_name == "v6" then
|
||||||
|
|
||||||
register_plant("carrot_8", 1, 30, nil, "group:water", 1, farming.carrot)
|
register_plant("carrot_8", 1, 30, nil, "group:water", 1, farming.carrot)
|
||||||
register_plant("cucumber_4", 1, 20, nil, "group:water", 1, farming.cucumber)
|
register_plant("cucumber_4", 1, 20, nil, "group:water", 1, farming.cucumber)
|
||||||
register_plant("melon_8", 1, 20, nil, "group:water", 1, farming.melon)
|
register_plant("melon_8", 1, 20, nil, "group:water", 1, farming.melon)
|
||||||
register_plant("pumpkin_8", 1, 20, nil, "group:water", 1, farming.pumpkin)
|
register_plant("pumpkin_8", 1, 20, nil, "group:water", 1, farming.pumpkin)
|
||||||
|
register_plant("coffee_5", 20, 45, nil, "", -1, farming.coffee)
|
||||||
|
register_plant("soy_6", 20, 50, nil, "", -1, farming.soy)
|
||||||
else
|
else
|
||||||
-- v7 maps have a beach so plants growing near water is limited to 6 high
|
-- 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, nil)
|
||||||
@ -71,8 +76,15 @@ else
|
|||||||
register_plant("melon_8", 1, 6, {"default:dirt_with_dry_grass",
|
register_plant("melon_8", 1, 6, {"default:dirt_with_dry_grass",
|
||||||
"default:dirt_with_rainforest_litter"}, "", -1, farming.melon)
|
"default:dirt_with_rainforest_litter"}, "", -1, farming.melon)
|
||||||
register_plant("pumpkin_8", 1, 6, nil, "", -1, farming.pumpkin)
|
register_plant("pumpkin_8", 1, 6, nil, "", -1, farming.pumpkin)
|
||||||
|
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)
|
||||||
|
register_plant("soy_6", 20, 50, {"default:dirt_with_dry_grass",
|
||||||
|
"default:dirt_with_rainforest_litter",
|
||||||
|
"default:dry_dirt_with_dry_grass"}, "", -1, farming.soy)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if farming.hemp then
|
if farming.hemp then
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
@ -94,6 +106,7 @@ minetest.register_decoration({
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if farming.chili then
|
if farming.chili then
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
@ -115,10 +128,40 @@ minetest.register_decoration({
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if farming.pepper then
|
|
||||||
|
if farming.artichoke then
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = {"default:dirt_with_rainforest_litter"},
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0,
|
||||||
|
scale = tonumber(farming.artichoke) or farming.rarety,
|
||||||
|
spread = {x = 100, y = 100, z = 100},
|
||||||
|
seed = 448,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.6
|
||||||
|
},
|
||||||
|
y_min = 1,
|
||||||
|
y_max = 13,
|
||||||
|
decoration = {"farming:artichoke_5"},
|
||||||
|
spawn_by = "group:tree",
|
||||||
|
num_spawn_by = 1,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
if farming.pepper then
|
||||||
|
|
||||||
|
local tmp1 = {"default:dirt_with_rainforest_litter"} -- v7
|
||||||
|
|
||||||
|
if mg_name == "v6" then
|
||||||
|
tmp1 = {"default:dirt_with_grass"} -- v6
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = tmp1,
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
@ -136,10 +179,22 @@ minetest.register_decoration({
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if farming.pineapple then
|
if farming.pineapple then
|
||||||
|
|
||||||
|
tmp1 = {"default:dirt_with_dry_grass", "default:dry_dirt_with_dry_grass"}
|
||||||
|
tmp2 = nil
|
||||||
|
tmp3 = -1
|
||||||
|
|
||||||
|
if mg_name == "v6" then
|
||||||
|
tmp1 = {"default:dirt_with_grass"}
|
||||||
|
tmp2 = "default:desert_sand"
|
||||||
|
tmp3 = 1
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = {"default:dirt_with_dry_grass", "default:dry_dirt_with_dry_grass"},
|
place_on = tmp1,
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
@ -151,14 +206,24 @@ minetest.register_decoration({
|
|||||||
},
|
},
|
||||||
y_min = 18,
|
y_min = 18,
|
||||||
y_max = 30,
|
y_max = 30,
|
||||||
decoration = {"farming:pineapple_8"}
|
decoration = {"farming:pineapple_8"},
|
||||||
|
spawn_by = tmp2,
|
||||||
|
num_spawn_by = tmp3
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
tmp1 = {"default:dry_dirt_with_dry_grass"}
|
||||||
|
tmp2 = {"savanna"}
|
||||||
|
|
||||||
|
if mg_name == "v6" then
|
||||||
|
tmp1 = {"default:dirt_with_grass"}
|
||||||
|
tmp2 = {"jungle"}
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
name = "farming:cotton_wild",
|
name = "farming:cotton_wild",
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = {"default:dry_dirt_with_dry_grass"},
|
place_on = tmp1,
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = -0.1,
|
offset = -0.1,
|
||||||
@ -168,7 +233,7 @@ minetest.register_decoration({
|
|||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 0.7
|
persist = 0.7
|
||||||
},
|
},
|
||||||
biomes = {"savanna"},
|
biomes = tmp2,
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
y_min = 1,
|
y_min = 1,
|
||||||
decoration = "farming:cotton_wild"
|
decoration = "farming:cotton_wild"
|
||||||
|
2
soil.lua
@ -148,7 +148,7 @@ minetest.register_abm({
|
|||||||
if minetest.registered_nodes[nn]
|
if minetest.registered_nodes[nn]
|
||||||
and minetest.registered_nodes[nn].walkable
|
and minetest.registered_nodes[nn].walkable
|
||||||
and minetest.get_item_group(nn, "plant") == 0 then
|
and minetest.get_item_group(nn, "plant") == 0 then
|
||||||
minetest.set_node(pos, {name = "default:dirt"})
|
minetest.set_node(pos, {name = ndef.soil.base})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
BIN
textures/farming_artichoke.png
Normal file
After Width: | Height: | Size: 263 B |
BIN
textures/farming_artichoke_1.png
Normal file
After Width: | Height: | Size: 118 B |
BIN
textures/farming_artichoke_2.png
Normal file
After Width: | Height: | Size: 120 B |
BIN
textures/farming_artichoke_3.png
Normal file
After Width: | Height: | Size: 183 B |
BIN
textures/farming_artichoke_4.png
Normal file
After Width: | Height: | Size: 160 B |
BIN
textures/farming_artichoke_5.png
Normal file
After Width: | Height: | Size: 216 B |
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 200 B |
BIN
textures/farming_caramel.png
Normal file
After Width: | Height: | Size: 133 B |
BIN
textures/farming_cheese_vegan.png
Normal file
After Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 173 B |
BIN
textures/farming_gyoza.png
Normal file
After Width: | Height: | Size: 266 B |
BIN
textures/farming_melon_bottom.png
Normal file
After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 122 B After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 233 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 289 B |
BIN
textures/farming_mochi.png
Normal file
After Width: | Height: | Size: 212 B |
BIN
textures/farming_onigiri.png
Normal file
After Width: | Height: | Size: 204 B |
BIN
textures/farming_paella.png
Normal file
After Width: | Height: | Size: 487 B |
BIN
textures/farming_parsley.png
Normal file
After Width: | Height: | Size: 606 B |
BIN
textures/farming_parsley_1.png
Normal file
After Width: | Height: | Size: 167 B |
BIN
textures/farming_parsley_2.png
Normal file
After Width: | Height: | Size: 195 B |
BIN
textures/farming_parsley_3.png
Normal file
After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 449 B |
BIN
textures/farming_popcorn.png
Normal file
After Width: | Height: | Size: 292 B |
BIN
textures/farming_potato_omelet.png
Normal file
After Width: | Height: | Size: 687 B |
BIN
textures/farming_pumpkin_bottom.png
Normal file
After Width: | Height: | Size: 258 B |
BIN
textures/farming_salt_crystal.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
textures/farming_soy_sauce.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
textures/farming_spanish_potatoes.png
Normal file
After Width: | Height: | Size: 557 B |
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 382 B |
BIN
textures/farming_sunflower.png
Normal file
After Width: | Height: | Size: 703 B |
BIN
textures/farming_sunflower_1.png
Normal file
After Width: | Height: | Size: 107 B |
BIN
textures/farming_sunflower_2.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
textures/farming_sunflower_3.png
Normal file
After Width: | Height: | Size: 136 B |
BIN
textures/farming_sunflower_4.png
Normal file
After Width: | Height: | Size: 162 B |
BIN
textures/farming_sunflower_5.png
Normal file
After Width: | Height: | Size: 170 B |
BIN
textures/farming_sunflower_6.png
Normal file
After Width: | Height: | Size: 273 B |
BIN
textures/farming_sunflower_7.png
Normal file
After Width: | Height: | Size: 320 B |
BIN
textures/farming_sunflower_8.png
Normal file
After Width: | Height: | Size: 432 B |
BIN
textures/farming_sunflower_bread.png
Normal file
After Width: | Height: | Size: 440 B |
BIN
textures/farming_sunflower_oil.png
Normal file
After Width: | Height: | Size: 164 B |
BIN
textures/farming_sunflower_seeds.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
textures/farming_sunflower_seeds_toasted.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
textures/farming_tomato_soup.png
Normal file
After Width: | Height: | Size: 161 B |
BIN
textures/farming_vanilla_flan.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
textures/farming_water_glass.png
Normal file
After Width: | Height: | Size: 167 B |
@ -20,7 +20,7 @@ minetest.register_craft({
|
|||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "farming:bowl",
|
recipe = "farming:bowl",
|
||||||
burntime = 10,
|
burntime = 10
|
||||||
})
|
})
|
||||||
|
|
||||||
-- saucepan
|
-- saucepan
|
||||||
@ -155,9 +155,6 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
|
||||||
output = "vessels:glass_fragments",
|
output = "vessels:glass_fragments",
|
||||||
recipe = {
|
recipe = {{"farming:mixing_bowl"}}
|
||||||
"farming:mixing_bowl"
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|