GearTypes.wiki
changeset 1719 b3b6ed1c822f
parent 1714 749b203b1fd7
child 1723 2435eaf0770c
equal deleted inserted replaced
1718:49d91eb0c2c0 1719:b3b6ed1c822f
   465 A mortar. On impact it spawns a few [GearTypes#gtCluster `gtCluster`] gears.
   465 A mortar. On impact it spawns a few [GearTypes#gtCluster `gtCluster`] gears.
   466 
   466 
   467  * `Boom`: Explosion size and damage of the main mortar projectile only. Default: 20
   467  * `Boom`: Explosion size and damage of the main mortar projectile only. Default: 20
   468 
   468 
   469 ==== `gtMine` ====
   469 ==== `gtMine` ====
   470 A land mine.
   470 A regular mine. The game will decide whether a mine is a dud or not when the mine timer reaches 0.
   471 
   471 
   472 If the gear state flag `gstAttacking` is set, mine has been activated and is about to explode (if it is not a dud).
   472 State:
   473 The game will decide whether a mine is a dud or not when the mine timer reaches 0.
   473 
       
   474  * `gstAttacking`: If set, mine has been activated and is about to explode (if it is not a dud)
       
   475  * `gstWait` if set, the mine will be guaranteed to not be a dud. `gstWait` is automatically set for mines that are placed by hedgehogs via the `amMine` ammo type
       
   476 
       
   477 Gear values:
   474 
   478 
   475  * `Timer`: Detonation timer (after activation). The initial value depends on the game settings.
   479  * `Timer`: Detonation timer (after activation). The initial value depends on the game settings.
   476  * `Health`: If `0`, mine is a dud, otherwise it is not a dud or has not been triggered yet.
   480  * `Health`: If `0`, mine is a dud, otherwise it is not a dud or has not been triggered yet.
   477  * `Tag`: (0.9.23) If `1`, mine timer will be random.
   481  * `Tag`: (0.9.23) If `1`, mine timer will be random.
   478  * `Damage`: If mine has become a dud, this will contain the damage taken by the mine since it was a dud. It starts at 0 and the mine will explode when `Damage` is greater than 35.
   482  * `Damage`: If mine has become a dud, this will contain the damage taken by the mine since it was a dud. It starts at 0 and the mine will explode when `Damage` is greater than 35.