Fix issue #193 (Move controller feature request)

This commit is contained in:
Joachim Stolberg 2025-01-12 16:15:59 +01:00
parent 9cd9ab9f90
commit ca318235cc
2 changed files with 23 additions and 19 deletions

View File

@ -541,7 +541,7 @@ return {
"Anleitung:\n"..
"\n"..
" - Controller setzen und die Blöcke\\, die bewegt werden sollen\\, über das Menü (Taste \"Aufzeichnen\") an-trainieren (Es können bis zu 16 Blöcke an-trainiert werden)\n"..
" - die \"Flugstrecke\" muss über eine x\\,y\\,z Angabe (relativ) eingegeben werden (die maximale Distanz (x+y+z) beträgt 200 m)\n"..
" - die \"Flugstrecke\" muss über eine x\\,y\\,z Angabe (relativ) eingegeben werden (die maximale Distanz beträgt 1000 m)\n"..
" - mit den Menü-Tasten \"Bewege A-B\" sowie \"Bewege B-A\" kann die Bewegung getestet werden\n"..
" - man kann auch durch Wände oder andere Blöcke fliegen\n"..
" - auch die Zielposition für die Blöcke kann belegt sein. Die Blöcke werden in diesem Falle \"unsichtbar\" gespeichert. Dies ist für Schiebetüren und ähnliches gedacht\n"..
@ -555,11 +555,13 @@ return {
"Über das Schraubenschlüssel-Menü kann auf die Betriebsart 'move xyz' umgeschaltet werden. Nach der Umschaltung werden folgende techage Kommandos unterstützt:\n"..
"\n"..
" - 'move2' Beim Kommando muss zusätzlich die Flugstrecke als x\\,y\\,z Vektor angegeben werden.\nBeispiel Lua Controller: '$send_cmnd(MOVE_CTLR\\, \"move2\"\\, \"0\\,12\\,0\")'\n"..
" - 'moveto' verschiebt Block an die angegebene Zielposition (die Zielposition bezieht sich auf den ersten markierten Block\\, die weiteren Blöcke werden relativ zu dieser Position verschoben)\n"..
" - 'reset' Block/Blöcke zurück in Startposition bewegen\n"..
"\n"..
"*Wichtige Hinweise:*\n"..
"\n"..
" - Sofern mehrere Blöcke bewegt werden sollen\\, muss der Block\\, der die Spieler/Mobs mitnehmen soll\\, beim Antrainieren als erstes angeklickt werden.\n"..
" - Wird das 'moveto' Kommando genutzt\\, so gilt die angegebene Zielposition für den Block\\, der beim Antrainieren als erstes angeklickt wird.\n"..
" - Hat der Block\\, der die Spieler/Mobs mitnehmen soll\\, eine reduzierte Höhe\\, so muss die Höhe im Controller über das Schraubenschlüsselmenü eingestellt werden (bspw. Höhe = 0.5). Ansonsten wird der Spieler/Mob nicht \"gefunden\" und damit nicht mitgenommen.\n"..
"\n"..
"\n"..

View File

@ -207,7 +207,7 @@ return {
"\n"..
"\n",
"The heat exchanger consists of 3 parts that must be placed on top of each other\\, with the arrow of the first block pointing towards the turbine. The pipes must be built with the yellow TA4 pipes.\n"..
"The heat exchanger must be connected to the power grid. The energy storage device is recharged via the heat exchanger\\, provided that sufficient electricity is available. \n"..
"The heat exchanger must be connected to the power grid. The energy storage device is recharged via the heat exchanger\\, provided that sufficient electricity is available.\n"..
"\n"..
"\n"..
"\n",
@ -218,7 +218,7 @@ return {
"The generator is used to generate electricity. Therefore\\, the generator must also be connected to the power grid.\n"..
"The generator is part of the energy storage. It is used to generate electricity and thus releases the energy from the energy storage unit. Therefore\\, the generator must also be connected to the power grid.\n"..
"\n"..
"Important: Both\\, heat exchanger and generator must be connected to the same power grid! \n"..
"Important: Both\\, heat exchanger and generator must be connected to the same power grid!\n"..
"\n"..
"\n"..
"\n",
@ -253,9 +253,9 @@ return {
"\n"..
"\n"..
"\n",
"The TA4 laser is used for wireless power transmission. Two blocks are required for this: TA4 Laser Beam Emitter and TA4 Laser Beam Receiver. There must be an air gap between the two blocks so that the laser beam can be built up from the emitter to the receiver. First the emitter must be placed. This immediately switches on the laser beam and shows possible positions of the receiver. Possible positions for the receiver are also output via a chat message. \n"..
"The TA4 laser is used for wireless power transmission. Two blocks are required for this: TA4 Laser Beam Emitter and TA4 Laser Beam Receiver. There must be an air gap between the two blocks so that the laser beam can be built up from the emitter to the receiver. First the emitter must be placed. This immediately switches on the laser beam and shows possible positions of the receiver. Possible positions for the receiver are also output via a chat message.\n"..
"\n"..
"With the laser\\, distances of up to 96 blocks can be bridged. Once the connection has been established (no current has to flow)\\, this is indicated via the info text of the emitter and also of the receiver. \n"..
"With the laser\\, distances of up to 96 blocks can be bridged. Once the connection has been established (no current has to flow)\\, this is indicated via the info text of the emitter and also of the receiver.\n"..
"\n"..
"The laser blocks themselves do not require any electricity.\n"..
"\n"..
@ -288,7 +288,7 @@ return {
"\n"..
"The fuel cell can deliver up to 34 ku of electricity and needs a hydrogen item every 4 s.\n"..
"\n"..
"Usually the fuel cell works as a category 2 generator (like other storage systems). \n"..
"Usually the fuel cell works as a category 2 generator (like other storage systems).\n"..
"In this case\\, no other category 2 blocks such as the battery block can be charged. However\\, the fuel cell can also be used as a category 1 generator via the check box.\n"..
"\n"..
"\n"..
@ -444,11 +444,11 @@ return {
"\n"..
"\n"..
"\n",
"This block has two buttons that can be individually configured using the wrench menu. The labeling and the target block address can be configured for each button. In addition\\, the command that is to be sent can be configured for each button. \n"..
"This block has two buttons that can be individually configured using the wrench menu. The labeling and the target block address can be configured for each button. In addition\\, the command that is to be sent can be configured for each button.\n"..
"\n"..
"\n"..
"\n",
"This block has four buttons that can be individually configured using the wrench menu. The labeling and the target block address can be configured for each button. In addition\\, the command that is to be sent can be configured for each button. \n"..
"This block has four buttons that can be individually configured using the wrench menu. The labeling and the target block address can be configured for each button. In addition\\, the command that is to be sent can be configured for each button.\n"..
"\n"..
"\n"..
"\n",
@ -539,7 +539,7 @@ return {
"Instructions:\n"..
"\n"..
" - Set the controller and train the blocks to be moved via the menu (up to 16 blocks can be trained)\n"..
" - the \"flight route\" must be entered via an x\\, y\\, z specification (relative) (the maximum distance (x+y+z) is 200 m)\n"..
" - the \"flight route\" must be entered via an x\\, y\\, z specification (relative) (the maximum distance is 1000 m)\n"..
" - The movement can be tested with the menu buttons \"Move A-B\" and \"Move B-A\"\n"..
" - you can also fly through walls or other blocks\n"..
" - The target position for the blocks can also be occupied. In this case\\, the blocks are saved \"invisibly\". This is intended for sliding doors and the like\n"..
@ -550,14 +550,16 @@ return {
" - 'b2a' Move block from B to A.\n"..
" - 'move' Move block to the other side\n"..
"\n"..
"You can switch to the 'move xyz' operating mode via the wrench menu. After switching\\, the following techage commands are supported: \n"..
"You can switch to the 'move xyz' operating mode via the wrench menu. After switching\\, the following techage commands are supported:\n"..
"\n"..
" - 'move2' With the command\\, the flight route must also be specified as an x\\,y\\,z vector.\nExample Lua Controller: '$send_cmnd(MOVE_CTLR\\, \"move2\"\\, \"0\\,12\\,0\")'\n"..
" - 'move2' With this command\\, the flight route must also be specified as an x\\,y\\,z vector.\nExample Lua Controller: '$send_cmnd(MOVE_CTLR\\, \"move2\"\\, \"0\\,12\\,0\")'\n"..
" - 'moveto' Move block to the given destination position (the destination position is valid for the first marked block\\, the other blocks are moved relative to this position)\n"..
" - 'reset' move block(s) back to start position\n"..
"\n"..
"*Important instructions:*\n"..
"\n"..
" - If several blocks are to be moved\\, the block that is to take the players/mobs must be clicked first when training.\n"..
" - If the 'moveto' command is used\\, the specified target position applies to the block that is clicked first during training.\n"..
" - If the block that is supposed to take the players/mobs has a reduced height\\, the height must be set in the controller using the open-ended wrench menu (e.g. height = 0.5). Otherwise the player/mob will not be \"found\" and will not be taken away.\n"..
"\n"..
"\n"..
@ -719,7 +721,7 @@ return {
"\n"..
"Example: '$send_cmnd(1234\\, \"input\"\\, 1)'\n"..
"\n"..
" \n"..
"\n"..
"\n",
"The function corresponds to that of TA3.\n"..
"\n"..
@ -735,7 +737,7 @@ return {
"\n"..
"The 'flush' command moves all items from the input inventory to the output inventory. The command returns 'true' if the input inventory was completely emptied. If 'false' was returned (output inventory full)\\, the command must be repeated at a later time.\n"..
"\n"..
" \n"..
"\n"..
"\n",
"See TA3 tank.\n"..
"\n"..
@ -745,7 +747,7 @@ return {
"\n",
"See TA3 pump.\n"..
"\n"..
"The TA4 pump pumps 8 units of liquid every two seconds. \n"..
"The TA4 pump pumps 8 units of liquid every two seconds.\n"..
"\n"..
"In the \"Flow limiter\" mode\\, the number of units pumped by the pump can be limited. The flow limiter mode can be activated via the open-end wrench menu by configuring the number of units in the menu. Once the configured number of units have been pumped\\, the pump will turn off. When the pump is turned on again\\, it will pump the configured number of units again and then turn off.\n"..
"\n"..
@ -761,11 +763,11 @@ return {
"\n"..
"\n"..
"\n",
"This block can no longer be crafted and will be replaced by the TA4 water inlet block. \n"..
"This block can no longer be crafted and will be replaced by the TA4 water inlet block.\n"..
"\n",
"Some recipes require water. The water must be pumped from the sea with a pump (water at y = 1). A \"pool\" made up of a few water blocks is not sufficient for this! \n"..
"Some recipes require water. The water must be pumped from the sea with a pump (water at y = 1). A \"pool\" made up of a few water blocks is not sufficient for this!\n"..
"\n"..
"To do this\\, the water inlet block must be placed in the water and connected to the pump via pipes. If the block is placed in the water\\, it must be ensured that there is water under the block (water must be at least 2 blocks deep). \n"..
"To do this\\, the water inlet block must be placed in the water and connected to the pump via pipes. If the block is placed in the water\\, it must be ensured that there is water under the block (water must be at least 2 blocks deep).\n"..
"\n"..
"\n"..
"\n",
@ -872,7 +874,7 @@ return {
"\n"..
"\n"..
"\n",
"The recycler is a machine that processes all Techage recipes backwards\\, i.e. it can dismantle machines and blocks back into their components. \n"..
"The recycler is a machine that processes all Techage recipes backwards\\, i.e. it can dismantle machines and blocks back into their components.\n"..
"\n"..
"The machine can disassemble pretty much any Techage and Hyperloop blocks. But not all recipe items/materials can be recycled:\n"..
"\n"..
@ -883,7 +885,7 @@ return {
"\n"..
"The processing power is one item every 8 s. The block requires 16 ku of electricity for this.\n"..
"\n"..
" \n"..
"\n"..
"\n",
},
images = {