Hands-On Usage
add_equipment_subsidy is commonly used to implement "overlord/ally support" scenarios in mods, such as having a major power provide equipment subsidies to vassals or allies to reduce their procurement costs. A typical use case is triggering support agreements for allies after a nation completes a specific focus or reaches an agreement.
# After Germany completes a certain agreement, provide equipment subsidies to India and Australia
GER = {
add_equipment_subsidy = {
cic = 150
equipment_type = support_equipment
seller_tags = { RAJ AST }
}
}
Synergy
[create_import](/wiki/effect/create_import): Can add subsidies while establishing equipment import contracts, forming a complete equipment aid workflow.
[add_political_power](/wiki/effect/add_political_power): Diplomatic aid actions typically involve political capital consumption or rewards; both often appear in the same option block to represent diplomatic costs.
[has_completed_focus](/wiki/trigger/has_completed_focus): Used as a trigger condition to ensure subsidies are only granted after completing a specific focus, preventing subsidies from being triggered unconditionally.
[add_opinion_modifier](/wiki/effect/add_opinion_modifier): Simultaneously add opinion modifiers after aid to work with subsidies and create a complete diplomatic interaction effect.
Common Pitfalls
seller_tags and seller_trigger are mutually exclusive: These two fields cannot be written in the same add_equipment_subsidy block simultaneously, otherwise the script parser will error or produce undefined behavior. If dynamic seller determination is needed, use seller_trigger pointing to a scripted trigger instead.
- Scope must be a country: Beginners sometimes call this command within state or unit leader scopes, causing the effect to silently fail. Always verify that the executing block's scope is COUNTRY before use.