diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-01-20 16:42:27 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-01-20 16:42:27 -0700 |
commit | b0e358fdcbfc852233e6cf02459c0a28c6306ed8 (patch) | |
tree | a264800db415791c924611d22edd765cb13f22d4 /node_controllers.lua | |
parent | 2e4f894f9ebbb1a22639933300ac60647a3bb67b (diff) |
add line breaks to tooltips
Diffstat (limited to 'node_controllers.lua')
-rw-r--r-- | node_controllers.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node_controllers.lua b/node_controllers.lua index 0bf415b..f9912ad 100644 --- a/node_controllers.lua +++ b/node_controllers.lua @@ -76,18 +76,18 @@ local auto_formspec = "size[3.5,2]" .. default.gui_bg_img .. default.gui_slots .. "field[0.5,0.8;1,0.1;cycles;Cycles;${cycles}]" .. - "tooltip[cycles;When triggered, this controller will try to run for the given number of cycles. The cycle count will decrement as it runs, so if it gets halted by a problem you can fix the problem and restart.]" .. + "tooltip[cycles;When triggered, this controller will try to run for the given number of cycles.\nThe cycle count will decrement as it runs, so if it gets halted by a problem\nyou can fix the problem and restart.]" .. "button_exit[1.2,0.5;1,0.1;set;Set]" .. "tooltip[set;Saves the cycle setting without starting the controller running]" .. "button_exit[2.2,0.5;1,0.1;execute;Set &\nExecute]" .. "tooltip[execute;Begins executing the given number of cycles]" .. "field[0.5,2.0;1,0.1;slope;Slope;${slope}]" .. - "tooltip[slope;For diagonal digging. After every X blocks the auto controller moves forward, the controller will add an additional cycle moving the digtron laterally in the direction of the arrows on the side of this controller. Set to 0 for no lateral digging.]" .. + "tooltip[slope;For diagonal digging. After every X nodes the auto controller moves forward,\nthe controller will add an additional cycle moving the digtron laterally in the\ndirection of the arrows on the side of this controller.\nSet to 0 for no lateral digging.]" .. "field[1.5,2.0;1,0.1;offset;Offset;${offset}]" .. - "tooltip[offset;Sets the offset of the lateral motion defined in the Slope field. Note: this offset is relative to the controller's location. The controller will move down when it reaches the indicated point.]" .. + "tooltip[offset;Sets the offset of the lateral motion defined in the Slope field.\nNote: this offset is relative to the controller's location.\nThe controller will move down when it reaches the indicated point.]" .. "field[2.5,2.0;1,0.1;period;Delay;${period}]" .. "tooltip[period;Number of seconds to wait between each cycle]" - + -- Needed to make this global so that it could recurse into minetest.after digtron.auto_cycle = function(pos) local node = minetest.get_node(pos) |