Help texts: Button, redstone lamp, commandblock

This commit is contained in:
Wuzzy 2017-03-11 03:38:08 +01:00
parent bba375e61d
commit 2453d3fa63
3 changed files with 19 additions and 0 deletions

View file

@ -176,6 +176,19 @@ end
minetest.register_node("mesecons_commandblock:commandblock_off", {
description = "Command Block",
_doc_items_longdesc =
"Command blocks are mighty redstone components which are able to alter reality itself. In other words, they cause the server to execute server commands when they are supplied with redstone power.",
_doc_items_usagehelp =
[[Initially, a command block does not have any commands and does nothing. Rightclick the command block to edit its commands. Refer to the help entry about server commands to understand how they work. Each line contains a single command, the commands will be executed from top to bottom. The commands DO NOT require a leading slash.
You can optionally use the following placeholders in your commands:
@nearest is replaced by the name of the player nearest to the command block
@farthest is replaced by the name of the player farthest away from the command block
@random is replaced by the name of a random player currently connected
To execute the commands, supply the command block with redstone power once. To execute them again, you have to turn the power off and on again.]],
tiles = {{name="jeija_commandblock_off.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=2}}},
groups = {creative_breakable=1, mesecon_effector_off=1, not_in_creative_inventory=1},
drop = "",