LuaAPI.wiki
changeset 1272 4f93f837c427
parent 1271 006fe546bd26
child 1299 c0cade1e3676
equal deleted inserted replaced
1271:006fe546bd26 1272:4f93f837c427
   995 
   995 
   996 By default, an explosion destroys a circular piece of land and damages and pushes gears in its radius.
   996 By default, an explosion destroys a circular piece of land and damages and pushes gears in its radius.
   997 
   997 
   998 The explosion occours at coordinates `(x, y)` with the given `radius`. Assuming 100% damage, the explosion damage at the center equals the explosion radius.
   998 The explosion occours at coordinates `(x, y)` with the given `radius`. Assuming 100% damage, the explosion damage at the center equals the explosion radius.
   999 
   999 
       
  1000 The explosion will also have a visual effect (by spawning an explosion visual gear), unless the radius is very small.
       
  1001 
  1000 `options` is a bitmask which can be used to tweak how the explosion behaves:
  1002 `options` is a bitmask which can be used to tweak how the explosion behaves:
  1001 
  1003 
  1002 || *Flag* || *Meaning* ||
  1004 || *Flag* || *Meaning* ||
  1003 || `EXPLAutoSound` || Plays an appropriate sound ||
  1005 || `EXPLAutoSound` || Plays an appropriate sound ||
  1004 || `EXPLNoDamage` || Deal no damage to gears ||
  1006 || `EXPLNoDamage` || Deal no damage to gears ||