LuaAPI.wiki
changeset 1212 ba87334e07c9
parent 1211 b228006249f8
child 1215 cebbdd989a1b
equal deleted inserted replaced
1211:b228006249f8 1212:ba87334e07c9
   952 Returns current wind, expressed as a floating point number between -100 to 100 inclusive. Note there may be rounding errors.
   952 Returns current wind, expressed as a floating point number between -100 to 100 inclusive. Note there may be rounding errors.
   953 
   953 
   954 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> (0.9.22) ====
   954 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> (0.9.22) ====
   955 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.
   955 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.
   956 
   956 
   957 ==== <tt>!EndTurn([noTaunts])</tt> (0.9.23) ====
   957 ==== `EndTurn([noTaunts])` (0.9.23) ====
   958 Ends the current turn.
   958 Ends the current turn.
   959 
   959 
   960 Normally, a “Coward” taunt may be played and an announcer message may be shown (depending on the situation). Set the optional `noTaunts` parameter to `true` to force the engine to never play a taunt or show a message. `noTaunts` is `false` by default.
   960 Normally, a “Coward” taunt may be played and an announcer message may be shown (depending on the situation). Set the optional `noTaunts` parameter to `true` to force the engine to never play a taunt or show a message. `noTaunts` is `false` by default.
   961 
   961 
   962 ==== <tt>!EndGame()</tt> ====
   962 ==== <tt>!EndGame()</tt> ====