mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 03:37:31 +01:00
760 lines
45 KiB
Lua
760 lines
45 KiB
Lua
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
|||
|
local S
|
|||
|
if minetest.get_modpath("intllib") then
|
|||
|
S = intllib.Getter()
|
|||
|
else
|
|||
|
S = function(s) return s end
|
|||
|
end
|
|||
|
|
|||
|
doc.add_category("basics",
|
|||
|
{
|
|||
|
name = S("Basics"),
|
|||
|
description = S("Everything you need to know about MineClone 2 to get started with playing"),
|
|||
|
sorting = "custom",
|
|||
|
sorting_data = {"quick_start", "controls", "point", "items", "inventory", "hotbar", "tools", "weapons", "nodes", "mine", "build", "craft", "cook", "minimap", "cam", "sneak", "players", "liquids", "light", "groups", "glossary", "minetest"},
|
|||
|
build_formspec = doc.entry_builders.text_and_gallery,
|
|||
|
})
|
|||
|
|
|||
|
doc.add_category("advanced",
|
|||
|
{
|
|||
|
name = S("Advanced usage"),
|
|||
|
description = S("Advanced information about Minetest which may be nice to know, but is not crucial to gameplay"),
|
|||
|
sorting = "custom",
|
|||
|
sorting_data = {"console", "commands", "privs", "movement_modes", "coordinates", "settings", "online"},
|
|||
|
build_formspec = doc.entry_builders.text_and_gallery,
|
|||
|
})
|
|||
|
|
|||
|
doc.add_entry("basics", "quick_start", {
|
|||
|
name = S("Quick start"),
|
|||
|
data = { text =
|
|||
|
S("This is a very brief introduction to the basic gameplay:").."\n\n"..
|
|||
|
|
|||
|
S("Basic controls:").."\n"..
|
|||
|
S("• Move mouse to look").."\n"..
|
|||
|
S("• [W], [A], [S] and [D] to move").."\n"..
|
|||
|
S("• [Space] to jump or move upwards").."\n"..
|
|||
|
S("• [Shift] to sneak or move downwards").."\n"..
|
|||
|
S("• Mouse wheel or [1]-[9] to select item").."\n"..
|
|||
|
S("• Left-click to mine blocks or attack").."\n"..
|
|||
|
S("• Recover from swings to deal full damage").."\n"..
|
|||
|
S("• Right-click to build blocks and use things").."\n"..
|
|||
|
S("• [I] for the inventory").."\n"..
|
|||
|
S("• Lowest row in inventory appears in hotbar below").."\n"..
|
|||
|
S("• [Esc] to close this window").."\n\n"..
|
|||
|
|
|||
|
S("How to play:").."\n"..
|
|||
|
S("• Punch a tree trunk until it breaks and collect wood").."\n"..
|
|||
|
S("• Place the wood into the 2×2 grid (your “crafting grid”) in your inventory menu and craft 4 wood planks").."\n"..
|
|||
|
S("• Place them in a 2×2 shape in the crafting grid to craft a crafting table").."\n"..
|
|||
|
S("• Place the crafting table on the ground").."\n"..
|
|||
|
S("• Rightclick it for a 3×3 crafting grid").."\n"..
|
|||
|
S("• Use the crafting guide (book icon) to learn all the possible crafting recipes").."\n"..
|
|||
|
S("• Craft a wooden pickaxe so you can dig stone").."\n"..
|
|||
|
S("• Different tools break different kinds of blocks. Try them out!").."\n"..
|
|||
|
S("• Read entries in this help to learn the rest").."\n"..
|
|||
|
S("• Continue playing as you wish. There's no goal. Have fun!")
|
|||
|
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "minetest", {
|
|||
|
name = S("Minetest"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Minetest is a free software game engine for games based on voxel gameplay, inspired by InfiniMiner, Minecraft, and the like. Minetest was originally created by Perttu Ahola (alias “celeron55”).").."\n\n"..
|
|||
|
|
|||
|
S("The player is thrown into a huge world made out of cubes or blocks. These cubes usually make the landscape they blocks can be removed and placed almost entirely freely. Using the collected items, new tools and other items can be crafted. Games in Minetest (also called “subgames”) can, however, be much more complex than this.").."\n\n"..
|
|||
|
|
|||
|
S("A core feature of Minetest is the built-in modding capability. Mods modify existing gameplay. They can be as simple as adding a few decorational blocks or be very complex by e.g. introducing completely new gameplay concepts, generating a completely different kind of world, and many other things.").."\n\n"..
|
|||
|
|
|||
|
S("Minetest can be played alone or online together with multiple players. Online play will work out of the box with any mods, with no need for additional software as they are entirely provided by the server.").."\n\n"..
|
|||
|
|
|||
|
S("Minetest is usually bundled with a simple default game, named “Minetest Game” (shown in images 1 and 2). You probably already have it. Other games for Minetest can be downloaded from the official Minetest forums <https://forum.minetest.net/viewforum.php?f=48>.").."\n\n"..
|
|||
|
|
|||
|
S("Minetest as well as Minetest Game are both unfinished at the moment, so please forgive us when not everything works out perfectly."),
|
|||
|
images = {{image="doc_basics_gameplay_mtg_1.png"}, {image="doc_basics_gameplay_mtg_2.png"}, {image="doc_basics_gameplay_carbone_ng.png"}, {image="doc_basics_gameplay_lott.png"}, {image="doc_basics_gameplay_pixture.png"}, {image="doc_basics_gameplay_outback.png"}, {image="doc_basics_gameplay_moontest.png"},
|
|||
|
{image="doc_basics_gameplay_hades.png"}, {image="doc_basics_gameplay_xtraores_xtension.png"},}
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "sneak", {
|
|||
|
name = S("Sneaking"),
|
|||
|
data = { text =
|
|||
|
S("Sneaking makes you walk slower and prevents you from falling off the edge of a block.").."\n"..
|
|||
|
S("To sneak, hold down the sneak key (default: [Shift]). When you release it, you stop sneaking. Careful: When you release the sneak key at a ledge, you might fall!").."\n\n"..
|
|||
|
|
|||
|
S("• Sneak: [Shift]").."\n\n"..
|
|||
|
|
|||
|
S("Sneaking only works when you stand on solid ground, are not in a liquid and don't climb.").."\n\n"..
|
|||
|
|
|||
|
S("If you jump while holding the sneak key, you also jump slightly higher than usual.").."\n\n"..
|
|||
|
|
|||
|
S("Sneaking might be disabled by mods. In this case, you still walk slower by sneaking, but you will no longer be stopped at ledges."),
|
|||
|
images = { { image = "doc_basics_sneak.png" } },
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "controls", {
|
|||
|
name = S("Controls"),
|
|||
|
data = { text =
|
|||
|
S("These are the default controls:").."\n\n"..
|
|||
|
|
|||
|
S("Basic movement:").."\n"..
|
|||
|
S("• Moving the mouse around: Look around").."\n"..
|
|||
|
S("• W: Move forwards").."\n"..
|
|||
|
S("• A: Move to the left").."\n"..
|
|||
|
S("• D: Move to the right").."\n"..
|
|||
|
S("• S: Move backwards").."\n\n"..
|
|||
|
|
|||
|
S("While standing on solid ground:").."\n"..
|
|||
|
S("• Space: Jump").."\n"..
|
|||
|
S("• Shift: Sneak").."\n\n"..
|
|||
|
|
|||
|
S("While on a ladder, swimming in a liquid or fly mode is active").."\n"..
|
|||
|
S("• Space: Move up").."\n"..
|
|||
|
S("• Shift: Move down").."\n\n"..
|
|||
|
|
|||
|
S("Extended movement (requires privileges):").."\n"..
|
|||
|
S("• J: Toggle fast mode, makes you run or fly fast (requires “fast” privilege)").."\n"..
|
|||
|
S("• K: Toggle fly mode, makes you move freely in all directions (requires “fly” privilege)").."\n"..
|
|||
|
S("• H: Toggle noclip mode, makes you go through walls in fly mode (requires “noclip” privilege)").."\n"..
|
|||
|
S("• E: Walk fast in fast mode").."\n\n"..
|
|||
|
|
|||
|
S("World interaction:").."\n"..
|
|||
|
S("• Left mouse button: Punch / mine blocks / take items").."\n"..
|
|||
|
S("• Right mouse button: Build or use pointed block").."\n"..
|
|||
|
S("• Shift+Right mouse button: Build").."\n"..
|
|||
|
S("• Roll mouse wheel: Select next/previous item in hotbar").."\n"..
|
|||
|
S("• 1-9: Select item in hotbar directly").."\n"..
|
|||
|
S("• Q: Drop item stack").."\n"..
|
|||
|
S("• Shift+Q: Drop 1 item").."\n"..
|
|||
|
S("• I: Show/hide inventory menu").."\n\n"..
|
|||
|
|
|||
|
S("Inventory interaction:").."\n"..
|
|||
|
S("See the entry “Basics > Inventory”.").."\n\n"..
|
|||
|
|
|||
|
S("Camera:").."\n"..
|
|||
|
S("• Z: Zoom (requires “zoom” privilege)").."\n"..
|
|||
|
S("• F7: Toggle camera mode").."\n"..
|
|||
|
S("• F8: Toggle cinematic mode").."\n\n"..
|
|||
|
|
|||
|
S("Interface:").."\n"..
|
|||
|
S("• Esc: Open menu window (pauses in single-player mode) or close window").."\n"..
|
|||
|
S("• F1: Show/hide HUD").."\n"..
|
|||
|
S("• F2: Show/hide chat").."\n"..
|
|||
|
S("• F9: Toggle minimap (only works if have a map)").."\n"..
|
|||
|
S("• Shift+F9: Toggle minimap rotation mode").."\n"..
|
|||
|
S("• F10: Open/close console/chat log").."\n"..
|
|||
|
S("• F12: Take a screenshot").."\n\n"..
|
|||
|
|
|||
|
S("Server interaction:").."\n"..
|
|||
|
S("• T: Open chat window (chat requires the “shout” privilege)").."\n"..
|
|||
|
S("• /: Start issuing a server command)").."\n\n"..
|
|||
|
|
|||
|
S("Technical:").."\n"..
|
|||
|
S("• R: Toggle far view (disables all fog and allows viewing far away, can make game very slow)").."\n"..
|
|||
|
S("• +: Increase minimal viewing distance").."\n"..
|
|||
|
S("• -: Decrease minimal viewing distance").."\n"..
|
|||
|
S("• F3: Enable/disable fog").."\n"..
|
|||
|
S("• F5: Enable/disable debug screen which also shows your coordinates").."\n"..
|
|||
|
S("• F6: Only useful for developers. Enables/disables profiler").."\n"..
|
|||
|
S("• P: Only useful for developers. Writes current stack traces")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "players", {
|
|||
|
name = S("Players"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Players (actually: “player characters”) are the characters which users control.").."\n\n"..
|
|||
|
|
|||
|
S("Players are living beings which occupy a space of about 1×2×1 cubes. They start with 20 health points (HP) and 10 breath points (BP).").."\n"..
|
|||
|
S("Players are capable of walking, sneaking, jumping, climbing, swimming, diving, mining, building, fighting and using tools and blocks.").."\n"..
|
|||
|
|
|||
|
S("Players can take damage for a variety of reasons, here are some:\
|
|||
|
• Taking fall damage\
|
|||
|
• Touching a block which causes direct damage\
|
|||
|
• Drowning\
|
|||
|
• Being attacked by another player\
|
|||
|
• Being attacked by a computer enemy").."\n\n"..
|
|||
|
|
|||
|
S("At a health of 0, the player dies and loses all items in the inventory. The player can just respawn in the world.").."\n"..
|
|||
|
|
|||
|
S("Some blocks reduce breath. While being with the head in a block which causes drowning, the breath points are reduced by 1 for every 2 seconds. When all breath is gone, the player starts to suffer drowning damage. Breath is quickly restored in any other block.").."\n\n"..
|
|||
|
|
|||
|
S("Damage can be disabled on any world. Without damage, players are immortal and health and breath are unimportant.").."\n\n"..
|
|||
|
|
|||
|
S("In multi-player mode, the name of other players is written above their head."),
|
|||
|
images = {{image="doc_basics_players_sam.png"}, {image="doc_basics_players_lott.png"}, {image="doc_basics_players_flat.png"}},
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "items", {
|
|||
|
name = S("Items"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Items are things you can carry along and store in inventories. They can be used for crafting, smelting, building, mining, and more. Types of items include blocks, tools, weapons and items only used for crafting.").."\n\n"..
|
|||
|
|
|||
|
S("An item stack is a collection of items of the same type which fits into a single item slot. Item stacks can be dropped on the ground. Items which drop into the same coordinates will form an item stack.").."\n\n"..
|
|||
|
|
|||
|
S("Items have several properties, including the following:\
|
|||
|
\
|
|||
|
• Maximum stack size: Number of items which fit on 1 item stack\
|
|||
|
• Pointing range: How close things must be to be pointed while wielding this item\
|
|||
|
• Group memberships: See “Basics > Groups”\
|
|||
|
• May be used for crafting or cooking").."\n\n"..
|
|||
|
|
|||
|
S("Dropped item stacks will be collected automatically when you stand close to them."),
|
|||
|
images = {{image="doc_basics_inventory_detail.png"}, {image="doc_basics_items_dropped.png"}},
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "tools", {
|
|||
|
name = S("Tools"),
|
|||
|
data = { text =
|
|||
|
S("Some items may serve as a tool when wielded. Any item which has some special use which can be directly used by its wielder is considered a tool.").."\n\n"..
|
|||
|
|
|||
|
S("Mining tools are important to break all kinds of blocks. Weapons are another kind of tool. There are some other more specialized tools. Special actions of tools are usually done by right-click.").."\n\n"..
|
|||
|
|
|||
|
S("When nothing is wielded, players use their hand which may act as tool and weapon. The hand is capable of punching and deals minimum damage.").."\n\n"..
|
|||
|
|
|||
|
S("Many tools will wear off when using them and may eventually get destroyed. The damage is displayed in a damage bar below the tool icon. If no damage bar is shown, the tool is in mint condition. Tools may be repairable by crafting, see “Basics > Crafting”."),
|
|||
|
images = {{image="doc_basics_tools.png"}, {image="doc_basics_tools_mining.png"}},
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "weapons", {
|
|||
|
name = S("Weapons"),
|
|||
|
data = { text =
|
|||
|
S("Some items are usable as a melee weapon when wielded. Weapons share most of the properties of tools.").."\n\n"..
|
|||
|
|
|||
|
S("Melee weapons deal damage by punching players and other animate objects. There are two ways to attack:").."\n"..
|
|||
|
S("• Single punch: Left-click once to deal a single punch").."\n"..
|
|||
|
S("• Quick punching: Hold down the left mouse button to deal quick repeated punches").."\n\n"..
|
|||
|
|
|||
|
S("There are two core attributes of melee weapons:").."\n"..
|
|||
|
S("• Maximum damage: Damage which is dealt after a hit when the weapon was fully recovered)").."\n"..
|
|||
|
S("• Full punch interval: Time it takes for fully recovering from a punch").."\n\n"..
|
|||
|
|
|||
|
S("A weapon only deals full damage when it has fully recovered from a previous punch. Otherwise, the weapon will deal only reduced damage. This means, quick punching is very fast, but also deals rather low damage. Note the full punch interval does not limit how fast you can attack.").."\n\n"..
|
|||
|
|
|||
|
S("There is a rule which sometimes makes attacks impossible: Players, animate objects and weapons belong to damage groups. A weapon only deals damage to those who share at least one damage group with it. So if you're using the wrong weapon, you might not deal any damage at all.")
|
|||
|
}})
|
|||
|
|
|||
|
|
|||
|
doc.add_entry("basics", "point", {
|
|||
|
name = S("Pointing"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("“Pointing” means looking at something in range with the crosshair. Pointing is needed for interaction, like mining, punching, using, etc. Pointable things include blocks, dropped items, players, computer enemies and objects.").."\n\n"..
|
|||
|
|
|||
|
S("To point something, it must be in the pointing range (also just called “range”) of your wielded item. There's a default range when you are not wielding anything. A pointed thing will be outlined or highlighted (depending on your settings). Pointing is not possible with the 3rd person front camera.").."\n\n"..
|
|||
|
|
|||
|
S("A few things can not be pointed. Most blocks are pointable. A few blocks, like air, can never be pointed. Other blocks, like liquids can only be pointed by special items."),
|
|||
|
images = {{ image = "doc_basics_pointing.png" }},
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "cam", {
|
|||
|
name = S("Camera"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Minetest has 3 different views which determine the way you see the world. The modes are:\
|
|||
|
\
|
|||
|
• 1: First-person view (default)\
|
|||
|
• 2: Third-person view from behind\
|
|||
|
• 3: Third-person view from the front").."\n\n"..
|
|||
|
|
|||
|
S("You can change the camera mode by pressing [F7].").."\n"..
|
|||
|
S("There is also Cinematic Mode which can be toggled with [F8]. With Cinematic Mode enabled, the camera movements become more smooth. Some players don't like it, it is a matter of taste.").."\n"..
|
|||
|
S("By holding down [Z], you can zoom the view at your crosshair. You need the “zoom” privilege to do this.").."\n\n"..
|
|||
|
|
|||
|
S("• Switch camera mode: [F7]").."\n"..
|
|||
|
S("• Toggle Cinematic Mode: [F8]").."\n"..
|
|||
|
S("• Zoom: [Z]"),
|
|||
|
images = {{image="doc_basics_camera_ego.png"}, {image="doc_basics_camera_behind.png"}, {image="doc_basics_camera_front.png"}}
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "nodes", {
|
|||
|
name = S("Blocks"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("The world of MineClone 2 is made entirely out of blocks (voxels, to be precise). Blocks can be added or removed with the correct tools.").."\n\n"..
|
|||
|
|
|||
|
S("Blocks can have a wide range of different properties which determine mining times, behavior, looks, shape, and much more. Their properties include:").."\n\n"..
|
|||
|
|
|||
|
S("• Collidable: Collidable blocks can not be passed through; players can walk on them. Non-collidable blocks can be passed through freely").."\n"..
|
|||
|
S("• Pointable: Pointable blocks show a wireframe or a halo box when pointed. But you will just point through non-pointable blocks. Liquids are usually non-pointable but they can be pointed at by some special tools").."\n"..
|
|||
|
S("• Mining properties: By which tools it can be mined, how fast and how much it wears off tools").."\n"..
|
|||
|
S("• Climbable: While you are at a climbable block, you won't fall and you can move up and down with the jump and sneak keys").."\n"..
|
|||
|
S("• Drowning damage: See the entry “Basics > Player”").."\n"..
|
|||
|
S("• Liquids: See the entry “Basics > Liquids”").."\n"..
|
|||
|
S("• Group memberships: Group memberships are used to determine mining properties, crafting, interactions between blocks and more"),
|
|||
|
images = {{image="doc_basics_nodes.png"}}
|
|||
|
}})
|
|||
|
|
|||
|
-- TODO: Oh jeez, this explanation is WAY too difficult. Maybe we need to find some way to make it easier to understand.
|
|||
|
doc.add_entry("basics", "mine", {
|
|||
|
name = S("Mining"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Mining (or digging) is the process of breaking blocks to remove them. To mine a block, point it and hold down the left mouse button until it breaks.").."\n\n"..
|
|||
|
|
|||
|
S("Blocks require a mining tool to be mined. Different blocks are mined by different mining tools, and some blocks can not be mined by any tool. Blocks vary in hardness and tools vary in strength. Mining tools will wear off over time. The mining time and the tool wear depend on the block and the mining tool. The fastest way to find out how efficient your mining tools are is by just trying them out on various blocks. Any items you gather by mining will drop on the ground, ready to be collected.") .. "\n\n"..
|
|||
|
|
|||
|
S("After mining, a block may leave a “drop” behind. This is a number of items you get after mining. Most commonly, you will get the block itself. There are other possibilities for a drop which depends on the block type. The following drops are possible:").."\n"..
|
|||
|
S("• Always drops itself (the usual case)").."\n"..
|
|||
|
S("• Always drops the same items").."\n"..
|
|||
|
S("• Drops items based on probability").."\n"..
|
|||
|
S("• Drops nothing"),
|
|||
|
images = {{image="doc_basics_tools_mining.png"}},
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "build", {
|
|||
|
name = S("Building"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Almost all blocks can be built (or placed). Building is very simple and has no delay.").."\n\n"..
|
|||
|
|
|||
|
S("To build your wielded block, point at a block in the world and right-click. If this is not possible because the pointed block has a special right-click action, hold down the sneak key before right-clicking.").."\n\n"..
|
|||
|
|
|||
|
S("Blocks can almost always be built at pointable blocks. One exception are blocks attached to the floor; these can only be built on the floor.").."\n\n"..
|
|||
|
|
|||
|
S("Normally, blocks are built in front of the pointed side of the pointed block. A few blocks are different: When you try to build at them, they are replaced."),
|
|||
|
images = {{image="doc_basics_build.png"}},
|
|||
|
}})
|
|||
|
|
|||
|
|
|||
|
|
|||
|
doc.add_entry("basics", "liquids", {
|
|||
|
name = S("Liquids"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Liquids are special dynamic blocks. Liquids like to spread and flow to their surrounding blocks. Players can swim and drown in them.").."\n\n"..
|
|||
|
|
|||
|
S("Liquids usually come in two forms: In source form (S) and in flowing form (F).").."\n"..
|
|||
|
S("Liquid sources have the shape of a full cube. A liquid source will generate flowing liquids around it from time to time, and, if the liquid is renewable, it also generates liquid sources. A liquid source can sustain itself. A long it is left alone, a liquid source will normally keep its place and does not drain out.").."\n"..
|
|||
|
S("Flowing liquids take a sloped form. Flowing liquids spread around the world until they drain. A flowing liquid can not sustain itself and always comes from a liquid source, either directly or indirectly. Without a liquid source, a flowing liquid will eventually drain out and disappear.").."\n"..
|
|||
|
|
|||
|
S("All liquids share the following properties:").."\n"..
|
|||
|
S("• All properties of blocks (including drowning damage").."\n"..
|
|||
|
S("• Renewability: Renewable liquids can create new sources").."\n"..
|
|||
|
S("• Flowing range: How many flowing liquids are created at maximum per liquid source, it determines how far the liquid will spread. Possible are ranges from 0 to 8. At 0, no flowing liquids will be created. Image 5 shows a liquid of flowing range 2").."\n"..
|
|||
|
S("• Viscosity: How slow players move through it and how slow the liquid spreads").."\n\n"..
|
|||
|
|
|||
|
S("Renewable liquids create new liquid sources at open spaces (image 2). A new liquid source is created when:\
|
|||
|
• Two renewable liquid blocks of the same type touch each other diagonally\
|
|||
|
• These blocks are also on the same height\
|
|||
|
• One of the two “corners” is open space which allows liquids to flow in").."\n\n"..
|
|||
|
|
|||
|
S("When those criteria are met, the open space is filled with a new liquid source of the same type (image 3).").."\n\n"..
|
|||
|
|
|||
|
S("Swimming in a liquid is fairly straightforward: The usual direction keys for basic movement, the jump key for rising and the sneak key for sinking.").."\n\n"..
|
|||
|
|
|||
|
S("The physics for swimming and diving in a liquid are:").."\n"..
|
|||
|
S("• The higher the viscosity, the slower you move").."\n"..
|
|||
|
S("• If you rest, you'll slowly sink").."\n"..
|
|||
|
S("• There is no fall damage for falling into a liquid as such").."\n"..
|
|||
|
S("• If you fall into a liquid, you will be slowed down on impact (but don't stop instantly). Your impact depth is determined by your speed and the liquid viscosity. For a safe high drop into a liquid, make sure there is enough liquid above the ground, otherwise you might hit the ground and take fall damage").."\n\n"..
|
|||
|
|
|||
|
S("Liquids are often not pointable. But some special items are able to point all liquids."),
|
|||
|
images = {
|
|||
|
{ image="doc_basics_liquids_types.png",
|
|||
|
caption="A source liquid and its flowing liquids" },
|
|||
|
{ image="doc_basics_liquids_renewable_1.png",
|
|||
|
caption="Renewable liquids need to be arranged like this to create a new source block" },
|
|||
|
{ image="doc_basics_liquids_renewable_2.png",
|
|||
|
caption="A new liquid source is born" },
|
|||
|
{ image="doc_basics_liquids_nonrenewable.png",
|
|||
|
caption="Non-renewable liquids creates a flowing liquid (F) instead" },
|
|||
|
{ image="doc_basics_liquids_range.png",
|
|||
|
caption="Liquid with a flowing range of 2" },
|
|||
|
},
|
|||
|
},
|
|||
|
})
|
|||
|
|
|||
|
doc.add_entry("basics", "craft", {
|
|||
|
name = S("Crafting"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Crafting is the task of combining several items to form a new item.").."\n\n"..
|
|||
|
|
|||
|
S("To craft something, you need one or more items, a crafting grid (C) and a crafting recipe. A crafting grid is like a normal inventory which can also be used for crafting. Items need to be put in a certain pattern into the crafting grid. Next to the crafting grid is an output slot (O). Here the result will appear when you placed items correctly. This is just a preview, not the actual item. Crafting grids can come in different sizes which limits the possible recipes you can craft.").."\n\n"..
|
|||
|
|
|||
|
S("To complete the craft, take the result item from the output slot, which will consume items from the crafting grid and creates a new item. It is not possible to place items into the output slot.").."\n\n"..
|
|||
|
|
|||
|
S("A description on how to craft an item is called a “crafting recipe”. These crafting recipes can be found in the crafting guide which you can access from the inventory menu.").."\n\n"..
|
|||
|
|
|||
|
S("Crafting recipes consist of at least one input item and exactly one stack of output items. When performing a single craft, it will consume exactly one item from each stack of the crafting grid, unless the crafting recipe defines replacements.").."\n\n"..
|
|||
|
|
|||
|
S("There are multiple types of crafting recipes:\
|
|||
|
\
|
|||
|
• Shaped (image 2): Items need to be placed in a particular shape\
|
|||
|
• Shapeless (images 3 and 4): Items need to be placed somewhere in input (both images show the same recipe)\
|
|||
|
• Cooking: Explained in “Basics > Cooking”\
|
|||
|
• Repairing (image 5): Place two damaged tools into the crafting grid anywhere to get a tool which is repaired by 5%.").."\n\n"..
|
|||
|
|
|||
|
S("In some crafting recipes, some input items do not need to be a concrete item, instead they need to be a member of a group (see “Basics > Groups”). These recipes offer a bit more freedom in the input items. Images 6-8 show the same group-based recipe. Here, 8 items of the “stone” group are required, which is true for all of the shown items.").."\n\n"..
|
|||
|
|
|||
|
S("Rarely, crafting recipes have replacements. This means, whenever you perform a craft, some items in the crafting grid will not be consumed, but instead will be replaced by another item."),
|
|||
|
images = {
|
|||
|
{image="doc_basics_craft_grid.png"}, {image="doc_basics_craft_shaped.png"},
|
|||
|
{image="doc_basics_craft_shapeless_1.png"}, {image="doc_basics_craft_shapeless_2.png"}, {image="doc_basics_craft_repair.png"},
|
|||
|
{image="doc_basics_craft_groups_1.png"}, {image="doc_basics_craft_groups_2.png"}, {image="doc_basics_craft_groups_3.png"},
|
|||
|
},
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "cook", {
|
|||
|
name = S("Cooking"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Cooking (or smelting) is a form of crafting which does not involve a crafting grid. Cooking is done with a furnace, an cookable item, a fuel item and time in order to yield a new item.").."\n\n"..
|
|||
|
|
|||
|
S("Each fuel item has a burning time. This is the time a single item of the fuel keeps a furnace burning.").."\n\n"..
|
|||
|
|
|||
|
S("Each cookable item requires time to be cooked. This time is specific to the item type and the item must be “on fire” for the whole cooking time to actually yield the result.")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "hotbar", {
|
|||
|
name = S("Hotbar"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("At the bottom of the screen you see some squares. This is called the “hotbar”. The hotbar allows you to quickly access the lowest row of items in the player inventory.").."\n"..
|
|||
|
S("You can change the selected item with the mouse wheel or the number keys.").."\n\n"..
|
|||
|
|
|||
|
S("• Select previous item in hotbar: [Mouse wheel up]").."\n"..
|
|||
|
S("• Select next item in hotbar: [Mouse wheel down]").."\n"..
|
|||
|
S("• Select item in hotbar directly: [0]-[9]").."\n\n"..
|
|||
|
|
|||
|
S("The selected item is also your wielded item."),
|
|||
|
images = {{image="doc_basics_hotbar.png"}, {image="doc_basics_hotbar_relations.png"}},
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "minimap", {
|
|||
|
name = S("Minimap"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("If you have a map item in any of your hotbar slots, you can use the minimap.").."\n\n"..
|
|||
|
|
|||
|
S("Press [F9] to make a minimap appear on the top right. The minimap helps you to find your way around the world. Press it again to select different minimap modes and zoom levels. The minimap also shows the positions of other players.").."\n\n"..
|
|||
|
|
|||
|
S("There are 2 minimap modes and 3 zoom levels.").."\n\n"..
|
|||
|
|
|||
|
S("Surface mode (image 1) is a top-down view of the world, roughly resembling the colors of the blocks this world is made of. It only shows the topmost blocks, everything below is hidden, like a satellite photo. Surface mode is useful if you got lost.").."\n\n"..
|
|||
|
|
|||
|
S("Radar mode (image 2) is more complicated. It displays the “denseness” of the area around you and changes with your height. Roughly, the more green an area is, the less “dense” it is. Black areas have many blocks. Use the radar to find caverns, hidden areas, walls and more. The rectangular shapes in image 2 clearly expose the position of a dungeon.").."\n\n"..
|
|||
|
|
|||
|
S("There are also two different rotation modes. In “square mode”, the rotation of the minimap is fixed. If you press [Shift]+[F9] to switch to “circle mode”, the minimap will instead rotate with your looking direction, so “up” is always your looking direction.").."\n\n"..
|
|||
|
|
|||
|
S("In some subgames, the minimap may be disabled.").."\n\n"..
|
|||
|
|
|||
|
S("• Toggle minimap mode: [F9]").."\n"..
|
|||
|
S("• Toggle minimap rotation mode: [Shift]+[F9]"),
|
|||
|
images = {{image="doc_basics_minimap_map.png"}, {image="doc_basics_minimap_radar.png"}, {image="doc_basics_minimap_round.png"}},
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "inventory", {
|
|||
|
name="Inventory",
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Inventories are used to store item stacks. There are other uses, such as crafting. An inventory consists of a rectangular grid of item slots. Each item slot can either be empty or hold one item stack. Item stacks can be moved freely between most slots.").."\n"..
|
|||
|
S("You have your own inventory which is called your “player inventory”, you can open it with the inventory key (default: [I]). The first inventory slots are also used as slots in your hotbar.").."\n"..
|
|||
|
S("Blocks can also have their own inventory, e.g. chests and furnaces.").."\n\n"..
|
|||
|
|
|||
|
S("Inventory controls:").."\n\n"..
|
|||
|
|
|||
|
S("Taking: You can take items from an occupied slot if the cursor holds nothing.").."\n"..
|
|||
|
S("• Left click: take entire item stack").."\n"..
|
|||
|
S("• Right click: take half from the item stack (rounded up)").."\n"..
|
|||
|
S("• Middle click: take 10 items from the item stack").."\n\n"..
|
|||
|
|
|||
|
S("Putting: You can put items onto a slot if the cursor holds 1 or more items and the slot is either empty or contains an item stack of the same item type.").."\n"..
|
|||
|
S("• Left click: put entire item stack").."\n"..
|
|||
|
S("• Right click: put 1 item of the item stack").."\n"..
|
|||
|
S("• Middle click: put 10 items of the item stack").."\n\n"..
|
|||
|
|
|||
|
S("Exchanging: You can exchange items if the cursor holds 1 or more items and the destination slot is occupied by a different item type.").."\n"..
|
|||
|
S("• Click: exchange item stacks").."\n\n"..
|
|||
|
|
|||
|
S("Throwing away: If you hold an item stack and click with it somewhere outside the menu, the item stack gets thrown away into the environment.").."\n\n"..
|
|||
|
|
|||
|
S("Quick transfer: You can quickly transfer an item stack to/from the player inventory to/from another item's inventory slot like a furnace, chest, or any other item with an inventory slot when that item's inventory is accessed. The target inventory is generally the most relevant inventory in this context.").."\n"..
|
|||
|
S("• Sneak+Left click: Automatically transfer item stack"),
|
|||
|
images = {{image="doc_basics_inventory.png"}}
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("advanced", "online", {
|
|||
|
name = S("Online help"),
|
|||
|
data = { text=
|
|||
|
S("You may want to check out these online resources related to MineClone 2.").."\n\n"..
|
|||
|
|
|||
|
S("MineClone 2 download and forum discussion: <https://forum.minetest.net/viewtopic.php?f=50&t=16407>").."\n"..
|
|||
|
S("Here you find the most recent version of MineClone 2 and can discuss it.").."\n\n"..
|
|||
|
|
|||
|
S("Bug tracker: <https://github.com/Wuzzy2/MineClone2-Bugs>").."\n"..
|
|||
|
S("Report bugs here.").."\n\n\n\n"..
|
|||
|
|
|||
|
S("Minetest links:").."\n"..
|
|||
|
|
|||
|
S("Official homepage of Minetest: <http://minetest.net/>").."\n"..
|
|||
|
S("The main place to find the most recent version of Minetest, the engine used by MineClone 2.").."\n\n"..
|
|||
|
|
|||
|
S("Community wiki: <http://wiki.minetest.net/>").."\n"..
|
|||
|
S("A community-based documentation website for Minetest. Anyone with an account can edit it.").."\n\n"..
|
|||
|
|
|||
|
S("Minetest forums: <http://forums.minetest.net/>").."\n"..
|
|||
|
S("A web-based discussion platform where you can discuss everything related to Minetest. This is also a place where player-made mods and subgames are published and discussed. The discussions are mainly in English, but there is also space for discussion in other languages.").."\n\n"..
|
|||
|
|
|||
|
S("Chat: <irc://irc.freenode.net#minetest>").."\n"..
|
|||
|
S("A generic Internet Relay Chat channel for everything related to Minetest where people can meet to discuss in real-time. If you do not understand IRC, see the Community Wiki for help.")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "groups", {
|
|||
|
name = S("Groups"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("Items, players and objects (animate and inanimate) can be members of any number of groups. Groups serve multiple purposes:").."\n\n"..
|
|||
|
|
|||
|
S("• Crafting recipes: Slots in a crafting recipe may not require a specific item, but instead an item which is a member of a particular group, or multiple groups").."\n"..
|
|||
|
S("• Digging times: Diggable blocks belong to groups which are used to determine digging times. Mining tools are capable of digging blocks belonging to certain groups").."\n"..
|
|||
|
S("• Block behavior: Blocks may show a special behaviour and interact with other blocks when they belong to a particular group").."\n"..
|
|||
|
S("• Damage and armor: Objects and players have armor groups, weapons have damage groups. These groups determine damage. See also: “Basics > Weapons”").."\n"..
|
|||
|
S("• Other uses").."\n\n"..
|
|||
|
|
|||
|
S("In the item help, many important groups are usually mentioned and explained.")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "glossary", {
|
|||
|
name = S("Glossary"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("This is a list of commonly used terms:").."\n\n"..
|
|||
|
|
|||
|
S("Controls:").."\n"..
|
|||
|
S("• Wielding: Holding an item in hand").."\n"..
|
|||
|
S("• Pointing: Looking with the crosshair at something in range").."\n"..
|
|||
|
S("• Dropping: Throwing an item or item stack to the ground").."\n"..
|
|||
|
S("• Punching: Attacking with left-click, is also used on blocks").."\n"..
|
|||
|
S("• Sneaking: Walking slowly while (usually) avoiding to fall over edges").."\n"..
|
|||
|
S("• Climbing: Moving up or down a climbable block").."\n\n"..
|
|||
|
|
|||
|
S("Blocks:").."\n"..
|
|||
|
S("• Block: Cubes that the worlds are made of").."\n"..
|
|||
|
S("• Mining/digging: Using a mining tool to break a block").."\n"..
|
|||
|
S("• Building/placing: Putting a block somewhere").."\n"..
|
|||
|
S("• Drop: Items you get after mining a block").."\n"..
|
|||
|
S("• Using a block: Right-clicking a block to access its special function").."\n\n"..
|
|||
|
|
|||
|
S("Items:").."\n"..
|
|||
|
S("• Item: A single thing that players can possess").."\n"..
|
|||
|
S("• Item stack: A collection of items of the same kind").."\n"..
|
|||
|
S("• Maximum stack size: Maximum amount of items in an item stack").."\n"..
|
|||
|
S("• Slot / inventory slot: Can hold one item stack").."\n"..
|
|||
|
S("• Inventory: Provides several inventory slots for storage").."\n"..
|
|||
|
S("• Player inventory: The main inventory of a player").."\n"..
|
|||
|
S("• Tool: An item which you can use to do special things with when wielding").."\n"..
|
|||
|
S("• Range: How far away things can be to be pointed by an item").."\n"..
|
|||
|
S("• Mining tool: A tool which allows to break blocks").."\n"..
|
|||
|
S("• Craftitem: An item which is (primarily or only) used for crafting").."\n\n"..
|
|||
|
|
|||
|
S("Gameplay:").."\n"..
|
|||
|
S("• “heart”: A single health symbol, indicates 2 HP").."\n"..
|
|||
|
S("• “bubble”: A single breath symbol, indicates 1 BP").."\n"..
|
|||
|
S("• HP: Hit point (equals a half “heart”)").."\n"..
|
|||
|
S("• BP: Breath point, indicates breath when diving").."\n"..
|
|||
|
S("• Mob: Computer-controlled enemy").."\n"..
|
|||
|
S("• Crafting: Combining multiple items to create new ones").."\n"..
|
|||
|
S("• Crafting guide: A helper which shows available crafting recipes").."\n"..
|
|||
|
S("• Spawning: Appearing in the world").."\n"..
|
|||
|
S("• Respawning: Appearing again in the world after death").."\n"..
|
|||
|
S("• Group: Puts similar things together, often affects gameplay").."\n"..
|
|||
|
S("• noclip: Allows to fly through walls").."\n\n"..
|
|||
|
|
|||
|
S("Interface").."\n"..
|
|||
|
S("• Hotbar: Inventory slots at the bottom").."\n"..
|
|||
|
S("• Statbar: Indicator made out of half-symbols, used for health and breath").."\n"..
|
|||
|
S("• Minimap: The map or radar at the top right").."\n"..
|
|||
|
S("• Crosshair: Seen in the middle, used to point at things").."\n\n"..
|
|||
|
|
|||
|
S("Online multiplayer:").."\n"..
|
|||
|
S("• PvP: Player vs Player. If active, players can deal damage to each other").."\n"..
|
|||
|
S("• Griefing: Destroying the buildings of other players against their will").."\n"..
|
|||
|
S("• Protection: Mechanism to own areas of the world, which only allows the owners to modify blocks inside").."\n\n"..
|
|||
|
|
|||
|
S("Technical terms:").."\n"..
|
|||
|
S("• Minetest: This game engine").."\n"..
|
|||
|
S("• MineClone 2: What you play right now").."\n"..
|
|||
|
S("• Minetest Game: A subgame for Minetest by the Minetest developers").."\n"..
|
|||
|
S("• Subgame: A complete playing experience to be used in Minetest; such as a game or sandbox or similar").."\n"..
|
|||
|
S("• Mod: A single subsystem which adds or modifies functionality; is the basic building block of subgames and can be used to further enhance or modify them").."\n"..
|
|||
|
S("• Privilege: Allows a player to do something").."\n"..
|
|||
|
S("• Node: Other word for “block”")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("advanced", "settings", {
|
|||
|
name = S("Settings"),
|
|||
|
data = {
|
|||
|
text =
|
|||
|
S("There is a large variety of settings to configure Minetest. Pretty much every aspect can be changed that way.").."\n\n"..
|
|||
|
|
|||
|
S("These are a few of the most important gameplay settings:").."\n\n"..
|
|||
|
|
|||
|
S("• Damage enabled (enable_damage): Enables the health and breath attributes for all players. If disabled, players are immortal").."\n"..
|
|||
|
S("• Creative Mode (creative_mode): Enables sandbox-style gameplay focusing on creativity rather than a challenging gameplay. Changes include: Instant digging, easy access to almost all items, tools never wear off, etc.").."\n"..
|
|||
|
S("• PvP (enable_pvp): Short for “Player vs Player”. If enabled, players can deal damage to each other").."\n\n"..
|
|||
|
|
|||
|
S("For a full list of all available settings, use the “Advanced settings” dialog in the main menu.")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("advanced", "movement_modes", {
|
|||
|
name = S("Movement modes"),
|
|||
|
data = { text =
|
|||
|
S("If you have the required privileges, you can use up to three special movement modes. Using these may be considered cheating.").."\n\n"..
|
|||
|
|
|||
|
S("Fast mode:").."\n"..
|
|||
|
S("• Description: Allows you to move much faster. Hold down the the “Use” key [E] to move faster. In the client configuration, you can further customize fast mode.").."\n"..
|
|||
|
S("• Default key: [J]").."\n"..
|
|||
|
S("• Required privilege: fast").."\n\n"..
|
|||
|
|
|||
|
S("Fly mode:").."\n"..
|
|||
|
S("• Description: Gravity doesn't affect you and you can move freely in all directions. Use the jump key to rise and the sneak key to sink.").."\n"..
|
|||
|
S("• Default key: [K]").."\n"..
|
|||
|
S("• Required privilege: fly").."\n\n"..
|
|||
|
|
|||
|
S("Noclip mode:").."\n"..
|
|||
|
S("• Description: Allows you to move through walls. Only works when fly mode is enabled, too.").."\n"..
|
|||
|
S("• Default key: [H]").."\n"..
|
|||
|
S("• Required privilege: noclip")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("advanced", "console", {
|
|||
|
name = S("Console"),
|
|||
|
data = { text =
|
|||
|
S("With [F10] you can open and close the console. The main use of the console is to show the chat log and enter chat messages or server commands.").."\n"..
|
|||
|
S("Using the chat or server command key also opens the console, but it is smaller and will be closed after you sent a message.").."\n\n"..
|
|||
|
|
|||
|
S("Use the chat to communicate with other players. This requires you to have the “shout” privilege.").."\n"..
|
|||
|
S("Just type in the message and hit [Enter]. Public chat messages can not begin with “/”.").."\n\n"..
|
|||
|
|
|||
|
S("You can send private messages: Say “/msg <player> <message>” in chat to send “<message>” which can only be seen by <player>.").."\n\n"..
|
|||
|
|
|||
|
S("There are some special controls for the console:").."\n\n"..
|
|||
|
|
|||
|
S("• [F10] Open/close console").."\n"..
|
|||
|
S("• [Enter]: Send message or command").."\n"..
|
|||
|
S("• [Tab]: Try to auto-complete a partially-entered player name").."\n"..
|
|||
|
S("• [Ctrl]+[Left]: Move cursor to the beginning of the previous word").."\n"..
|
|||
|
S("• [Ctrl]+[Right]: Move cursor to the beginning of the next word").."\n"..
|
|||
|
S("• [Ctrl]+[Backspace]: Delete previous word").."\n"..
|
|||
|
S("• [Ctrl]+[Delete]: Delete next word").."\n"..
|
|||
|
S("• [Ctrl]+[U]: Delete all text before the cursor").."\n"..
|
|||
|
S("• [Ctrl]+[K]: Delete all text after the cursor").."\n"..
|
|||
|
S("• [Page up]: Scroll up").."\n"..
|
|||
|
S("• [Page down]: Scroll down").."\n"..
|
|||
|
|
|||
|
S("There is also an input history. Minetest saves your previous console inputs which you can quickly access later:").."\n\n"..
|
|||
|
|
|||
|
S("• [Up]: Go to previous entry in history").."\n"..
|
|||
|
S("• [Down]: Go to next entry in history")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("advanced", "commands", {
|
|||
|
name = S("Server commands"),
|
|||
|
data = { text =
|
|||
|
S("Server commands (also called “chat commands”) are little helpers for advanced users. You don't need to use these commands when playing. But they might come in handy to perform some more technical tasks. Server commands work both in multi-player and single-player mode.").."\n\n"..
|
|||
|
|
|||
|
S("Server commands can be entered by players using the chat to perform a special server action. There are a few commands which can be issued by everyone, but some commands only work if you have certain privileges granted on the server. There is a small set of basic commands which are always available, other commands can be added by mods.").."\n\n"..
|
|||
|
|
|||
|
S("To issue a command, simply type it like a chat message or press Minetest's command key (default: [/]). All commands have to begin with “/”, for example “/mods”. The Minetest command key does the same as the chat key, except that the slash is already entered.").."\n"..
|
|||
|
S("Commands may or may not give a response in the chat log, but errors will generally be shown in the chat. Try it for yourselves: Close this window and type in the “/mods” command. This will give you the list of available mods on this server.").."\n\n"..
|
|||
|
|
|||
|
S("“/help all” is a very important command: You get a list of all available commands on the server, a short explanation and the allowed parameters. This command is also important because the available commands often differ per server.").."\n\n"..
|
|||
|
|
|||
|
S("Commands are followed by zero or more parameters.").."\n\n"..
|
|||
|
|
|||
|
S("In the command reference, you see some placeholders which you need to replace with an actual value. Here's an explanation:").."\n\n"..
|
|||
|
|
|||
|
S("• Text in greater-than and lower-than signs (e.g. “<param>”): Placeholder for a parameter").."\n"..
|
|||
|
S("• Anything in square brackets (e.g. “[text]”) is optional and can be omitted").."\n"..
|
|||
|
S("• Pipe or slash (e.g. “text1 | text2 | text3”): Alternation. One of multiple texts must be used (e.g. “text2”)").."\n"..
|
|||
|
S("• Parenthesis: (e.g. “(word1 word2) | word3”): Groups multiple words together, used for alternations").."\n"..
|
|||
|
S("• Everything else is to be read as literal text").."\n\n"..
|
|||
|
|
|||
|
S("Here are some examples to illustrate the command syntax:").."\n\n"..
|
|||
|
|
|||
|
S("• /mods: No parameters. Just enter “/mods”").."\n"..
|
|||
|
S("• /me <action>: 1 parameter. You have to enter “/me ” followed by any text, e.g. “/me orders pizza”").."\n"..
|
|||
|
S("• /give <name> <ItemString>: Two parameters. Example: “/give Player default:apple”").."\n"..
|
|||
|
S("• /help [all|privs|<cmd>]: Valid inputs are “/help”, “/help all”, “/help privs”, or “/help ” followed by a command name, like “/help time”").."\n"..
|
|||
|
S("• /spawnentity <EntityName> [<X>,<Y>,<Z>]: Valid inputs include “/spawnentity boats:boat” and “/spawnentity boats:boat 0,0,0”").."\n\n\n"..
|
|||
|
|
|||
|
|
|||
|
|
|||
|
S("Some final remarks:").."\n\n"..
|
|||
|
|
|||
|
S("• For /give and /giveme, you need an itemstring. This is an internally used unique item identifier which you may find in the item help if you have the “give” or “debug” privilege").."\n"..
|
|||
|
S("• For /spawnentity you need an entity name, which is another identifier")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("advanced", "privs", {
|
|||
|
name = S("Privileges"),
|
|||
|
data = { text =
|
|||
|
S("Each player has a set of privileges, which differs from server to server. Your privileges determine what you can and can't do. Privileges can be granted and revoked from other players by any player who has the privilege called “privs”.").."\n\n"..
|
|||
|
|
|||
|
S("On a multiplayer server with the default configuration, new players start with the privileges called “interact” and “shout”. The “interact” privilege is required for the most basic gameplay actions such as building, mining, using, etc. The “shout” privilege allows to chat.").."\n\n"..
|
|||
|
|
|||
|
S("There is a small set of core privileges which you'll find on every server, other privileges might be added by mods.").."\n\n"..
|
|||
|
|
|||
|
S("To view your own privileges, issue the server command “/privs”.").."\n\n"..
|
|||
|
|
|||
|
S("Here are a few basic privilege-related commands:").."\n\n"..
|
|||
|
|
|||
|
S("• /privs: Lists your privileges").."\n"..
|
|||
|
S("• /privs <player>: Lists the privileges of <player>").."\n"..
|
|||
|
S("• /help privs: Shows a list and description about all privileges").."\n\n"..
|
|||
|
|
|||
|
S("Players with the “privs” privilege can modify privileges at will:").."\n\n"..
|
|||
|
|
|||
|
S("• /grant <player> <privilege>: Grant <privilege> to <player>").."\n"..
|
|||
|
S("• /revoke <player> <privilege>: Revoke <privilege> from <player>").."\n\n"..
|
|||
|
|
|||
|
S("In single-player mode, you can use “/grant singleplayer all” to unlock all abilities (which is often considered cheating).")
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("basics", "light", {
|
|||
|
name = S("Light"),
|
|||
|
data = { text =
|
|||
|
S("As the world is entirely block-based, so is the light in the world. Each block has its own brightness. The brightness of a block is expressed in a “light level” which ranges from 0 (total darkness) to 15 (as bright as the sun).").."\n\n"..
|
|||
|
|
|||
|
S("There are two types of light: Sunlight and artificial light.").."\n\n"..
|
|||
|
|
|||
|
S("Artificial light is emitted by luminous blocks. Artificial light has a light level from 1-14.").."\n"..
|
|||
|
S("Sunlight is the brightest light and always goes perfectly straight down from the sky at each time of the day. blocks. At night, the sunlight will become moonlight instead, which still provides a small amount of light. The light level of sunlight is 15.").."\n\n"..
|
|||
|
|
|||
|
S("Blocks have 3 levels of transparency:").."\n\n"..
|
|||
|
|
|||
|
S("• Transparent: Sunlight goes through limitless, artificial light goes through with losses").."\n"..
|
|||
|
S("• Semi-transparent: Sunlight and artificial light go through with losses").."\n"..
|
|||
|
S("• Opaque: No light passes through").."\n\n"..
|
|||
|
|
|||
|
S("Artificial light will lose one level of brightness for each transparent or semi-transparent block it passes through, until only darkness remains (image 1).").."\n"..
|
|||
|
S("Sunlight will preserve its brightness as long it only passes fully transparent blocks. When it passes through a semi-transparent block, it turns to artificial light. Image 2 shows the difference.").."\n\n"..
|
|||
|
|
|||
|
S("Note that “transparency” here only means that the block is able to carry brightness from its neighboring blocks. It is possible for a block to be transparent to light but you can't see trough the other side."),
|
|||
|
images = {{image="doc_basics_light_torch.png"}, {image="doc_basics_light_test.png"}}
|
|||
|
}})
|
|||
|
|
|||
|
doc.add_entry("advanced", "coordinates", {
|
|||
|
name = S("Coordinates"),
|
|||
|
data = { text =
|
|||
|
S("The world is a large cube. And because of this, a position in the world can be easily expressed with Cartesian coordinates. That is, for each position in the world, there are 3 values X, Y and Z.").."\n\n"..
|
|||
|
|
|||
|
S("Like this: (5, 45, -12)").."\n\n"..
|
|||
|
|
|||
|
S("This refers to the position where X=5, Y=45 and Z=-12. The 3 letters are called “axes”: Y is for the height. X and Z are for the horizontal position.").."\n\n"..
|
|||
|
|
|||
|
S("The values for X, Y and Z work like this:").."\n\n"..
|
|||
|
|
|||
|
S("• If you go up, Y increases").."\n"..
|
|||
|
S("• If you go down, Y decreases").."\n"..
|
|||
|
S("• If you follow the sun, X increases").."\n"..
|
|||
|
S("• If you go to the reverse direction, X decreases").."\n"..
|
|||
|
S("• Follow the sun, then go right: Z increases").."\n"..
|
|||
|
S("• Follow the sun, then go left: Z decreases").."\n"..
|
|||
|
S("• The side length of a full cube is 1").."\n\n"..
|
|||
|
|
|||
|
S("You can view your current position in the debug screen (open with [F5]). This is considered cheating in some games.")
|
|||
|
}})
|