forked from thunderdog1138/star_wars
Update 'mods/farming/crops/grains.lua'
This commit is contained in:
parent
25432e9288
commit
e9eca3a523
|
@ -1,20 +1,18 @@
|
||||||
|
|
||||||
local S = farming.intllib
|
local S = farming.intllib
|
||||||
|
|
||||||
--= A nice addition from Ademant's grain mod :)
|
-- Toz
|
||||||
|
|
||||||
-- Rye
|
farming.register_plant("farming:toz", {
|
||||||
|
description = S("Toz seed"),
|
||||||
farming.register_plant("farming:rye", {
|
|
||||||
description = S("Rye seed"),
|
|
||||||
paramtype2 = "meshoptions",
|
paramtype2 = "meshoptions",
|
||||||
inventory_image = "farming_rye_seed.png",
|
inventory_image = "farming_toz_seed.png",
|
||||||
steps = 8,
|
steps = 8,
|
||||||
place_param2 = 3
|
place_param2 = 3
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("farming:rye", {
|
minetest.override_item("farming:toz", {
|
||||||
description = S("Rye"),
|
description = S("toz"),
|
||||||
groups = {food_rye = 1, flammable = 4}
|
groups = {food_rye = 1, flammable = 4}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -22,7 +20,7 @@ minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "farming:flour",
|
output = "farming:flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:rye", "farming:rye", "farming:rye", "farming:rye",
|
"farming:toz", "farming:toz", "farming:toz", "farming:toz",
|
||||||
"farming:mortar_pestle"
|
"farming:mortar_pestle"
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
|
@ -30,16 +28,16 @@ minetest.register_craft({
|
||||||
|
|
||||||
-- Oats
|
-- Oats
|
||||||
|
|
||||||
farming.register_plant("farming:oat", {
|
farming.register_plant("farming:shorn", {
|
||||||
description = S("Oat seed"),
|
description = S("Shorn seed"),
|
||||||
paramtype2 = "meshoptions",
|
paramtype2 = "meshoptions",
|
||||||
inventory_image = "farming_oat_seed.png",
|
inventory_image = "farming_shorn_seed.png",
|
||||||
steps = 8,
|
steps = 8,
|
||||||
place_param2 = 3
|
place_param2 = 3
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("farming:oat", {
|
minetest.override_item("farming:shorn", {
|
||||||
description = S("Oats"),
|
description = S("Shorn"),
|
||||||
groups = {food_oats = 1, flammable = 4}
|
groups = {food_oats = 1, flammable = 4}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -47,45 +45,45 @@ minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "farming:flour",
|
output = "farming:flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:oat", "farming:oat", "farming:oat", "farming:oat",
|
"farming:shorn", "farming:shorn", "farming:shorn", "farming:shorn",
|
||||||
"farming:mortar_pestle"
|
"farming:mortar_pestle"
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Rice
|
-- Ghoba Rice
|
||||||
|
|
||||||
farming.register_plant("farming:rice", {
|
farming.register_plant("farming:ghoba_rice", {
|
||||||
description = S("Rice grains"),
|
description = S("Ghoba Rice grains"),
|
||||||
paramtype2 = "meshoptions",
|
paramtype2 = "meshoptions",
|
||||||
inventory_image = "farming_rice_seed.png",
|
inventory_image = "farming_ghoba_rice_seed.png",
|
||||||
steps = 8,
|
steps = 8,
|
||||||
place_param2 = 3
|
place_param2 = 3
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("farming:rice", {
|
minetest.override_item("farming:ghoba_rice", {
|
||||||
description = S("Rice"),
|
description = S("Ghoba Rice"),
|
||||||
groups = {food_rice = 1, flammable = 4}
|
groups = {food_rice = 1, flammable = 4}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("farming:rice_bread", {
|
minetest.register_craftitem("farming:ghoba_rice_bread", {
|
||||||
description = S("Rice Bread"),
|
description = S("Ghoba Rice Bread"),
|
||||||
inventory_image = "farming_rice_bread.png",
|
inventory_image = "farming_ghoba_rice_bread.png",
|
||||||
on_use = minetest.item_eat(5),
|
on_use = minetest.item_eat(5),
|
||||||
groups = {food_rice_bread = 1, flammable = 2}
|
groups = {food_rice_bread = 1, flammable = 2}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("farming:rice_flour", {
|
minetest.register_craftitem("farming:ghoba_rice_flour", {
|
||||||
description = S("Rice Flour"),
|
description = S("Ghoba Rice Flour"),
|
||||||
inventory_image = "farming_rice_flour.png",
|
inventory_image = "farming_ghoba_rice_flour.png",
|
||||||
groups = {food_rice_flour = 1, flammable = 1}
|
groups = {food_rice_flour = 1, flammable = 1}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "farming:rice_flour",
|
output = "farming:ghoba_rice_flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:rice", "farming:rice", "farming:rice", "farming:rice",
|
"farming:ghoba_rice", "farming:ghoba_rice", "farming:ghoba_rice", "farming:ghoba_rice",
|
||||||
"farming:mortar_pestle"
|
"farming:mortar_pestle"
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
|
@ -94,8 +92,8 @@ minetest.register_craft({
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
cooktime = 15,
|
cooktime = 15,
|
||||||
output = "farming:rice_bread",
|
output = "farming:ghoba_rice_bread",
|
||||||
recipe = "farming:rice_flour"
|
recipe = "farming:ghoba_rice_flour"
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Multigrain flour
|
-- Multigrain flour
|
||||||
|
@ -110,8 +108,8 @@ minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "farming:flour_multigrain",
|
output = "farming:flour_multigrain",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:wheat", "farming:barley", "farming:oat",
|
"farming:lothal_wheat", "farming:roti", "farming:shorn",
|
||||||
"farming:rye", "farming:mortar_pestle"
|
"farming:toz", "farming:mortar_pestle"
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
|
@ -136,7 +134,7 @@ minetest.register_craft({
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "farming:rice_bread",
|
recipe = "farming:ghoba_rice_bread",
|
||||||
burntime = 1
|
burntime = 1
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -148,18 +146,18 @@ minetest.register_craft({
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "farming:rye",
|
recipe = "farming:toz",
|
||||||
burntime = 1
|
burntime = 1
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "farming:oat",
|
recipe = "farming:shorn",
|
||||||
burntime = 1
|
burntime = 1
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "farming:rice",
|
recipe = "farming:ghoba_rice",
|
||||||
burntime = 1
|
burntime = 1
|
||||||
})
|
})
|
Loading…
Reference in New Issue