LuaAPI.wiki
changeset 608 9a49d69316f2
parent 583 0818d57c392f
child 610 b5b545b29e6a
equal deleted inserted replaced
607:dde757edd995 608:9a49d69316f2
   793 Sets the water level (`WaterLine`) to the specified y-coordinate.
   793 Sets the water level (`WaterLine`) to the specified y-coordinate.
   794 
   794 
   795 ==== <tt>!SetWind(windSpeed)</tt> ====
   795 ==== <tt>!SetWind(windSpeed)</tt> ====
   796 Sets the current wind in the range of -100 to 100. Use together with `gfDisableWind` for full control.
   796 Sets the current wind in the range of -100 to 100. Use together with `gfDisableWind` for full control.
   797 
   797 
       
   798 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> (0.9.22) ====
       
   799 Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If `distInPx` is `nil`, the distance will be reset to the default value.
       
   800 
   798 ==== <tt>!EndGame()</tt> ====
   801 ==== <tt>!EndGame()</tt> ====
   799 Makes the game end.
   802 Makes the game end.
   800 
   803 
   801 === Map ===
   804 === Map ===
   802 ==== <tt>!MapHasBorder()</tt> ====
   805 ==== <tt>!MapHasBorder()</tt> ====