mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-09 17:23:49 +01:00
Add many farming-related help texts
This commit is contained in:
parent
cd53fc401b
commit
3928193652
@ -1,5 +1,7 @@
|
|||||||
minetest.register_craftitem("mcl_farming:beetroot_seeds", {
|
minetest.register_craftitem("mcl_farming:beetroot_seeds", {
|
||||||
description = "Beetroot Seeds",
|
description = "Beetroot Seeds",
|
||||||
|
_doc_items_longdesc = "Grows into a beetroot plant. Chickens like beetroot seeds.",
|
||||||
|
_doc_items_usagehelp = "Place the beetroot seeds on farmland (which can be created with a hoe) to plant a beetroot plant. They grow in sunlight and grow faster on hydrated farmland. Rightclick an animal to feed it beetroot seeds.",
|
||||||
groups = { craftitem=1 },
|
groups = { craftitem=1 },
|
||||||
inventory_image = "mcl_farming_beetroot_seeds.png",
|
inventory_image = "mcl_farming_beetroot_seeds.png",
|
||||||
wield_image = "mcl_farming_beetroot_seeds.png",
|
wield_image = "mcl_farming_beetroot_seeds.png",
|
||||||
@ -93,6 +95,8 @@ minetest.register_node("mcl_farming:beetroot", {
|
|||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:beetroot_item", {
|
minetest.register_craftitem("mcl_farming:beetroot_item", {
|
||||||
description = "Beetroot",
|
description = "Beetroot",
|
||||||
|
_doc_items_longdesc = "Beetroots can be eaten for 1 hunger point. Pigs like beetroots, too.",
|
||||||
|
_doc_items_usagehelp = "Hold it in your hand and right-click to eat it. Rightclick an animal to feed it.",
|
||||||
inventory_image = "mcl_farming_beetroot.png",
|
inventory_image = "mcl_farming_beetroot.png",
|
||||||
wield_image = "mcl_farming_beetroot.png",
|
wield_image = "mcl_farming_beetroot.png",
|
||||||
on_place = minetest.item_eat(1),
|
on_place = minetest.item_eat(1),
|
||||||
@ -102,6 +106,7 @@ minetest.register_craftitem("mcl_farming:beetroot_item", {
|
|||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:beetroot_soup", {
|
minetest.register_craftitem("mcl_farming:beetroot_soup", {
|
||||||
description = "Beetroot Soup",
|
description = "Beetroot Soup",
|
||||||
|
_doc_items_longdesc = "Beetroot soup is a healthy soup which can be consumed for 6 hunger points.",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
inventory_image = "mcl_farming_beetroot_soup.png",
|
inventory_image = "mcl_farming_beetroot_soup.png",
|
||||||
wield_image = "mcl_farming_beetroot_soup.png",
|
wield_image = "mcl_farming_beetroot_soup.png",
|
||||||
|
@ -77,6 +77,8 @@ minetest.register_node("mcl_farming:carrot", {
|
|||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:carrot_item", {
|
minetest.register_craftitem("mcl_farming:carrot_item", {
|
||||||
description = "Carrot",
|
description = "Carrot",
|
||||||
|
_doc_items_longdesc = "Carrots can be eaten and planted. When eaten, a carrot restores 3 hunger points. Pigs and rabbits like carrots.",
|
||||||
|
_doc_items_usagehelp = "Hold it in your hand and rightclick to eat it. Place it on top of farmland to plant the carrot. It grows in sunlight and grows faster on hydrated farmland. Rightclick an animal to feed it.",
|
||||||
inventory_image = "farming_carrot.png",
|
inventory_image = "farming_carrot.png",
|
||||||
groups = { food = 2, eatable = 3 },
|
groups = { food = 2, eatable = 3 },
|
||||||
on_secondary_use = minetest.item_eat(3),
|
on_secondary_use = minetest.item_eat(3),
|
||||||
|
@ -248,6 +248,8 @@ minetest.register_node("mcl_farming:melontige_linked_b", {
|
|||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:melon_seeds", {
|
minetest.register_craftitem("mcl_farming:melon_seeds", {
|
||||||
description = "Melon Seeds",
|
description = "Melon Seeds",
|
||||||
|
_doc_items_longdesc = "Grows into a melon. Chickens like melon seeds.",
|
||||||
|
_doc_items_usagehelp = "Place the melon seeds on farmland (which can be created with a hoe) to plant a melon stem. Melons grow in sunlight and grow faster on hydrated farmland. Rightclick an animal to feed it melon seeds.",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = { craftitem=1 },
|
groups = { craftitem=1 },
|
||||||
inventory_image = "farming_melon_seed.png",
|
inventory_image = "farming_melon_seed.png",
|
||||||
|
@ -58,6 +58,8 @@ minetest.register_node("mcl_farming:potato", {
|
|||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:potato_item", {
|
minetest.register_craftitem("mcl_farming:potato_item", {
|
||||||
description = "Potato",
|
description = "Potato",
|
||||||
|
_doc_items_longdesc = "Potatoes are food items which can be eaten, cooked in the furnace and planted. Eating a potato restores 1 hunger point. Pigs like potatoes.",
|
||||||
|
_doc_items_usagehelp = "Hold it in your hand and rightclick to eat it. Place it on top of farmland to plant it. It grows in sunlight and grows faster on hydrated farmland. Rightclick an animal to feed it.",
|
||||||
inventory_image = "farming_potato.png",
|
inventory_image = "farming_potato.png",
|
||||||
groups = { food = 2, eatable = 1 },
|
groups = { food = 2, eatable = 1 },
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
@ -74,6 +76,7 @@ minetest.register_craftitem("mcl_farming:potato_item", {
|
|||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:potato_item_baked", {
|
minetest.register_craftitem("mcl_farming:potato_item_baked", {
|
||||||
description = "Baked Potato",
|
description = "Baked Potato",
|
||||||
|
_doc_items_longdesc = "Baked potatoes are foot items which can be eaten for 6 hunger points.",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
inventory_image = "farming_potato_baked.png",
|
inventory_image = "farming_potato_baked.png",
|
||||||
on_place = minetest.item_eat(6),
|
on_place = minetest.item_eat(6),
|
||||||
@ -83,6 +86,8 @@ minetest.register_craftitem("mcl_farming:potato_item_baked", {
|
|||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:potato_item_poison", {
|
minetest.register_craftitem("mcl_farming:potato_item_poison", {
|
||||||
description = "Poisonous Potato",
|
description = "Poisonous Potato",
|
||||||
|
_doc_items_longdesc = "This potato doesn't look healthy. Eating it will only poison you.",
|
||||||
|
_doc_items_usagehelp = "Hold it in your hand and rightclick to eat it. But why would you want to do this?",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
inventory_image = "farming_potato_poison.png",
|
inventory_image = "farming_potato_poison.png",
|
||||||
-- TODO: Cause status effects
|
-- TODO: Cause status effects
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
minetest.register_craftitem("mcl_farming:pumpkin_seeds", {
|
minetest.register_craftitem("mcl_farming:pumpkin_seeds", {
|
||||||
description = "Pumpkin Seeds",
|
description = "Pumpkin Seeds",
|
||||||
|
_doc_items_longdesc = "Grows into a pumpkin. Chickens like pumpkin seeds.",
|
||||||
|
_doc_items_usagehelp = "Place the pumpkin seeds on farmland (which can be created with a hoe) to plant a pumpkin stem. Pumpkins grow in sunlight and grow faster on hydrated farmland. Rightclick an animal to feed it pumpkin seeds.",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
inventory_image = "farming_pumpkin_seed.png",
|
inventory_image = "farming_pumpkin_seed.png",
|
||||||
groups = { craftitem=1 },
|
groups = { craftitem=1 },
|
||||||
@ -306,6 +308,7 @@ minetest.register_abm({
|
|||||||
|
|
||||||
minetest.register_node("mcl_farming:pumpkin_face_light", {
|
minetest.register_node("mcl_farming:pumpkin_face_light", {
|
||||||
description = "Jack o'Lantern",
|
description = "Jack o'Lantern",
|
||||||
|
_doc_items_longdesc = "A Jack o'lantern is a traditional halloween decoration made from a pumpkin and glows brightly.",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
@ -331,6 +334,7 @@ minetest.register_craft({
|
|||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:pumpkin_pie", {
|
minetest.register_craftitem("mcl_farming:pumpkin_pie", {
|
||||||
description = "Pumpkin Pie",
|
description = "Pumpkin Pie",
|
||||||
|
_doc_items_longdesc = "A pumpkin pie is very filling and can be eaten for 8 hunger points.",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
inventory_image = "mcl_farming_pumpkin_pie.png",
|
inventory_image = "mcl_farming_pumpkin_pie.png",
|
||||||
wield_image = "mcl_farming_pumpkin_pie.png",
|
wield_image = "mcl_farming_pumpkin_pie.png",
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
minetest.register_craftitem("mcl_farming:wheat_seeds", {
|
minetest.register_craftitem("mcl_farming:wheat_seeds", {
|
||||||
description = "Wheat Seeds",
|
description = "Wheat Seeds",
|
||||||
|
_doc_items_longdesc = "Grows into a wheat plant. Chickens like wheat seeds.",
|
||||||
|
_doc_items_usagehelp = "Place the wheat seeds on farmland (which can be created with a hoe) to plant a wheat plant. They grow in sunlight and grow faster on hydrated farmland. Rightclick an animal to feed it wheat seeds.",
|
||||||
groups = { craftitem=1 },
|
groups = { craftitem=1 },
|
||||||
inventory_image = "farming_wheat_seed.png",
|
inventory_image = "farming_wheat_seed.png",
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
Loading…
Reference in New Issue
Block a user