LuaAPI.wiki
changeset 1655 e7d9a849444b
parent 1654 5c7dfdedb5f8
child 1656 a262e8d3380d
equal deleted inserted replaced
1654:5c7dfdedb5f8 1655:e7d9a849444b
  1067 Returns current wind, expressed as a floating point number between -100 to 100 inclusive. Note there may be rounding errors.
  1067 Returns current wind, expressed as a floating point number between -100 to 100 inclusive. Note there may be rounding errors.
  1068 
  1068 
  1069 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> ====
  1069 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> ====
  1070 Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If called without arguments, the distance will be reset to the default value.
  1070 Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If called without arguments, the distance will be reset to the default value.
  1071 
  1071 
  1072 ==== `Explode(x, y, radius[, options])` (0.9.24) ====
  1072 ==== <tt>Explode(x, y, radius[, options])</tt> (0.9.24) ====
  1073 Cause an explosion or erase land, push or damage gears.
  1073 Cause an explosion or erase land, push or damage gears.
  1074 
  1074 
  1075 By default, an explosion destroys a circular piece of land and damages and pushes gears in its radius.
  1075 By default, an explosion destroys a circular piece of land and damages and pushes gears in its radius.
  1076 
  1076 
  1077 The explosion occours at coordinates `(x, y)` with the given `radius`. Assuming 100% damage, the explosion damage at the center equals the explosion radius.
  1077 The explosion occours at coordinates `(x, y)` with the given `radius`. Assuming 100% damage, the explosion damage at the center equals the explosion radius.