Add help texts for many random items like paper
This commit is contained in:
parent
60c0efce20
commit
7b1ea87e18
|
@ -1,6 +1,7 @@
|
|||
-- Book
|
||||
minetest.register_craftitem("mcl_books:book", {
|
||||
description = "Book",
|
||||
_doc_items_longdesc = "Books are used to make bookshelves and book and quills.",
|
||||
inventory_image = "default_book.png",
|
||||
stack_max = 64,
|
||||
groups = { book=1 },
|
||||
|
@ -61,6 +62,8 @@ end
|
|||
-- Book and Quill
|
||||
minetest.register_craftitem("mcl_books:writable_book", {
|
||||
description = "Book and Quill",
|
||||
_doc_items_longdesc = "This item can be used to write down some notes.",
|
||||
_doc_items_usagehelp = "Hold it in the hand, then rightclick to read the current notes and edit then. You can edit the text as often as you like. You can also sign the book which turns it into a written book which can't be edited anymore.",
|
||||
inventory_image = "mcl_books_book_writable.png",
|
||||
groups = { book=1 },
|
||||
stack_max = 1,
|
||||
|
@ -129,6 +132,8 @@ minetest.register_craft({
|
|||
-- Written Book
|
||||
minetest.register_craftitem("mcl_books:written_book", {
|
||||
description = "Written Book",
|
||||
_doc_items_longdesc = "Written books contain some text written by someone. They can be read and copied, but not edited.",
|
||||
_doc_items_usagehelp = "Hold it in your hand, then rightclick to read the book. To copy the book, place it into the crafting grid together with a book and quill. Performing the craft will turn the book and quill into a copy of the written book.",
|
||||
inventory_image = "mcl_books_book_written.png",
|
||||
groups = { not_in_creative_inventory=1, book=1 },
|
||||
-- TODO: Increase to 16 when this mod is ready
|
||||
|
|
|
@ -21,8 +21,14 @@ block.dyes = {
|
|||
{"light_blue", "Light Blue", "lightblue", true},
|
||||
}
|
||||
|
||||
local hc_desc = "Hardened clay is natural in deserts and a basic building material. It comes in many different colors."
|
||||
local gt_desc = "Glazed terracotta is a decorational block with a complex pattern on it. It can be rotated by placing it in different directions."
|
||||
local cp_desc = "Concrete powder is used for creating concrete, but it can also be used as decoration itself. It comes in different colors. Concrete powder turns into concrete of the same color when it comes in contact with water."
|
||||
local conc_desc = "Concrete is a decorational block which comes in many different colors. It is notable for having a very strong and clean color.",
|
||||
|
||||
minetest.register_node("mcl_colorblocks:hardened_clay", {
|
||||
description = "Hardened Clay",
|
||||
_doc_items_longdesc = "Hardened clay is natural to deserts and a basic building material.",
|
||||
tiles = {"hardened_clay.png"},
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, hardened_clay=1,building_block=1},
|
||||
|
@ -48,6 +54,7 @@ for _, row in ipairs(block.dyes) do
|
|||
-- Node Definition
|
||||
minetest.register_node("mcl_colorblocks:hardened_clay_"..name, {
|
||||
description = desc.." Hardened Clay",
|
||||
_doc_items_longdesc = hc_desc,
|
||||
tiles = {"hardened_clay_stained_"..name..".png"},
|
||||
groups = {pickaxey=1, hardened_clay=1,building_block=1},
|
||||
stack_max = 64,
|
||||
|
@ -58,6 +65,7 @@ for _, row in ipairs(block.dyes) do
|
|||
|
||||
minetest.register_node("mcl_colorblocks:concrete_powder_"..name, {
|
||||
description = desc.." Concrete Powder",
|
||||
_doc_items_longdesc = cp_desc,
|
||||
tiles = {"mcl_colorblocks_concrete_powder_"..name..".png"},
|
||||
groups = {handy=1,shovely=1, concrete_powder=1,building_block=1,falling_node=1},
|
||||
stack_max = 64,
|
||||
|
@ -72,6 +80,7 @@ for _, row in ipairs(block.dyes) do
|
|||
|
||||
minetest.register_node("mcl_colorblocks:concrete_"..name, {
|
||||
description = desc.." Concrete",
|
||||
_doc_items_longdesc = conc_desc,
|
||||
tiles = {"mcl_colorblocks_concrete_"..name..".png"},
|
||||
groups = {handy=1,pickaxey=1, concrete=1,building_block=1},
|
||||
stack_max = 64,
|
||||
|
@ -86,6 +95,7 @@ for _, row in ipairs(block.dyes) do
|
|||
local texes = { tex, tex, tex.."^[transformR180", tex, tex.."^[transformR270", tex.."^[transformR90" }
|
||||
minetest.register_node("mcl_colorblocks:glazed_terracotta_"..name, {
|
||||
description = desc.." Glazed Terracotta",
|
||||
_doc_items_longdesc = gt_desc,
|
||||
tiles = texes,
|
||||
groups = {handy=1,pickaxey=1, glazed_terracotta=1,building_block=1},
|
||||
paramtype2 = "facedir",
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
minetest.register_craftitem("mcl_core:stick", {
|
||||
description = "Stick",
|
||||
_doc_items_longdesc = "Sticks are a very versatile crafting material; used in countless crafting recipes.",
|
||||
inventory_image = "default_stick.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1, stick=1 },
|
||||
|
@ -13,6 +14,7 @@ minetest.register_craftitem("mcl_core:stick", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:paper", {
|
||||
description = "Paper",
|
||||
_doc_items_longdesc = "Paper is used to craft books and maps.",
|
||||
inventory_image = "default_paper.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -20,6 +22,7 @@ minetest.register_craftitem("mcl_core:paper", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:coal_lump", {
|
||||
description = "Coal",
|
||||
_doc_items_longdesc = "“Coal” refers to coal lumps obtained by digging coal ore which can be found underground. Coal is your standard furnace fuel, but it can also be used to make torches, coal blocks and a few other things.",
|
||||
groups = { coal=1 },
|
||||
inventory_image = "default_coal_lump.png",
|
||||
stack_max = 64,
|
||||
|
@ -28,6 +31,7 @@ minetest.register_craftitem("mcl_core:coal_lump", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:charcoal_lump", {
|
||||
description = "Charcoal",
|
||||
_doc_items_longdesc = "Charcoal is an alternative furnace fuel created by cooking wood in a furnace. It has the same burning time as coal and also shares many of its crafting recipes, but it can not be used to create coal blocks.",
|
||||
groups = { coal=1 },
|
||||
inventory_image = "default_charcoal_lump.png",
|
||||
stack_max = 64,
|
||||
|
@ -36,6 +40,7 @@ minetest.register_craftitem("mcl_core:charcoal_lump", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:iron_nugget", {
|
||||
description = "Iron Nugget",
|
||||
_doc_items_longdesc = "Iron nuggets are very small pieces of molten iron; the main purpose is to create iron ingots.",
|
||||
inventory_image = "default_iron_nugget.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -43,6 +48,7 @@ minetest.register_craftitem("mcl_core:iron_nugget", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:gold_nugget", {
|
||||
description = "Gold Nugget",
|
||||
_doc_items_longdesc = "Gold nuggets are very small pieces of molten gold; the main purpose is to create gold ingots.",
|
||||
inventory_image = "default_gold_nugget.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -50,6 +56,7 @@ minetest.register_craftitem("mcl_core:gold_nugget", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:diamond", {
|
||||
description = "Diamond",
|
||||
_doc_items_longdesc = "Diamonds are precious minerals and useful to create the highest tier of armor and tools.",
|
||||
inventory_image = "default_diamond.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -57,6 +64,7 @@ minetest.register_craftitem("mcl_core:diamond", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:clay_lump", {
|
||||
description = "Clay",
|
||||
_doc_items_longdesc = "Clay is a raw material.",
|
||||
inventory_image = "default_clay_lump.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -64,6 +72,7 @@ minetest.register_craftitem("mcl_core:clay_lump", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:iron_ingot", {
|
||||
description = "Iron Ingot",
|
||||
_doc_items_longdesc = "Molten iron. It is used to craft armor, tools, and whatnot.",
|
||||
inventory_image = "default_steel_ingot.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -71,6 +80,7 @@ minetest.register_craftitem("mcl_core:iron_ingot", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:gold_ingot", {
|
||||
description = "Gold Ingot",
|
||||
_doc_items_longdesc = "Molten gold. It is used to craft armor, tools, and whatnot.",
|
||||
inventory_image = "default_gold_ingot.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -78,6 +88,7 @@ minetest.register_craftitem("mcl_core:gold_ingot", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:emerald", {
|
||||
description = "Emerald",
|
||||
_doc_items_longdesc = "Emeralds are not very useful on their own, but many villagers have a love for emeralds and often use it as a currency in trading.",
|
||||
inventory_image = "default_emerald.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -85,6 +96,7 @@ minetest.register_craftitem("mcl_core:emerald", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:brick", {
|
||||
description = "Brick",
|
||||
_doc_items_longdesc = "Bricks are used to craft brick blocks.",
|
||||
inventory_image = "default_clay_brick.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -92,6 +104,7 @@ minetest.register_craftitem("mcl_core:brick", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:flint", {
|
||||
description = "Flint",
|
||||
_doc_items_longdesc = "Flint is a raw material.",
|
||||
inventory_image = "default_flint.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
|
@ -99,6 +112,7 @@ minetest.register_craftitem("mcl_core:flint", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:sugar", {
|
||||
description = "Sugar",
|
||||
_doc_items_longdesc = "Sugar comes from sugar canes and is used to make sweet foods.",
|
||||
inventory_image = "default_sugar.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem = 1 },
|
||||
|
@ -106,6 +120,7 @@ minetest.register_craftitem("mcl_core:sugar", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:bowl",{
|
||||
description = "Bowl",
|
||||
_doc_items_longdesc = "Bowls are mainly used to hold tasty soups.",
|
||||
inventory_image = "default_bowl.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem = 1 },
|
||||
|
@ -113,6 +128,7 @@ minetest.register_craftitem("mcl_core:bowl",{
|
|||
|
||||
minetest.register_craftitem("mcl_core:apple", {
|
||||
description = "Apple",
|
||||
_doc_items_longdesc = "Apples can be eaten to restore 4 hunger points.",
|
||||
wield_image = "default_apple.png",
|
||||
inventory_image = "default_apple.png",
|
||||
stack_max = 64,
|
||||
|
@ -123,6 +139,7 @@ minetest.register_craftitem("mcl_core:apple", {
|
|||
|
||||
minetest.register_craftitem("mcl_core:apple_gold", {
|
||||
description = core.colorize("#55FFFF", "Golden Apple"),
|
||||
_doc_items_longdesc = "Golden apples can be eaten to restore 8 hunger points.",
|
||||
wield_image = "default_apple_gold.png",
|
||||
inventory_image = "default_apple_gold.png",
|
||||
stack_max = 64,
|
||||
|
|
Loading…
Reference in New Issue
Block a user