forked from MineClone5/MineClone5
Update help text of comparators
This commit is contained in:
parent
c9ef3f8536
commit
b04e555635
|
@ -210,13 +210,19 @@ for _, state in pairs{mesecon.state.on, mesecon.state.off} do
|
||||||
-- Help
|
-- Help
|
||||||
local longdesc, usagehelp, use_help
|
local longdesc, usagehelp, use_help
|
||||||
if state_strs[state] == "off" and mode == "comp" then
|
if state_strs[state] == "off" and mode == "comp" then
|
||||||
longdesc = "Redstone comparators are redstone components which "..
|
longdesc = "Redstone comparators are multi-purpose redstone components. "..
|
||||||
"compare redstone signals and measure various block states, such as "..
|
"They can transmit a redstone signal, detect whether a block contains any items and compare multiple signals."
|
||||||
"how full inventories are. NOTE: This item is incomplete."
|
|
||||||
|
|
||||||
usagehelp = "To power a redstone comparater, send a signal in “arrow” "..
|
usagehelp = "A redstone comparator has 1 main input, 2 side inputs and 1 output. The output is in "..
|
||||||
"direction, or place the block to measure there. Send the signal "..
|
"arrow direction, the main input is in the opposite direction. The other 2 sides are the side inputs.".."\n"..
|
||||||
"to compare with in from the side."
|
"The main input can powered in 2 ways: First, it can be powered directly by redstone power like any other component. Second, it is powered if, and only if a container (like chest) is placed in front of it and the container contains at least one item."..
|
||||||
|
"The side inputs are only powered by normal redstone power."..
|
||||||
|
"The redstone can operate in two modes: Transmission mode and subtraction mode. It "..
|
||||||
|
"starts in transmission mode and the mode can be changed by a rightclick.".."\n\n"..
|
||||||
|
"Transmission mode:"..
|
||||||
|
"The front torch is unlit and lowered. The output is powered if, and only if the main input is powered. The two side inputs are ignored.".."\n"..
|
||||||
|
"Subtraction mode:"..
|
||||||
|
"The front torch is lit. The output is powered if, and only if the main input is powered and none of the side inputs is powered."
|
||||||
else
|
else
|
||||||
use_help = false
|
use_help = false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue