Jump to content

DamageReducesReadiness: Difference between revisions

From ModEnc²
en>Kenji
m 4 revisions imported
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
}}
}}


This flag must be set to <code>yes</code> on a unit which has {{TTL|ReadinessReductionMultiplier}} set to a [[Help:Values#Floating_Point_Values|floating point value]] greater than 0, in order to have its ammunition supply reduced when taking damage. This is only applicable to units that have {{TTL|Ammo}} set to an [[Help:Values#Integers|integer]] other than -1 (unlimited ammo).
This flag must be set to <code>yes</code> on a unit which has {{f|ReadinessReductionMultiplier|link}} set to a [[Help:Values#Floating_Point_Values|floating point value]] greater than 0, in order to have its ammunition supply reduced when taking damage. This is only applicable to units that have {{f|Ammo|link}} set to an [[Help:Values#Integers|integer]] other than -1 (unlimited ammo).


The amount of ammo that is removed when the unit takes damage is determined by {{TTL|ReadinessReductionMultiplier}}.
The amount of ammo that is removed when the unit takes damage is determined by {{f|ReadinessReductionMultiplier|link}}.


==Resources==
==Resources==
Line 16: Line 16:


==See also==
==See also==
* {{TTL|Ammo}}
* {{f|Ammo|link}}
* {{TTL|InitialAmmo}}
* {{f|InitialAmmo|link}}
* {{TTL|Reload}}
* {{f|Reload|link}}
* {{TTL|EmptyReload}}
* {{f|EmptyReload|link}}
* {{TTL|ReloadIncrement}}
* {{f|ReloadIncrement|link}}

Latest revision as of 21:40, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DamageReducesReadiness
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



This flag must be set to yes on a unit which has ReadinessReductionMultiplier set to a floating point value greater than 0, in order to have its ammunition supply reduced when taking damage. This is only applicable to units that have Ammo set to an integer other than -1 (unlimited ammo).

The amount of ammo that is removed when the unit takes damage is determined by ReadinessReductionMultiplier.

Resources

See also