// Management · RimWorld Mod
[AKT] Support Buff
Adds a Fire Emblem-style support system.
Adds a Fire Emblem-style support system.
Buffs are applied to melee hit chance / melee dodge chance / shooting accuracy based on opinion and bonds with nearby allies and animals. The better the opinion, the larger the buff: lining up Pawns who get along well boosts their hit/dodge/ranged accuracy. Certain relationships (spouses, etc.) grant additional buffs on top. Lines are also drawn between Pawns in a support relationship, colored by support level.
Intimate Relationships
An "intimate relationship" is defined as a direct relation that satisfies PawnRelationDef.importance >= intimateImportanceThreshold (default 180). Support with a Pawn in an intimate relationship grants more types of buffs than usual.
Supported Languages
English, Japanese.
Required Mods
Companion Mods
This mod works fine on its own even without any companion mod.
- Support Buff Roles: Adds the Stat offsets provided by this mod to some Ideology roles.
- Critical Hit: when enabled, adds critical hit chance / critical hit dodge offsets.
- Ranged Damage Factor: when enabled, adds a ranged damage factor offset.
Stats
New Stats are added. They can be freely raised or lowered via statOffsets / statFactors on traits, genes, item mods, etc.
Support Affinity
StatDefaultDescription
Akata_SupportBuff_SupportAffinity0Innate aptitude for forming support relationships. The pair's combined value is subtracted from the support level thresholds.
General Support
StatDefaultDescription
Akata_SupportBuff_MeleeHitScale+2.5%Amount added to melee hit chance per 1 support level.
Akata_SupportBuff_MeleeDodgeScale+2.5%Amount added to melee dodge chance per 1 support level.
Akata_SupportBuff_RangedHitScale+2.5%Amount added to shooting accuracy per 1 support level.
Akata_SupportBuff_CritChanceScale+0%Amount added to critical hit chance per 1 support level.
Akata_SupportBuff_CritDodgeScale+1%Amount added to critical hit dodge per 1 support level.
Intimate Relationships
StatDefaultDescription
Akata_SupportBuff_MeleeDamageScale+2.5%Amount added to melee damage factor per 1 support level.
Akata_SupportBuff_RangedDamageScale+2.5%Amount added to ranged damage factor per 1 support level.
Bond with Animals
StatDefaultDescription
Akata_SupportBuff_BondMeleeHitScale+5%Amount added to melee hit chance per bonded animal.
Akata_SupportBuff_BondMeleeDodgeScale+5%Amount added to melee dodge chance per bonded animal.
Akata_SupportBuff_BondRangedHitScale+5%Amount added to shooting accuracy per bonded animal.
Akata_SupportBuff_BondCritChanceScale+0%Amount added to critical hit chance per bonded animal.
Akata_SupportBuff_BondCritDodgeScale+2%Amount added to critical hit dodge per bonded animal.
Akata_SupportBuff_BondMeleeDamageScale+5%Amount added to melee damage factor per bonded animal.
Akata_SupportBuff_BondRangedDamageScale+5%Amount added to ranged damage factor per bonded animal.
Bond buffs are also mutual: the bonded animal receives buffs too.
Hediff
- Support: Indicates that the Pawn is receiving support from nearby allies. The number in parentheses shows the total support level (sum of C=1, B=2, A=3, S=4) and its breakdown.
How It Works
- Each Pawn is scanned periodically (default every 250 ticks).
- Same-faction Pawns or bonded animals within a fixed radius (default 8 cells) from the origin Pawn are eligible.
- For each candidate, the lower of the two-way opinion values is taken, and the support level is determined against the C/B/A/S thresholds.
- Support levels are aggregated and the corresponding buffs are applied.
A support level is granted when the following holds (the highest satisfied level is used). Beyond opinion alone, a Pawn's aptitude and social skill also make support easier to form.
min(both Pawns' opinion) >= threshold setting per level - (sum of both Pawns' Support Affinity × affinity weight) - (sum of both Pawns' social skill × social skill weight)
The buff amount is, for each support relationship, the average of both pawns' "+/Lv" value added per support level, summed up. It is finally capped by the upper limit in Mod Settings.
buff amount = Σ over each relationship ( support level × (own +/Lv + partner's +/Lv) / 2 )
Mod Settings
You can configure support level thresholds (0-400), affinity / social skill weights, scan radius/interval, per-buff enable/disable, Stat default values, presentation toggles, and more.
Q&A
Q. Is it safe to add or remove mid-save?
A. Yes, it is safe.
Q. Are mechanoids supported?
A. No. Except for bonded animals, the target must have RaceProps.Humanlike so that opinion is defined.
Q. Can I shorten the scan interval further?
A. You can, but the calculation runs for every Pawn on the map, so making it extremely short raises CPU load.
Q. Support buffs disappear right after loading a save?
A. This is by design. To simplify the logic, buffs are not saved to the save file; they are rebuilt by the first scan after loading.
Q. I want to (increase / decrease) the influence of Support Affinity or social skill on support level determination.
A. (Increase / decrease) the "affinity weight" or "social skill weight" in the settings.
Q. I want to eliminate the influence of opinion on support level determination.
A. "Buffs forming between Pawns who get along well" is a core concept of this mod, so there are no plans to support this for now. You can indirectly reduce its influence by raising the "support level threshold", "affinity weight", and "social skill weight" in the settings.