Show / Hide Table of Contents

Class ActionsBuilderKingdomEx

Extension to ActionsBuilder for actions involving the Kingdom and Crusade system.

Inheritance
System.Object
ActionsBuilderKingdomEx
Namespace: BlueprintCore.Actions.Builder.KingdomEx
Assembly: BlueprintCore.dll
Syntax
public static class ActionsBuilderKingdomEx
Remarks

Actions are supported using extension methods. Include the extension namespaces as needed.

When Build is called the Kingmaker.ElementsSystem.ActionList is constructed, validated, and returned. If any errors are detected by Validator they will be logged as a warning.

Do not call Build(Validator) twice on the same builder.

If a method calls for a string to represent any type of blueprint, you can pass the blueprint's Kingmaker.Blueprints.SimpleBlueprint.AssetGuid as a string or as a name you already provided using AddGuidsByName().

AreaEx Actions involving the game map, dungeons, or locations. See also KingdomEx for location related actions specifically tied to the Kingdom and Crusade system.
AVEx Actions involving audiovisual effects such as dialogs, camera, cutscenes, and sounds.
BasicEx Most game mechanics related actions not included in ContextEx.
ContextEx Most Kingmaker.UnitLogic.Mechanics.Actions.ContextAction types. Some Kingmaker.UnitLogic.Mechanics.Actions.ContextAction types are in more specific extensions such as AVEx or KingdomEx.
KingdomEx Actions involving the Kingdom and Crusade system.
MiscEx Actions without a better extension container such as achievements and CustomEvent.
NewEx Actions defined in BlueprintCore and not available in the base game.
StoryEx Actions related to the story such as companion stories, quests, name changes, and etudes.
UpgraderEx All UpgraderOnlyActions.
Apply a buff and make a melee attack:
// Provides ApplyBuff and MeleeAttack extensions
using BlueprintCore.Actions.Builder.ContextEx; 

var actionList = ActionsBuilder.New() .ApplyBuff(MyAttackBuff, duration: ContextDuration.Fixed(1)) .MeleeAttack() .Build();

Methods

| Improve this Doc View Source

AddBuffToSquad(ActionsBuilder, Blueprint<BlueprintBuffReference>, SquadFilter, GlobalMagicValue)

Adds AddBuffToSquad(ActionsBuilder, Blueprint<BlueprintBuffReference>, SquadFilter, GlobalMagicValue)

Declaration
public static ActionsBuilder AddBuffToSquad(this ActionsBuilder builder, Blueprint<BlueprintBuffReference> buff, SquadFilter filter, GlobalMagicValue hoursDuration)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> buff

Blueprint of type BlueprintBuff. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.Crusade.GlobalMagic.SquadFilter filter
Kingmaker.Crusade.GlobalMagic.GlobalMagicValue hoursDuration
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellAmplifyResistance6a3342d49c59f704a98f952c7168058e
  • GlobalSpellLichEnervationd35e171beb890534ba7180487db2acde
  • GlobalSpellTricksterMassHideousLaughterf892a4ab290579c4cb5d70050f5f6776
| Improve this Doc View Source

AddCrusadeResource(ActionsBuilder, KingdomResourcesAmount)

Adds Kingmaker.Armies.TacticalCombat.GameActions.ContextActionAddCrusadeResource

Declaration
public static ActionsBuilder AddCrusadeResource(this ActionsBuilder builder, KingdomResourcesAmount resourcesAmount)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Kingdom.KingdomResourcesAmount resourcesAmount
Returns
Type Description
ActionsBuilder
Remarks

  • ArmyRaiderResourcesForKilling14fafae0fc8e9014d9ae82328b7641ea
  • FlagTrickster3Economy4b833c6fcdfa47918927d80edf7ef9ae
  • PillageFact8d01674744b34641828b77e53e0cfb9a
| Improve this Doc View Source

AddCrusadeResources(ActionsBuilder, KingdomResourcesAmount)

Adds AddCrusadeResources(ActionsBuilder, KingdomResourcesAmount)

Declaration
public static ActionsBuilder AddCrusadeResources(this ActionsBuilder builder, KingdomResourcesAmount _resourcesAmount)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Kingdom.KingdomResourcesAmount _resourcesAmount
Returns
Type Description
ActionsBuilder
Remarks

  • Answer_000892b7ac3cfcd10424ba04f8b74f041bd8
  • CrusadeEvent5731eeeb38e7c44b159536fcefc2c236bf
  • Logistics6Spoilinga945643238004736ba604bbc55b232ae
| Improve this Doc View Source

AddGrowthBonus(ActionsBuilder, Nullable<Int32>)

Adds AddGrowthBonus(ActionsBuilder, Nullable<Int32>)

Declaration
public static ActionsBuilder AddGrowthBonus(this ActionsBuilder builder, int? bonus = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> bonus
Returns
Type Description
ActionsBuilder
Remarks

  • Leadership4FreeRecruitsEffectf05a75fb26224d04bf376466220c232d
  • Leadership4FreeRecruitsSmallEffectced9fd0a41aa48c7920fbc563b305faa
  • Leadership4RecruitsForMoraleEffect7c200175267a495b91215d91cba81888
| Improve this Doc View Source

AddMercenaryToPool(ActionsBuilder, Blueprint<BlueprintUnitReference>, Nullable<Single>)

Adds AddMercenaryToPool(ActionsBuilder, Blueprint<BlueprintUnitReference>, Nullable<Single>)

Declaration
public static ActionsBuilder AddMercenaryToPool(this ActionsBuilder builder, Blueprint<BlueprintUnitReference> unit = null, float? weight = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> unit

InfoBox: Amount to hire is setup in BlueprintUnit -&gt; ArmyUnitComponent -&gt; MercenariesBaseGrowths

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Single> weight
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
  • FlagMilitary3AxeThrowers07ee057cca794cf286be5adcf3fcbbc8
  • Obj3B_TalkWithSull5c32d5a46133ae34e9aa8aa1a9efbcbf
| Improve this Doc View Source

AddMorale(ActionsBuilder, Nullable<Int32>, Nullable<DiceFormula>, Nullable<Boolean>)

Adds AddMorale(ActionsBuilder, Nullable<Int32>, Nullable<DiceFormula>, Nullable<Boolean>)

Declaration
public static ActionsBuilder AddMorale(this ActionsBuilder builder, int? bonus = null, DiceFormula? change = null, bool? substract = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> bonus
System.Nullable<Kingmaker.RuleSystem.DiceFormula> change
System.Nullable<System.Boolean> substract
Returns
Type Description
ActionsBuilder
Remarks

  • AbductedSouls_event446e4191ab45485ca8316e4b388d4671
  • CrusadeEvent72f605189b5c4f4e189c381c79b7d7e3d7
  • TimeLoss04_Action93ddb85426414eeda6706b5e20402613
| Improve this Doc View Source

AddTacticalArmyFeature(ActionsBuilder, Nullable<ArmyProperties>, List<Blueprint<BlueprintUnitReference>>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ArmyFaction>, List<Blueprint<BlueprintFeatureReference>>, Nullable<MercenariesIncludeOption>)

Adds AddTacticalArmyFeature(ActionsBuilder, Nullable<ArmyProperties>, List<Blueprint<BlueprintUnitReference>>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ArmyFaction>, List<Blueprint<BlueprintFeatureReference>>, Nullable<MercenariesIncludeOption>)

Declaration
public static ActionsBuilder AddTacticalArmyFeature(this ActionsBuilder builder, ArmyProperties? armyTag = null, List<Blueprint<BlueprintUnitReference>> armyUnits = null, bool? byTag = null, bool? byUnits = null, ArmyFaction? faction = null, List<Blueprint<BlueprintFeatureReference>> features = null, MercenariesIncludeOption? mercenariesFilter = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<Kingmaker.Armies.Components.ArmyProperties> armyTag
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintUnitReference>> armyUnits

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> byTag
System.Nullable<System.Boolean> byUnits
System.Nullable<Kingmaker.Armies.ArmyFaction> faction
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintFeatureReference>> features

Blueprint of type BlueprintFeature. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<Kingmaker.Kingdom.Armies.MercenariesIncludeOption> mercenariesFilter
Returns
Type Description
ActionsBuilder
Remarks

  • Answer_00038df6da6c3db0b744baeca86c24fddc03
  • Event33ProfitablePurchasecd3ffefdcd5d4a4e87fe7012f2aa7b92
  • ZachariusUndeadUpgrade_level2ce15dfd148df49df892eda52eb46cf34
| Improve this Doc View Source

ArmyAdditionalAction(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>)

Adds ArmyAdditionalAction(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>)

Declaration
public static ActionsBuilder ArmyAdditionalAction(this ActionsBuilder builder, bool? canAddInBonusMoraleTurn = null, bool? inCurrentTurn = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Boolean> canAddInBonusMoraleTurn
System.Nullable<System.Boolean> inCurrentTurn

InfoBox: Can&apos;t be used on combat setup. Otherwise make sure that context target is not null

Returns
Type Description
ActionsBuilder
Remarks

  • ArmyAdditionalActionAfterKilld0781dcef7f2a3a4e896a5b107123933
  • TacticianRank1cea098cc8ed24e828ee2576185f8ba0b
  • TacticianRank35234a68ecf404794a3aee34c9416aecb
| Improve this Doc View Source

ArmyRemoveFacts(ActionsBuilder, Blueprint<BlueprintUnitFactReference>[])

Adds Kingmaker.Armies.TacticalCombat.GameActions.ContextActionArmyRemoveFacts

Declaration
public static ActionsBuilder ArmyRemoveFacts(this ActionsBuilder builder, params Blueprint<BlueprintUnitFactReference>[] factsToRemove)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference>[] factsToRemove

Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Azata5SongOfTheLastStepTeleportBuff2b1c9935ca2f4e7aaaa8b0712411be30
| Improve this Doc View Source

BlockTacticalCell(ActionsBuilder, TacticalMapObstacle.Link)

Adds BlockTacticalCell(ActionsBuilder, TacticalMapObstacle.Link)

Declaration
public static ActionsBuilder BlockTacticalCell(this ActionsBuilder builder, TacticalMapObstacle.Link obstaclePrefab = null)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Armies.TacticalCombat.Grid.TacticalMapObstacle.Link obstaclePrefab
Returns
Type Description
ActionsBuilder
Remarks

  • RangerObstacleAbilityf23bb74fff45484cbc09d54152a9f3f4
| Improve this Doc View Source

ByArmyLeader(ActionsBuilder, ActionsBuilder)

Adds Kingmaker.Armies.TacticalCombat.GameActions.ContextActionByArmyLeader

Declaration
public static ActionsBuilder ByArmyLeader(this ActionsBuilder builder, ActionsBuilder actions = null)
Parameters
Type Name Description
ActionsBuilder builder
ActionsBuilder actions
Returns
Type Description
ActionsBuilder
Remarks

  • ArmyAeon3Spikes249ad28266fc4d579e21c626bc198ea2
  • FighterPoisonousStrikeBuff26f31c37e011f4481bd3e8be1e70b6336
  • FighterPoisonousStrikeBuff3ea1b9aef227b4fceb15e936668cd0f56
| Improve this Doc View Source

ChangeArmyMorale(ActionsBuilder, GlobalMagicValue, GlobalMagicValue)

Adds ChangeArmyMorale(ActionsBuilder, GlobalMagicValue, GlobalMagicValue)

Declaration
public static ActionsBuilder ChangeArmyMorale(this ActionsBuilder builder, GlobalMagicValue changeValue, GlobalMagicValue duration)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Crusade.GlobalMagic.GlobalMagicValue changeValue
Kingmaker.Crusade.GlobalMagic.GlobalMagicValue duration
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellMarkOfTerrore2b56bb4acf390c459919baff3894ecf
| Improve this Doc View Source

ChangeKingdomMoraleMaximum(ActionsBuilder, Nullable<Int32>)

Adds ChangeKingdomMoraleMaximum(ActionsBuilder, Nullable<Int32>)

Declaration
public static ActionsBuilder ChangeKingdomMoraleMaximum(this ActionsBuilder builder, int? maxValueDelta = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> maxValueDelta

InfoBox: Can be negative

Returns
Type Description
ActionsBuilder
Remarks

  • BuildingBreweryClerics30e7244cab4c4acd9279c734d985ff93
  • BuildingBreweryWizards6da87777fa6f4a36870d473d93a75fbf
  • FlagLegend1Moraleebda3d4d2b39416dbec3dc4a7bbd4760
| Improve this Doc View Source

ChangeTacticalMorale(ActionsBuilder, ContextValue)

Adds ChangeTacticalMorale(ActionsBuilder, ContextValue)

Declaration
public static ActionsBuilder ChangeTacticalMorale(this ActionsBuilder builder, ContextValue value)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.UnitLogic.Mechanics.ContextValue value
Returns
Type Description
ActionsBuilder
Remarks

  • ArmyBlessBuffWarwarpriest015bb401d6484d3aa2984ad04b1ddcb7
  • ArmyMorale20Buff66f7b701c57e4deb95266f16541f729e
  • RitualHeroismAbilityf6d4d5b4a41d5c640b529a79e2650aa8
| Improve this Doc View Source

ClearArmyDismissalExp(ActionsBuilder)

Adds ClearArmyDismissalExp(ActionsBuilder)

Declaration
public static ActionsBuilder ClearArmyDismissalExp(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter055b01aa690202e584888dfc600a4aac0a
| Improve this Doc View Source

CreateArmyAsDismissalCompensation(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>, Nullable<Boolean>)

Adds CreateArmyAsDismissalCompensation(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>, Nullable<Boolean>)

Declaration
public static ActionsBuilder CreateArmyAsDismissalCompensation(this ActionsBuilder builder, Blueprint<BlueprintGlobalMapPoint.Reference> location = null, bool? random = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> location

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> random
Returns
Type Description
ActionsBuilder
Remarks

  • ReserveCall546e9a2a77c944b7b34f3fe46368eea6
| Improve this Doc View Source

CreateArmyFromLosses(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>, Int32, Int32, Nullable<Boolean>)

Adds CreateArmyFromLosses(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>, Int32, Int32, Nullable<Boolean>)

Declaration
public static ActionsBuilder CreateArmyFromLosses(this ActionsBuilder builder, Blueprint<BlueprintGlobalMapPoint.Reference> location, int squadsMaxCount, int sumExperience, bool? applyRecruitIncrease = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> location

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Int32 squadsMaxCount
System.Int32 sumExperience
System.Nullable<System.Boolean> applyRecruitIncrease

InfoBox: Increase squads size according to KingdomUnitsGrowthIncrease active components

Returns
Type Description
ActionsBuilder
Remarks

  • ArmyRestoration1319d42458570421e9ed4279f206ae3d6
  • ArmyRestoration371eba76e806a4136b11bb7e94a8a4c7f
  • ArmyRestoration4b44b7bb6e84e44c090edb711effb6bd4
| Improve this Doc View Source

CreateCrusaderArmy(ActionsBuilder, Blueprint<BlueprintArmyPreset.Reference>, Blueprint<BlueprintGlobalMapPoint.Reference>, Nullable<Boolean>, Blueprint<ArmyLeader.Reference>, Nullable<Single>, Nullable<Int32>)

Adds Kingmaker.Designers.EventConditionActionSystem.Actions.CreateArmy

Declaration
public static ActionsBuilder CreateCrusaderArmy(this ActionsBuilder builder, Blueprint<BlueprintArmyPreset.Reference> army, Blueprint<BlueprintGlobalMapPoint.Reference> location, bool? applyRecruitIncrease = null, Blueprint<ArmyLeader.Reference> armyLeader = null, float? armySpeed = null, int? movementPoints = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Armies.Blueprints.BlueprintArmyPreset.Reference> army

Blueprint of type BlueprintArmyPreset. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> location

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> applyRecruitIncrease

InfoBox: Increase squads size according to KingdomUnitsGrowthIncrease active components

Blueprint<Kingmaker.Armies.ArmyLeader.Reference> armyLeader

Blueprint of type BlueprintArmyLeader. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Single> armySpeed
System.Nullable<System.Int32> movementPoints
Returns
Type Description
ActionsBuilder
Remarks

  • Aeon2FireElementals63364fac363349a99dd7fe96ca86dc7c
  • Event28HostOfDrunkards3c366759ed964186ab14946c39f8a8ae
  • ZanedraAndDemons_ISanctum_dialogf4eadbafa9adad44bb46639dece46717
| Improve this Doc View Source

CreateDemonArmy(ActionsBuilder, Blueprint<BlueprintArmyPreset.Reference>, Blueprint<BlueprintGlobalMapPoint.Reference>, Blueprint<ArmyLeader.Reference>, Nullable<Single>, Blueprint<BlueprintActionList.Reference>, Boolean)

Adds Kingmaker.Designers.EventConditionActionSystem.Actions.CreateArmy

Declaration
public static ActionsBuilder CreateDemonArmy(this ActionsBuilder builder, Blueprint<BlueprintArmyPreset.Reference> army, Blueprint<BlueprintGlobalMapPoint.Reference> location, Blueprint<ArmyLeader.Reference> armyLeader = null, float? armySpeed = null, Blueprint<BlueprintActionList.Reference> completeActions = null, bool targetNearestEnemy = false)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Armies.Blueprints.BlueprintArmyPreset.Reference> army

Blueprint of type BlueprintArmyPreset. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> location

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Armies.ArmyLeader.Reference> armyLeader

Blueprint of type BlueprintArmyLeader. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Single> armySpeed
Blueprint<Kingmaker.Blueprints.BlueprintActionList.Reference> completeActions

Blueprint of type BlueprintActionList. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Boolean targetNearestEnemy
Returns
Type Description
ActionsBuilder
Remarks

  • Aeon2FireElementals63364fac363349a99dd7fe96ca86dc7c
  • Event28HostOfDrunkards3c366759ed964186ab14946c39f8a8ae
  • ZanedraAndDemons_ISanctum_dialogf4eadbafa9adad44bb46639dece46717
| Improve this Doc View Source

CreateGarrison(ActionsBuilder, Blueprint<BlueprintArmyPreset.Reference>, Blueprint<BlueprintGlobalMapPoint.Reference>, Blueprint<ArmyLeader.Reference>, Nullable<Boolean>)

Adds CreateGarrison(ActionsBuilder, Blueprint<BlueprintArmyPreset.Reference>, Blueprint<BlueprintGlobalMapPoint.Reference>, Blueprint<ArmyLeader.Reference>, Nullable<Boolean>)

Declaration
public static ActionsBuilder CreateGarrison(this ActionsBuilder builder, Blueprint<BlueprintArmyPreset.Reference> army, Blueprint<BlueprintGlobalMapPoint.Reference> location, Blueprint<ArmyLeader.Reference> armyLeader = null, bool? hasNoReward = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Armies.Blueprints.BlueprintArmyPreset.Reference> army

Blueprint of type BlueprintArmyPreset. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> location

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Armies.ArmyLeader.Reference> armyLeader

Blueprint of type BlueprintArmyLeader. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> hasNoReward

InfoBox: No Exp will be received on defeating garrison and garrison will not hide armies on GM behind it.

Returns
Type Description
ActionsBuilder
Remarks

  • KingdomMoraleFlagChapter3Siege0b405fd736f54c05b65aaee855ad585e
  • KingdomMoraleFlagChapter5Siege97f654fb595348b4a492ef17baf2af04
| Improve this Doc View Source

DecreaseRecruitsGrowth(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)

Adds DecreaseRecruitsGrowth(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)

Declaration
public static ActionsBuilder DecreaseRecruitsGrowth(this ActionsBuilder builder, int? count = null, Blueprint<BlueprintUnitReference> unit = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> count
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> unit

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
| Improve this Doc View Source

EnterKingdomInterface(ActionsBuilder, Blueprint<BlueprintAreaEnterPointReference>, ActionsBuilder)

Adds EnterKingdomInterface(ActionsBuilder, Blueprint<BlueprintAreaEnterPointReference>, ActionsBuilder)

Declaration
public static ActionsBuilder EnterKingdomInterface(this ActionsBuilder builder, Blueprint<BlueprintAreaEnterPointReference> returnPoint = null, ActionsBuilder triggerAfterAuto = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintAreaEnterPointReference> returnPoint

Blueprint of type BlueprintAreaEnterPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

ActionsBuilder triggerAfterAuto
Returns
Type Description
ActionsBuilder
Remarks

  • Area 51_CheckPassedActionse8876f8698f9bf24785b0d2af72b72c0
  • CapitalKingdomButton_Actionscd8bf939dd1348244948e058c1e10c5d
| Improve this Doc View Source

ExchangeRecruits(ActionsBuilder, Nullable<Single>, Nullable<Int32>, Blueprint<BlueprintUnitReference>, Nullable<Int32>, Blueprint<BlueprintUnitReference>)

Adds ExchangeRecruits(ActionsBuilder, Nullable<Single>, Nullable<Int32>, Blueprint<BlueprintUnitReference>, Nullable<Int32>, Blueprint<BlueprintUnitReference>)

Declaration
public static ActionsBuilder ExchangeRecruits(this ActionsBuilder builder, float? convertCoefficient = null, int? newGrowth = null, Blueprint<BlueprintUnitReference> newUnit = null, int? oldGrowth = null, Blueprint<BlueprintUnitReference> oldUnit = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Single> convertCoefficient

InfoBox: Current amount in squads and recruit pools would be multiplied by this coefficient

System.Nullable<System.Int32> newGrowth

InfoBox: New-old growth serves as parameters to calculate growth change coefficient: GrowthCoefficient = NewGrowth / OldGrowth Weekly growth = `current weekly growth` * GrowthCoefficient Note that this only affect base growth (without morale and buidlings). Result and values can be zero (means zero base growth)

Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> newUnit

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Int32> oldGrowth
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> oldUnit

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Answer_000411d0c42fc7fc4fe98ac31b1561c30364
  • Answer_0023f2742a2a32a612549aa1ad3160c50e16
  • MythicDevil_RankUp02_Option03304b0e0aa6714d4499123b0c3c4ba729
| Improve this Doc View Source

FakeSkipTime(ActionsBuilder, GlobalMagicValue)

Adds FakeSkipTime(ActionsBuilder, GlobalMagicValue)

Declaration
public static ActionsBuilder FakeSkipTime(this ActionsBuilder builder, GlobalMagicValue skipDays)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Crusade.GlobalMagic.GlobalMagicValue skipDays
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellAeonTimeManipulation669323b91db4ebc44831d514970e75a8
| Improve this Doc View Source

ForceDayTime(ActionsBuilder, Nullable<TimeOfDay>, Nullable<Boolean>, Nullable<Boolean>)

Adds ForceDayTime(ActionsBuilder, Nullable<TimeOfDay>, Nullable<Boolean>, Nullable<Boolean>)

Declaration
public static ActionsBuilder ForceDayTime(this ActionsBuilder builder, TimeOfDay? dayTime = null, bool? hasOverride = null, bool? reloadStaticIfNeeded = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<Kingmaker.AreaLogic.TimeOfDay> dayTime
System.Nullable<System.Boolean> hasOverride
System.Nullable<System.Boolean> reloadStaticIfNeeded
Returns
Type Description
ActionsBuilder
Remarks

  • DLC6_FestiveKenabres_DayState4d87554255b2410d916d7f974144d4a7
  • DLC6_UlbrigToGarden5fa2a8fc5e4d4cb3b56850674a91330f
  • UlbrigRomance_GardenGods_LightState02da1d94ab114f4c78985ca7d5b7f0fd09
| Improve this Doc View Source

GainDiceArmyDamage(ActionsBuilder, GlobalMagicValue, SquadFilter)

Adds GainDiceArmyDamage(ActionsBuilder, GlobalMagicValue, SquadFilter)

Declaration
public static ActionsBuilder GainDiceArmyDamage(this ActionsBuilder builder, GlobalMagicValue diceValue, SquadFilter filter)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Crusade.GlobalMagic.GlobalMagicValue diceValue
Kingmaker.Crusade.GlobalMagic.SquadFilter filter
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellAmbush8298c3d4c66d47a78fde4b7210cfe3d8
  • GlobalSpellAngelStormOfJustice783a66393159b534680c91bf60a374ff
  • GlobalSpellMightyTempest9e67c7f0586d6754cbf8c47ab0bc9705
| Improve this Doc View Source

GainGlobalMagicSpell(ActionsBuilder, Blueprint<BlueprintGlobalMagicSpell.Reference>)

Adds GainGlobalMagicSpell(ActionsBuilder, Blueprint<BlueprintGlobalMagicSpell.Reference>)

Declaration
public static ActionsBuilder GainGlobalMagicSpell(this ActionsBuilder builder, Blueprint<BlueprintGlobalMagicSpell.Reference> spell)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Crusade.GlobalMagic.BlueprintGlobalMagicSpell.Reference> spell

Blueprint of type BlueprintGlobalMagicSpell. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
  • FlagAngel5BestowProtectionc70913a7b8494fa3b1f0ce2fc701718a
  • FlagLich4AnimateDead47ed8cdcd0b44771afb5a2d32eb91ad4
| Improve this Doc View Source

IncreaseRecruitsGrowth(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)

Adds IncreaseRecruitsGrowth(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)

Declaration
public static ActionsBuilder IncreaseRecruitsGrowth(this ActionsBuilder builder, int? count = null, Blueprint<BlueprintUnitReference> unit = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> count
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> unit

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
| Improve this Doc View Source

IncreaseRecruitsPool(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)

Adds IncreaseRecruitsPool(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)

Declaration
public static ActionsBuilder IncreaseRecruitsPool(this ActionsBuilder builder, int? count = null, Blueprint<BlueprintUnitReference> unit = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> count
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> unit

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
| Improve this Doc View Source

KillSquadLeaders(ActionsBuilder, ContextDiceValue)

Adds Kingmaker.UnitLogic.Mechanics.Actions.ContextActionSquadUnitsKill

Declaration
public static ActionsBuilder KillSquadLeaders(this ActionsBuilder builder, ContextDiceValue count)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.UnitLogic.Mechanics.ContextDiceValue count

InfoBox: For leader, it is just count (use custom properties for formulas) For squad, it is coefficient that will be multiplied by current squad size

Returns
Type Description
ActionsBuilder
Remarks

  • ArmyPhantasmalKiller1778a8c678bc41f984bd7c0d5e52e3c9
  • ArmyUltimatePhantasmalKillere7dbab1d761e482ab46e316ce7af2d6b
  • ArmyVorpalStrikeda6d24ec5a87417f93683ac4b41b3f25
| Improve this Doc View Source

KillSquadUnits(ActionsBuilder, Single)

Adds Kingmaker.UnitLogic.Mechanics.Actions.ContextActionSquadUnitsKill

Declaration
public static ActionsBuilder KillSquadUnits(this ActionsBuilder builder, float floatCount)
Parameters
Type Name Description
ActionsBuilder builder
System.Single floatCount

InfoBox: For leader, it is just count (for formulas use Count and custom properties ) For squad, it is coefficient that will be multiplied by current squad size

Returns
Type Description
ActionsBuilder
Remarks

  • ArmyPhantasmalKiller1778a8c678bc41f984bd7c0d5e52e3c9
  • ArmyUltimatePhantasmalKillere7dbab1d761e482ab46e316ce7af2d6b
  • ArmyVorpalStrikeda6d24ec5a87417f93683ac4b41b3f25
| Improve this Doc View Source

KingdomActionAddBPRandom(ActionsBuilder, KingdomResource, Nullable<Int32>, Nullable<DiceFormula>, Nullable<Boolean>)

Adds KingdomActionAddBPRandom(ActionsBuilder, KingdomResource, Nullable<Int32>, Nullable<DiceFormula>, Nullable<Boolean>)

Declaration
public static ActionsBuilder KingdomActionAddBPRandom(this ActionsBuilder builder, KingdomResource resourceType, int? bonus = null, DiceFormula? change = null, bool? includeInEventStats = null)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Kingdom.KingdomResource resourceType
System.Nullable<System.Int32> bonus
System.Nullable<Kingmaker.RuleSystem.DiceFormula> change
System.Nullable<System.Boolean> includeInEventStats

Tooltip: When true, stat changes are stored in current event resolution history

Returns
Type Description
ActionsBuilder
Remarks

  • Amber_ReforgeProject3b4b2c6077fab6741b63b55a274bf18c
  • KnightsEmblemShortswordProject_Enchanting739656c82b61413b92f8293b949420d9
  • ZeorisDaggerRingProject_Enchanting0dc3a4e036064970857b3c3e296a7d94
| Improve this Doc View Source

KingdomActionAddBuff(ActionsBuilder, Blueprint<BlueprintKingdomBuffReference>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Blueprint<BlueprintRegionReference>)

Adds KingdomActionAddBuff(ActionsBuilder, Blueprint<BlueprintKingdomBuffReference>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Blueprint<BlueprintRegionReference>)

Declaration
public static ActionsBuilder KingdomActionAddBuff(this ActionsBuilder builder, Blueprint<BlueprintKingdomBuffReference> buff, bool? applyToRegion = null, bool? copyToAdjacentRegions = null, int? overrideDuration = null, Blueprint<BlueprintRegionReference> region = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintKingdomBuffReference> buff

Blueprint of type BlueprintKingdomBuff. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> applyToRegion

InfoBox: If true applies buff to region from Region field or (if it&apos;s null) to region for context (settlement, event or parent buff)

System.Nullable<System.Boolean> copyToAdjacentRegions
System.Nullable<System.Int32> overrideDuration
Blueprint<Kingmaker.Blueprints.BlueprintRegionReference> region

Blueprint of type BlueprintRegion. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Aeon2FireElementals63364fac363349a99dd7fe96ca86dc7c
  • Diplomacy8Buildings3725744cd17f464d8f2bf31a480e3045
  • Trickster5ThugPaladine83a6a99081d467fb56d8afe1de6a4d5
| Improve this Doc View Source

KingdomActionAddMercenaryReroll(ActionsBuilder, Nullable<Int32>)

Adds KingdomActionAddMercenaryReroll(ActionsBuilder, Nullable<Int32>)

Declaration
public static ActionsBuilder KingdomActionAddMercenaryReroll(this ActionsBuilder builder, int? freeRerollsToAdd = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> freeRerollsToAdd
Returns
Type Description
ActionsBuilder
Remarks

  • PF-2504596a8a9838d55847cf8660de463fb26659
| Improve this Doc View Source

KingdomActionAddRandomBuff(ActionsBuilder, List<Blueprint<BlueprintKingdomBuffReference>>, Nullable<Int32>)

Adds KingdomActionAddRandomBuff(ActionsBuilder, List<Blueprint<BlueprintKingdomBuffReference>>, Nullable<Int32>)

Declaration
public static ActionsBuilder KingdomActionAddRandomBuff(this ActionsBuilder builder, List<Blueprint<BlueprintKingdomBuffReference>> buffs = null, int? overrideDurationDays = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintKingdomBuffReference>> buffs

Blueprint of type BlueprintKingdomBuff. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Int32> overrideDurationDays
Returns
Type Description
ActionsBuilder
Remarks

  • FlagTrickster3Economy4b833c6fcdfa47918927d80edf7ef9ae
  • FlagTrickster3Everything7886a2f17fed4514ba7d2a53730f38bf
  • FlagTrickster6Equipmentf0a1778be6af47c58e32e125810ea3cd
| Improve this Doc View Source

KingdomActionChangeToAutoCrusade(ActionsBuilder)

Adds KingdomActionChangeToAutoCrusade(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionChangeToAutoCrusade(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • KingdomMoraleFlagChapter3Siege0b405fd736f54c05b65aaee855ad585e
  • KingdomMoraleFlagChapter5Siege97f654fb595348b4a492ef17baf2af04
| Improve this Doc View Source

KingdomActionConquerRegion(ActionsBuilder, Blueprint<BlueprintRegionReference>)

Adds KingdomActionConquerRegion(ActionsBuilder, Blueprint<BlueprintRegionReference>)

Declaration
public static ActionsBuilder KingdomActionConquerRegion(this ActionsBuilder builder, Blueprint<BlueprintRegionReference> region)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintRegionReference> region

Blueprint of type BlueprintRegion. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
  • KingdomMoraleFlagChapter3Regionsd04ff8f15c034f56bcfbad952a74bdb3
  • KingdomMoraleFlagChapter5Regionsb01624ee06444738964b678259f31a20
| Improve this Doc View Source

KingdomActionDestroyAllSettlements(ActionsBuilder)

Adds KingdomActionDestroyAllSettlements(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionDestroyAllSettlements(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • FlagLocust328fc139938f4582a605917a729169f3
| Improve this Doc View Source

KingdomActionDisable(ActionsBuilder)

Adds KingdomActionDisable(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionDisable(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
| Improve this Doc View Source

KingdomActionEnable(ActionsBuilder)

Adds KingdomActionEnable(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionEnable(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter055b01aa690202e584888dfc600a4aac0a
| Improve this Doc View Source

KingdomActionFillSettlement(ActionsBuilder, Blueprint<SettlementBuildListReference>, Blueprint<BlueprintSettlement.Reference>)

Adds KingdomActionFillSettlement(ActionsBuilder, Blueprint<SettlementBuildListReference>, Blueprint<BlueprintSettlement.Reference>)

Declaration
public static ActionsBuilder KingdomActionFillSettlement(this ActionsBuilder builder, Blueprint<SettlementBuildListReference> buildList, Blueprint<BlueprintSettlement.Reference> specificSettlement)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.SettlementBuildListReference> buildList

Blueprint of type SettlementBuildList. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Kingdom.BlueprintSettlement.Reference> specificSettlement

Blueprint of type BlueprintSettlement. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
| Improve this Doc View Source

KingdomActionFinishRandomBuilding(ActionsBuilder)

Adds KingdomActionFinishRandomBuilding(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionFinishRandomBuilding(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • FlagTrickster3Economy4b833c6fcdfa47918927d80edf7ef9ae
  • FlagTrickster3Everything7886a2f17fed4514ba7d2a53730f38bf
| Improve this Doc View Source

KingdomActionFoundKingdom(ActionsBuilder)

Adds KingdomActionFoundKingdom(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionFoundKingdom(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
| Improve this Doc View Source

KingdomActionFoundSettlement(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>, Blueprint<BlueprintSettlement.Reference>)

Adds KingdomActionFoundSettlement(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>, Blueprint<BlueprintSettlement.Reference>)

Declaration
public static ActionsBuilder KingdomActionFoundSettlement(this ActionsBuilder builder, Blueprint<BlueprintGlobalMapPoint.Reference> location, Blueprint<BlueprintSettlement.Reference> settlement)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> location

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Kingdom.BlueprintSettlement.Reference> settlement

Blueprint of type BlueprintSettlement. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
  • CreateSettlementIncubusLair2d5d98015300319409a9b79f4bc31e0e
  • KingdomMoraleFlagChapter5Regionsb01624ee06444738964b678259f31a20
| Improve this Doc View Source

KingdomActionGainLeaderExperience(ActionsBuilder, IntEvaluator, Nullable<Single>)

Adds KingdomActionGainLeaderExperience(ActionsBuilder, IntEvaluator, Nullable<Single>)

Declaration
public static ActionsBuilder KingdomActionGainLeaderExperience(this ActionsBuilder builder, IntEvaluator value, float? multiplierCoefficient = null)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.ElementsSystem.IntEvaluator value
System.Nullable<System.Single> multiplierCoefficient
Returns
Type Description
ActionsBuilder
Remarks

  • Event64SecurityTraining67217afddedc419481c7cb58b5379c6d
  • Leadership8LeaderEXP374dcca26ef2441bab95ceab14350428
  • MythicDragon_RankUp01_Option02aa700189d693a4c4c86693e5ec5d5b69
| Improve this Doc View Source

KingdomActionGetPartyGoldByUnitsCount(ActionsBuilder, Nullable<Single>, Nullable<Int32>)

Adds KingdomActionGetPartyGoldByUnitsCount(ActionsBuilder, Nullable<Single>, Nullable<Int32>)

Declaration
public static ActionsBuilder KingdomActionGetPartyGoldByUnitsCount(this ActionsBuilder builder, float? coefficient = null, int? goldPerUnit = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Single> coefficient

InfoBox: Formula: Gold to add = GoldPerUnit * (All units count) * Coefficient

System.Nullable<System.Int32> goldPerUnit
Returns
Type Description
ActionsBuilder
Remarks

  • FlagTrickster1Money6c97784129e5492fa08496f2d4139f22
| Improve this Doc View Source

KingdomActionGetResourcesPercent(ActionsBuilder, Nullable<Int32>, Nullable<Single>, Nullable<KingdomResource>)

Adds KingdomActionGetResourcesPercent(ActionsBuilder, Nullable<Int32>, Nullable<Single>, Nullable<KingdomResource>)

Declaration
public static ActionsBuilder KingdomActionGetResourcesPercent(this ActionsBuilder builder, int? maxResourceCountGained = null, float? percent = null, KingdomResource? resourceType = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> maxResourceCountGained

InfoBox: Non-positive value means no limits

System.Nullable<System.Single> percent
System.Nullable<Kingmaker.Kingdom.KingdomResource> resourceType

InfoBox: None - to get all resources

Returns
Type Description
ActionsBuilder
Remarks

  • Logistics6Accumulation86e157a49e15496a9deac395011061be
| Improve this Doc View Source

KingdomActionGiveLoot(ActionsBuilder, LootEntry[])

Adds KingdomActionGiveLoot(ActionsBuilder, LootEntry[])

Declaration
public static ActionsBuilder KingdomActionGiveLoot(this ActionsBuilder builder, params LootEntry[] loot)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Blueprints.Loot.LootEntry[] loot
Returns
Type Description
ActionsBuilder
Remarks

  • GiftFromStranger_Event6c8020c5f9f44c4f9c99d6b10d6d3238
| Improve this Doc View Source

KingdomActionImproveSettlement(ActionsBuilder, Blueprint<BlueprintSettlement.Reference>, Nullable<SettlementState.LevelType>)

Adds KingdomActionImproveSettlement(ActionsBuilder, Blueprint<BlueprintSettlement.Reference>, Nullable<SettlementState.LevelType>)

Declaration
public static ActionsBuilder KingdomActionImproveSettlement(this ActionsBuilder builder, Blueprint<BlueprintSettlement.Reference> specificSettlement = null, SettlementState.LevelType? toLevel = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Kingdom.BlueprintSettlement.Reference> specificSettlement

Blueprint of type BlueprintSettlement. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<Kingmaker.Kingdom.Settlements.SettlementState.LevelType> toLevel
Returns
Type Description
ActionsBuilder
Remarks

  • UpgradeToCityecb59fbdd3354dfab7ba944ec79fabea
  • UpgradeToTown67dc50f3f87746528d66302e9a401975
| Improve this Doc View Source

KingdomActionImproveStat(ActionsBuilder, Nullable<KingdomStats.Type>)

Adds KingdomActionImproveStat(ActionsBuilder, Nullable<KingdomStats.Type>)

Declaration
public static ActionsBuilder KingdomActionImproveStat(this ActionsBuilder builder, KingdomStats.Type? statType = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<Kingmaker.Kingdom.KingdomStats.Type> statType
Returns
Type Description
ActionsBuilder
Remarks

  • Aeon2FireElementals63364fac363349a99dd7fe96ca86dc7c
  • BaphometFireRobeProject_Enchanting06e32ef321fa400698013b3b80da5fc8
  • ZeorisDaggerRingProject_Enchanting0dc3a4e036064970857b3c3e296a7d94
| Improve this Doc View Source

KingdomActionModifyStats(ActionsBuilder, KingdomStats.Changes, Nullable<Boolean>)

Adds KingdomActionModifyStats(ActionsBuilder, KingdomStats.Changes, Nullable<Boolean>)

Declaration
public static ActionsBuilder KingdomActionModifyStats(this ActionsBuilder builder, KingdomStats.Changes changes = null, bool? includeInEventStats = null)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Kingdom.KingdomStats.Changes changes
System.Nullable<System.Boolean> includeInEventStats

Tooltip: When true, stat changes are stored in current event resolution history

Returns
Type Description
ActionsBuilder
Remarks

  • Answer_0054d6e30610613f65b4997c592f622f80f1
  • CrusadeEvent637ef34faced78457a97fa47de371d7c18
  • SarcorianElders_Ring1375b1d6ec7842668d5c340c6fd77259
| Improve this Doc View Source

KingdomActionNextChapter(ActionsBuilder, Nullable<Int32>)

Adds KingdomActionNextChapter(ActionsBuilder, Nullable<Int32>)

Declaration
public static ActionsBuilder KingdomActionNextChapter(this ActionsBuilder builder, int? chapterNumber = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> chapterNumber
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
  • Chapter055b01aa690202e584888dfc600a4aac0a
  • PF-218150d7696062df7c4b948e1ce3e1b769fc9a
| Improve this Doc View Source

KingdomActionRemoveAllLeaders(ActionsBuilder)

Adds KingdomActionRemoveAllLeaders(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionRemoveAllLeaders(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • FlagLocust328fc139938f4582a605917a729169f3
| Improve this Doc View Source

KingdomActionRemoveBuff(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintKingdomBuffReference>, Blueprint<BlueprintRegionReference>)

Adds KingdomActionRemoveBuff(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintKingdomBuffReference>, Blueprint<BlueprintRegionReference>)

Declaration
public static ActionsBuilder KingdomActionRemoveBuff(this ActionsBuilder builder, bool? allBuffs = null, bool? applyToRegion = null, Blueprint<BlueprintKingdomBuffReference> blueprint = null, Blueprint<BlueprintRegionReference> region = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Boolean> allBuffs
System.Nullable<System.Boolean> applyToRegion
Blueprint<Kingmaker.Blueprints.BlueprintKingdomBuffReference> blueprint

Blueprint of type BlueprintKingdomBuff. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Blueprints.BlueprintRegionReference> region

Blueprint of type BlueprintRegion. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
  • MythicAzata_RankUp03_Option016ba3c9a71e2676e44af20c8c9449db43
  • QuatermasterErrandTracker_buff1ed15e9a59ec4524a8f301a20c88d20f
| Improve this Doc View Source

KingdomActionRemoveEvent(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintKingdomEventBaseReference>)

Adds KingdomActionRemoveEvent(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintKingdomEventBaseReference>)

Declaration
public static ActionsBuilder KingdomActionRemoveEvent(this ActionsBuilder builder, bool? allIfMultiple = null, bool? cancelIfInProgress = null, Blueprint<BlueprintKingdomEventBaseReference> eventBlueprint = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Boolean> allIfMultiple
System.Nullable<System.Boolean> cancelIfInProgress
Blueprint<Kingmaker.Blueprints.BlueprintKingdomEventBaseReference> eventBlueprint

Blueprint of type BlueprintKingdomEventBase. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Add4_GotoMoltenScarf6694c696284e2046b0f064f83c320c2
  • KTC_LichRankUp_2_Notification4abb17b17bb56db40b52e116b69a2a16
  • WenduagKTC_WenduagComeNeathholm_Notification2cd5a9a5a2531f645acdd5f72ef3218e
| Improve this Doc View Source

KingdomActionResolveCrusadeEvent(ActionsBuilder, Blueprint<BlueprintCrusadeEvent.Reference>, Nullable<Int32>)

Adds KingdomActionResolveCrusadeEvent(ActionsBuilder, Blueprint<BlueprintCrusadeEvent.Reference>, Nullable<Int32>)

Declaration
public static ActionsBuilder KingdomActionResolveCrusadeEvent(this ActionsBuilder builder, Blueprint<BlueprintCrusadeEvent.Reference> eventBlueprint = null, int? solutionIndex = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Kingdom.Blueprints.BlueprintCrusadeEvent.Reference> eventBlueprint

Blueprint of type BlueprintCrusadeEvent. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Int32> solutionIndex
Returns
Type Description
ActionsBuilder
Remarks

  • AutoKingdomProjectsControllerCh3b31b96dd34f8415382c8ec26787364d3
  • AutoKingdomProjectsControllerCh5cc52c843d1564064aa892f78f1e81e09
| Improve this Doc View Source

KingdomActionResolveEvent(ActionsBuilder, Nullable<Alignment>, Blueprint<BlueprintKingdomEventReference>, Nullable<Boolean>, Nullable<EventResult.MarginType>)

Adds KingdomActionResolveEvent(ActionsBuilder, Nullable<Alignment>, Blueprint<BlueprintKingdomEventReference>, Nullable<Boolean>, Nullable<EventResult.MarginType>)

Declaration
public static ActionsBuilder KingdomActionResolveEvent(this ActionsBuilder builder, Alignment? alignment = null, Blueprint<BlueprintKingdomEventReference> eventBlueprint = null, bool? finalResolve = null, EventResult.MarginType? result = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<Kingmaker.Enums.Alignment> alignment
Blueprint<Kingmaker.Blueprints.BlueprintKingdomEventReference> eventBlueprint

Blueprint of type BlueprintKingdomEvent. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> finalResolve
System.Nullable<Kingmaker.Kingdom.Blueprints.EventResult.MarginType> result
Returns
Type Description
ActionsBuilder
Remarks

  • Daeran_Q3_KTC_LiotrSetsTrap2d5236c9c51ac1c4aa2d1591e4bc6634
  • KTC_LocustRankUp_380ce567699864e45b5258c6f1fba89ca
  • Timer_Before_KTC_TeachMeHowToBreathe4edd42f27b29cb747b8025b6c608fb29
| Improve this Doc View Source

KingdomActionResolveProject(ActionsBuilder, Blueprint<BlueprintKingdomProjectReference>)

Adds KingdomActionResolveProject(ActionsBuilder, Blueprint<BlueprintKingdomProjectReference>)

Declaration
public static ActionsBuilder KingdomActionResolveProject(this ActionsBuilder builder, Blueprint<BlueprintKingdomProjectReference> eventBlueprint = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintKingdomProjectReference> eventBlueprint

Blueprint of type BlueprintKingdomProject. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • AeonAutoKingdomDelay7e50ed6c545e4fc486680348003de3cd
  • PF-233878156061427b524196bf93123488e66c42
  • TricksterAutoKingdomDelayc70a8c4b5c2c4f69be373b2d05640b3b
| Improve this Doc View Source

KingdomActionSetNotVisible(ActionsBuilder)

Adds KingdomActionSetNotVisible(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionSetNotVisible(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • FlagLocust328fc139938f4582a605917a729169f3
| Improve this Doc View Source

KingdomActionSetVisible(ActionsBuilder)

Adds KingdomActionSetVisible(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomActionSetVisible(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
| Improve this Doc View Source

KingdomActionSpawnRandomArmy(ActionsBuilder, List<Blueprint<BlueprintArmyPresetReference>>, Nullable<ArmyFaction>, List<Blueprint<BlueprintGlobalMapPoint.Reference>>)

Adds KingdomActionSpawnRandomArmy(ActionsBuilder, List<Blueprint<BlueprintArmyPresetReference>>, Nullable<ArmyFaction>, List<Blueprint<BlueprintGlobalMapPoint.Reference>>)

Declaration
public static ActionsBuilder KingdomActionSpawnRandomArmy(this ActionsBuilder builder, List<Blueprint<BlueprintArmyPresetReference>> armies = null, ArmyFaction? faction = null, List<Blueprint<BlueprintGlobalMapPoint.Reference>> locations = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintArmyPresetReference>> armies

Blueprint of type BlueprintArmyPreset. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<Kingmaker.Armies.ArmyFaction> faction
System.Collections.Generic.List<Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference>> locations

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Leadership8BigArmyDecreaseMorale8d8138b95569410bba903e1355da0d9d
| Improve this Doc View Source

KingdomActionStartEvent(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Blueprint<BlueprintKingdomEventBaseReference>, Nullable<Boolean>, Blueprint<BlueprintRegionReference>, Nullable<Boolean>)

Adds KingdomActionStartEvent(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Blueprint<BlueprintKingdomEventBaseReference>, Nullable<Boolean>, Blueprint<BlueprintRegionReference>, Nullable<Boolean>)

Declaration
public static ActionsBuilder KingdomActionStartEvent(this ActionsBuilder builder, bool? checkTriggerImmediately = null, bool? checkTriggerOnStart = null, int? delayDays = null, Blueprint<BlueprintKingdomEventBaseReference> eventValue = null, bool? randomRegion = null, Blueprint<BlueprintRegionReference> region = null, bool? startNextMonth = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Boolean> checkTriggerImmediately
System.Nullable<System.Boolean> checkTriggerOnStart
System.Nullable<System.Int32> delayDays
Blueprint<Kingmaker.Blueprints.BlueprintKingdomEventBaseReference> eventValue

Blueprint of type BlueprintKingdomEventBase. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> randomRegion
Blueprint<Kingmaker.Blueprints.BlueprintRegionReference> region

Blueprint of type BlueprintRegion. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> startNextMonth
Returns
Type Description
ActionsBuilder
Remarks

  • Add3_SearchMoltenScar39a11378f06fff740b8211686247d943
  • KTC_FestivalInKenabres_Notification4ba26a5c4f164b18b249968f52879d02
  • ZeorisDaggerRingProject_Enchanting0dc3a4e036064970857b3c3e296a7d94
| Improve this Doc View Source

KingdomActionUnlockArtisan(ActionsBuilder, Blueprint<BlueprintKingdomArtisanReference>)

Adds KingdomActionUnlockArtisan(ActionsBuilder, Blueprint<BlueprintKingdomArtisanReference>)

Declaration
public static ActionsBuilder KingdomActionUnlockArtisan(this ActionsBuilder builder, Blueprint<BlueprintKingdomArtisanReference> artisan = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintKingdomArtisanReference> artisan

Blueprint of type BlueprintKingdomArtisan. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Outskirts_Enter_Preset7a43d75fcb44054448d7a182bc614874
  • SouthNarlmarches_Enter_Presetb7cf402555915ec489da07d87896d808
  • Varnhold_Water_Enter_Preset90c7f4a6e036db247bb0d460c025336c
| Improve this Doc View Source

KingdomAddMoraleFlags(ActionsBuilder, Blueprint<BlueprintKingdomMoraleFlag.Reference>[])

Adds KingdomAddMoraleFlags(ActionsBuilder, Blueprint<BlueprintKingdomMoraleFlag.Reference>[])

Declaration
public static ActionsBuilder KingdomAddMoraleFlags(this ActionsBuilder builder, params Blueprint<BlueprintKingdomMoraleFlag.Reference>[] newFlags)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Kingdom.Flags.BlueprintKingdomMoraleFlag.Reference>[] newFlags

Blueprint of type BlueprintKingdomMoraleFlag. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
  • Chapter055b01aa690202e584888dfc600a4aac0a
| Improve this Doc View Source

KingdomFlagIncrement(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintKingdomMoraleFlag.Reference>)

Adds KingdomFlagIncrement(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintKingdomMoraleFlag.Reference>)

Declaration
public static ActionsBuilder KingdomFlagIncrement(this ActionsBuilder builder, int? increment = null, Blueprint<BlueprintKingdomMoraleFlag.Reference> targetFlag = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> increment

InfoBox: Can be negative

Blueprint<Kingmaker.Kingdom.Flags.BlueprintKingdomMoraleFlag.Reference> targetFlag

Blueprint of type BlueprintKingdomMoraleFlag. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
  • KingdomMoraleFlagChapter3244ac0d9e51646a485443bc3bc9a0df4
  • MoraleFlagSiegeChapter5Controller_buff30d599366a9e46fe992f9ca6fdf9365a
| Improve this Doc View Source

KingdomIncreaseIncome(ActionsBuilder, Nullable<Int32>, Nullable<KingdomResource>)

Adds KingdomIncreaseIncome(ActionsBuilder, Nullable<Int32>, Nullable<KingdomResource>)

Declaration
public static ActionsBuilder KingdomIncreaseIncome(this ActionsBuilder builder, int? bonus = null, KingdomResource? resourceType = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> bonus
System.Nullable<Kingmaker.Kingdom.KingdomResource> resourceType
Returns
Type Description
ActionsBuilder
Remarks

  • Event14RansomFromTheMountainKings782bec7bd7a3403ea18c2b5428529807
  • Event73NorthernHunters6096c97970834a02b6d76a59507d4951
  • SarcorianElders_Ring1375b1d6ec7842668d5c340c6fd77259
| Improve this Doc View Source

KingdomMoraleUpdateIncome(ActionsBuilder)

Adds KingdomMoraleUpdateIncome(ActionsBuilder)

Declaration
public static ActionsBuilder KingdomMoraleUpdateIncome(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • PF-21780131ce5bf15c194b2eac8695fa8b13105b
| Improve this Doc View Source

KingdomRemoveMoraleFlags(ActionsBuilder, Blueprint<BlueprintKingdomMoraleFlag.Reference>[])

Adds KingdomRemoveMoraleFlags(ActionsBuilder, Blueprint<BlueprintKingdomMoraleFlag.Reference>[])

Declaration
public static ActionsBuilder KingdomRemoveMoraleFlags(this ActionsBuilder builder, params Blueprint<BlueprintKingdomMoraleFlag.Reference>[] flagsToRemove)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Kingdom.Flags.BlueprintKingdomMoraleFlag.Reference>[] flagsToRemove

Blueprint of type BlueprintKingdomMoraleFlag. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
  • Chapter055b01aa690202e584888dfc600a4aac0a
  • FlagLocust328fc139938f4582a605917a729169f3
| Improve this Doc View Source

KingdomSetFlagState(ActionsBuilder, Nullable<Int32>, Nullable<KingdomMoraleFlag.State>, Blueprint<BlueprintKingdomMoraleFlag.Reference>)

Adds KingdomSetFlagState(ActionsBuilder, Nullable<Int32>, Nullable<KingdomMoraleFlag.State>, Blueprint<BlueprintKingdomMoraleFlag.Reference>)

Declaration
public static ActionsBuilder KingdomSetFlagState(this ActionsBuilder builder, int? maxDays = null, KingdomMoraleFlag.State? state = null, Blueprint<BlueprintKingdomMoraleFlag.Reference> targetFlag = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> maxDays
System.Nullable<Kingmaker.Kingdom.Flags.KingdomMoraleFlag.State> state
Blueprint<Kingmaker.Kingdom.Flags.BlueprintKingdomMoraleFlag.Reference> targetFlag

Blueprint of type BlueprintKingdomMoraleFlag. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
  • KingdomMoraleFlagChapter3Siege0b405fd736f54c05b65aaee855ad585e
  • PF-23623378ddb7dcceaf4dd5b6178807c258909c
| Improve this Doc View Source

ManuallySetGlobalSpellCooldown(ActionsBuilder, Blueprint<BlueprintGlobalMagicSpell.Reference>)

Adds ManuallySetGlobalSpellCooldown(ActionsBuilder, Blueprint<BlueprintGlobalMagicSpell.Reference>)

Declaration
public static ActionsBuilder ManuallySetGlobalSpellCooldown(this ActionsBuilder builder, Blueprint<BlueprintGlobalMagicSpell.Reference> spell)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Crusade.GlobalMagic.BlueprintGlobalMagicSpell.Reference> spell

Blueprint of type BlueprintGlobalMagicSpell. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellTeleportParty8accb3511e0b4eeb822c5867a3dde1e1
| Improve this Doc View Source

OpenTeleportationInterface(ActionsBuilder, ActionsBuilder)

Adds OpenTeleportationInterface(ActionsBuilder, ActionsBuilder)

Declaration
public static ActionsBuilder OpenTeleportationInterface(this ActionsBuilder builder, ActionsBuilder onTeleportActions)
Parameters
Type Name Description
ActionsBuilder builder
ActionsBuilder onTeleportActions
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellTeleportParty8accb3511e0b4eeb822c5867a3dde1e1
| Improve this Doc View Source

RecruiteArmyLeader(ActionsBuilder, Blueprint<ArmyLeader.Reference>)

Adds RecruiteArmyLeader(ActionsBuilder, Blueprint<ArmyLeader.Reference>)

Declaration
public static ActionsBuilder RecruiteArmyLeader(this ActionsBuilder builder, Blueprint<ArmyLeader.Reference> armyLeader = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Armies.ArmyLeader.Reference> armyLeader

Blueprint of type BlueprintArmyLeader. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Answer_0016e2e87e30b89549f43aa480d406920971
  • Cue_0009ec96aeab93d54e56941585e208f78c1e
  • Objective_0001f995e2e22a4d41449b90bde8b60b05a5
| Improve this Doc View Source

ReduceNegativeMorale(ActionsBuilder, Nullable<Int32>)

Adds ReduceNegativeMorale(ActionsBuilder, Nullable<Int32>)

Declaration
public static ActionsBuilder ReduceNegativeMorale(this ActionsBuilder builder, int? value = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> value
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter055b01aa690202e584888dfc600a4aac0a
| Improve this Doc View Source

RemoveCrusadeResources(ActionsBuilder, Nullable<KingdomResourcesAmount>)

Adds RemoveCrusadeResources(ActionsBuilder, Nullable<KingdomResourcesAmount>)

Declaration
public static ActionsBuilder RemoveCrusadeResources(this ActionsBuilder builder, KingdomResourcesAmount? resourcesAmount = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<Kingmaker.Kingdom.KingdomResourcesAmount> resourcesAmount
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter055b01aa690202e584888dfc600a4aac0a
  • CrusadeEvent42efee1f0851084652a0f42b38557ef8e1
  • CrusadeEvent8630a96e0fab3d4db59203180884104d7b
| Improve this Doc View Source

RemoveDemonArmies(ActionsBuilder, Blueprint<BlueprintArmyPresetReference>, Nullable<ArmyType>)

Adds RemoveDemonArmies(ActionsBuilder, Blueprint<BlueprintArmyPresetReference>, Nullable<ArmyType>)

Declaration
public static ActionsBuilder RemoveDemonArmies(this ActionsBuilder builder, Blueprint<BlueprintArmyPresetReference> armyPreset = null, ArmyType? armyType = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintArmyPresetReference> armyPreset

Blueprint of type BlueprintArmyPreset. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<Kingmaker.Armies.Blueprints.ArmyType> armyType
Returns
Type Description
ActionsBuilder
Remarks

  • Chapter0315e0048c7daf0ac4999c2313b58df0e3
  • PF-3279387d2c63b906d847008193e873e265af5e
| Improve this Doc View Source

RemoveGarrison(ActionsBuilder, Nullable<Boolean>, Blueprint<BlueprintGlobalMapPoint.Reference>)

Adds RemoveGarrison(ActionsBuilder, Nullable<Boolean>, Blueprint<BlueprintGlobalMapPoint.Reference>)

Declaration
public static ActionsBuilder RemoveGarrison(this ActionsBuilder builder, bool? handleAsGarrisonDefeated = null, Blueprint<BlueprintGlobalMapPoint.Reference> location = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Boolean> handleAsGarrisonDefeated
Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> location

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • RemoveArmiesFromGlobalmapd10fae0930c412c4290575a98e3d17b7
  • WorldWoundGMChapter3NearDrezenPreset6610566be22fe264eb3d652bfb6dfedb
  • WorldWoundGMChapter5_SE_Test_Lann810e4c69f3154066ba977654614b4573
| Improve this Doc View Source

RemoveGlobalMagicSpell(ActionsBuilder, Blueprint<BlueprintGlobalMagicSpell.Reference>)

Adds RemoveGlobalMagicSpell(ActionsBuilder, Blueprint<BlueprintGlobalMagicSpell.Reference>)

Declaration
public static ActionsBuilder RemoveGlobalMagicSpell(this ActionsBuilder builder, Blueprint<BlueprintGlobalMagicSpell.Reference> spell)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Crusade.GlobalMagic.BlueprintGlobalMagicSpell.Reference> spell

Blueprint of type BlueprintGlobalMagicSpell. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • FlagAngel3Justice3c3c9b5f8cb74663bda5e092c1f6ecc8
  • FlagLich4AnimateDead47ed8cdcd0b44771afb5a2d32eb91ad4
  • GlobalSpellRelicKeeperGaine70e64a830064439b0c22032a8a3c6ac
| Improve this Doc View Source

RemoveMercenaryFromPool(ActionsBuilder, Blueprint<BlueprintUnitReference>)

Adds RemoveMercenaryFromPool(ActionsBuilder, Blueprint<BlueprintUnitReference>)

Declaration
public static ActionsBuilder RemoveMercenaryFromPool(this ActionsBuilder builder, Blueprint<BlueprintUnitReference> unit = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> unit

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter055b01aa690202e584888dfc600a4aac0a
  • FlagAzata3Priest4be4f82560f547b2b7e30663980bc861
  • RegillNotInParty_KickedOut2b2cfaa1727070c43b10729920112730
| Improve this Doc View Source

RemoveUnitFromArmy(ActionsBuilder, ArmiesEvaluator, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<RemoveUnitFromArmy.RemoveUnitFromArmyMode>, Nullable<Single>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, UnitTag[], UnitTag[], Blueprint<BlueprintUnitReference>)

Adds RemoveUnitFromArmy(ActionsBuilder, ArmiesEvaluator, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<RemoveUnitFromArmy.RemoveUnitFromArmyMode>, Nullable<Single>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, UnitTag[], UnitTag[], Blueprint<BlueprintUnitReference>)

Declaration
public static ActionsBuilder RemoveUnitFromArmy(this ActionsBuilder builder, ArmiesEvaluator armies = null, int? experience = null, bool? limitUnitExperienceMaximum = null, bool? limitUnitExperienceMinimum = null, RemoveUnitFromArmy.RemoveUnitFromArmyMode? mode = null, float? percentage = null, bool? removeCheapestUnit = null, bool? removeSpecificUnit = null, int? unitExperienceMaximum = null, int? unitExperienceMinimum = null, UnitTag[] unitTagBlacklist = null, UnitTag[] unitTagWhitelist = null, Blueprint<BlueprintUnitReference> unitToRemove = null)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.ElementsSystem.ArmiesEvaluator armies
System.Nullable<System.Int32> experience

Tooltip: Total experience to remove from the armies. If it exceeds the total price of the army -- the whole army will be removed.

System.Nullable<System.Boolean> limitUnitExperienceMaximum
System.Nullable<System.Boolean> limitUnitExperienceMinimum
System.Nullable<Kingmaker.Designers.EventConditionActionSystem.Actions.RemoveUnitFromArmy.RemoveUnitFromArmyMode> mode
System.Nullable<System.Single> percentage

Tooltip: Total experience percentage to remove from the armies. 100% will remove all units, 50% will halven them, 0% will do nothing.

System.Nullable<System.Boolean> removeCheapestUnit
System.Nullable<System.Boolean> removeSpecificUnit
System.Nullable<System.Int32> unitExperienceMaximum

Tooltip: Only units cheaper than this threshold will be considered for removal.

System.Nullable<System.Int32> unitExperienceMinimum

Tooltip: Only units pricier than this threshold will be considered for removal.

Kingmaker.Enums.UnitTag[] unitTagBlacklist

Tooltip: If set then only units without these tags will be considered for removal.

Kingmaker.Enums.UnitTag[] unitTagWhitelist

Tooltip: If set then only units with any of these tags will be considered for removal.

Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> unitToRemove

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

ComponentName: Actions/RemoveUnitFromArmy

  • Chapter055b01aa690202e584888dfc600a4aac0a
  • Cue_00519d75b86f23a4ac24ab1ccd8a74859fc1
  • WorldWoundGMChapter5_SE_Test_Lann810e4c69f3154066ba977654614b4573
| Improve this Doc View Source

RemoveUnitsByExp(ActionsBuilder, GlobalMagicValue, SquadFilter)

Adds RemoveUnitsByExp(ActionsBuilder, GlobalMagicValue, SquadFilter)

Declaration
public static ActionsBuilder RemoveUnitsByExp(this ActionsBuilder builder, GlobalMagicValue expValue, SquadFilter filter)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Crusade.GlobalMagic.GlobalMagicValue expValue
Kingmaker.Crusade.GlobalMagic.SquadFilter filter
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellLegendBanish273ad88db15c06241849f76f6623099d
| Improve this Doc View Source

RepairLeaderMana(ActionsBuilder, GlobalMagicValue)

Adds RepairLeaderMana(ActionsBuilder, GlobalMagicValue)

Declaration
public static ActionsBuilder RepairLeaderMana(this ActionsBuilder builder, GlobalMagicValue value)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Crusade.GlobalMagic.GlobalMagicValue value
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellReplenishe3a0fc7210f02f34daff21f6df42d246
| Improve this Doc View Source

ReplaceBuildings(ActionsBuilder, Blueprint<BlueprintSettlementBuildingReference>, Blueprint<BlueprintSettlementBuildingReference>)

Adds ReplaceBuildings(ActionsBuilder, Blueprint<BlueprintSettlementBuildingReference>, Blueprint<BlueprintSettlementBuildingReference>)

Declaration
public static ActionsBuilder ReplaceBuildings(this ActionsBuilder builder, Blueprint<BlueprintSettlementBuildingReference> newBuilding = null, Blueprint<BlueprintSettlementBuildingReference> oldBuilding = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintSettlementBuildingReference> newBuilding

Blueprint of type BlueprintSettlementBuilding. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Blueprints.BlueprintSettlementBuildingReference> oldBuilding

Blueprint of type BlueprintSettlementBuilding. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Answer_0009717df11c29382d54cbe1e12f29349cb9
  • MythicDevil_RankUp03_Option0328d4f7db0536ac84aa354f345ad19932
| Improve this Doc View Source

RestoreLeaderAction(ActionsBuilder)

Adds Kingmaker.Armies.TacticalCombat.GameActions.ContextActionRestoreLeaderAction

Declaration
public static ActionsBuilder RestoreLeaderAction(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • EmergencyOrderBuff8f95988103a545c2900adb3bfc4ba64f
  • TwincastBufff868a773106e4e78a777d850acd38ee8
| Improve this Doc View Source

SetRecruitPoint(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)

Adds SetRecruitPoint(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)

Declaration
public static ActionsBuilder SetRecruitPoint(this ActionsBuilder builder, Blueprint<BlueprintGlobalMapPoint.Reference> point = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> point

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
  • DrezenCapital_Chapter05_Coronation4881f9b9131249dca002482ef3e915af
  • SeelahWarcamp_Chapter05_LegendBegins149b7c31c9944d828d9ab4867f58ca47
| Improve this Doc View Source

SetWarCampLocation(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)

Adds SetWarCampLocation(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)

Declaration
public static ActionsBuilder SetWarCampLocation(this ActionsBuilder builder, Blueprint<BlueprintGlobalMapPoint.Reference> location = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> location

Blueprint of type BlueprintGlobalMapPoint. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Chapter020e20d73ea0da6a94d94a6b42035a1ce0
  • GlobalmapBeforeLostChapel739f6806ac4123b4389eea950c5af95b
  • WarCamp_CouncilKTFromGMTest_Preset89d4e2fc3c314b548b0b0bf41349670c
| Improve this Doc View Source

StopUnit(ActionsBuilder)

Adds Kingmaker.Armies.TacticalCombat.GameActions.ContextActionStopUnit

Declaration
public static ActionsBuilder StopUnit(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • PlaceBanner8960de0453ba3b54880ec5a4458a76e3
  • RangerPitArea37cf4546ecbf4aee9ab28697c6e0e86a
  • RangerSpringTrapArea7feffc237b734814875497233e5d00b5
| Improve this Doc View Source

SubtractMorale(ActionsBuilder, Nullable<Int32>, Nullable<DiceFormula>, Nullable<Boolean>)

Adds AddMorale(ActionsBuilder, Nullable<Int32>, Nullable<DiceFormula>, Nullable<Boolean>)

Declaration
public static ActionsBuilder SubtractMorale(this ActionsBuilder builder, int? bonus = null, DiceFormula? change = null, bool? substract = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<System.Int32> bonus
System.Nullable<Kingmaker.RuleSystem.DiceFormula> change
System.Nullable<System.Boolean> substract
Returns
Type Description
ActionsBuilder
Remarks

  • AbductedSouls_event446e4191ab45485ca8316e4b388d4671
  • CrusadeEvent72f605189b5c4f4e189c381c79b7d7e3d7
  • TimeLoss04_Action93ddb85426414eeda6706b5e20402613
| Improve this Doc View Source

SummonExistUnits(ActionsBuilder, GlobalMagicValue)

Adds SummonExistUnits(ActionsBuilder, GlobalMagicValue)

Declaration
public static ActionsBuilder SummonExistUnits(this ActionsBuilder builder, GlobalMagicValue sumExpCost)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Crusade.GlobalMagic.GlobalMagicValue sumExpCost
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellCallToArms68f1485a4b5dd7348bbe54c370136490
| Improve this Doc View Source

SummonRandomGroup(ActionsBuilder, SummonRandomGroup.RandomGroup[])

Adds SummonRandomGroup(ActionsBuilder, SummonRandomGroup.RandomGroup[])

Declaration
public static ActionsBuilder SummonRandomGroup(this ActionsBuilder builder, params SummonRandomGroup.RandomGroup[] randomGroups)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.Crusade.GlobalMagic.Actions.SummonLogics.SummonRandomGroup.RandomGroup[] randomGroups
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellAngelSummonHeavenlyHost5425f939e31478e4ca8b00ff6ca161c9
  • GlobalSpellLichAnimateDeada8207b313ed41ad408c96fff5edfe85f
  • GlobalSpellLocustSummonSwarmce50c4fe24bdab14b823d76d4c42352b
| Improve this Doc View Source

SummonTacticalSquad(ActionsBuilder, ContextValue, ActionsBuilder, Blueprint<BlueprintUnitReference>, Blueprint<BlueprintSummonPoolReference>)

Adds Kingmaker.UnitLogic.Mechanics.Actions.ContextActionSummonTacticalSquad

Declaration
public static ActionsBuilder SummonTacticalSquad(this ActionsBuilder builder, ContextValue count, ActionsBuilder afterSpawn = null, Blueprint<BlueprintUnitReference> blueprint = null, Blueprint<BlueprintSummonPoolReference> summonPool = null)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.UnitLogic.Mechanics.ContextValue count

InfoBox: For leader, it is just count to summon. For squad, it is coefficient that will be multiplied by current squad size

ActionsBuilder afterSpawn
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> blueprint

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Blueprints.BlueprintSummonPoolReference> summonPool

Blueprint of type BlueprintSummonPool. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Angel3SummonHeavenlyHostAbilityf317d44314a843e7aaf3fc202cbe9577
  • ArmySummonMarilith78c258abcb744f75ab6b71121aadf47d
  • SummonSquadSlow7985c14f44ad9c64eb32c6d5e9a713fc
| Improve this Doc View Source

TacticalCombatDealDamage(ActionsBuilder, DamageTypeDescription, DiceType, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, ContextValue)

Adds Kingmaker.UnitLogic.Mechanics.Actions.ContextActionTacticalCombatDealDamage

Declaration
public static ActionsBuilder TacticalCombatDealDamage(this ActionsBuilder builder, DamageTypeDescription damageType, DiceType diceType, bool? half = null, bool? ignoreCritical = null, int? minHPAfterDamage = null, ContextValue rollsCount = null)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.RuleSystem.Rules.Damage.DamageTypeDescription damageType
Kingmaker.RuleSystem.DiceType diceType
System.Nullable<System.Boolean> half
System.Nullable<System.Boolean> ignoreCritical
System.Nullable<System.Int32> minHPAfterDamage
Kingmaker.UnitLogic.Mechanics.ContextValue rollsCount

InfoBox: Result = RollsCount * (5 + Power * Power)d(DiceType)

Returns
Type Description
ActionsBuilder
Remarks

  • Aeon5BaneOfDemonsBuff7f3a76f5ebee4ff593528ff3e3175a02
  • RangerFrostBlastTrapAreaf991f22da1b51ae48ab59e15e3a28ff4
  • RitualStoneCallAbility705b85d1ffc2a4347bdfcba7480b32dc
| Improve this Doc View Source

TacticalCombatHealTarget(ActionsBuilder, Nullable<DiceType>, ContextValue)

Adds Kingmaker.UnitLogic.Mechanics.Actions.ContextActionTacticalCombatHealTarget

Declaration
public static ActionsBuilder TacticalCombatHealTarget(this ActionsBuilder builder, DiceType? diceType = null, ContextValue rollsCount = null)
Parameters
Type Name Description
ActionsBuilder builder
System.Nullable<Kingmaker.RuleSystem.DiceType> diceType
Kingmaker.UnitLogic.Mechanics.ContextValue rollsCount

InfoBox: Result = RollsCount * (5 + Power * Power)d(DiceType)

Returns
Type Description
ActionsBuilder
Remarks

  • Azata1SongOfSeasonsAbilityArea257a806b4d2b452d9fa9f603d0d1c8a2
  • RitualCureWoundsAbilitycfa06dceb9a886b46b01fa62024b748a
  • RitualJudgementDayAbility814a31b50da1434aa9f8622b87157fda
| Improve this Doc View Source

TacticalCombatRecoverLeaderMana(ActionsBuilder, ContextValue)

Adds TacticalCombatRecoverLeaderMana(ActionsBuilder, ContextValue)

Declaration
public static ActionsBuilder TacticalCombatRecoverLeaderMana(this ActionsBuilder builder, ContextValue value = null)
Parameters
Type Name Description
ActionsBuilder builder
Kingmaker.UnitLogic.Mechanics.ContextValue value
Returns
Type Description
ActionsBuilder
Remarks

  • ArmyManaWhenHitFeatured34526e42698470096f1d4ba2ae6651f
| Improve this Doc View Source

TeleportArmyAction(ActionsBuilder)

Adds TeleportArmyAction(ActionsBuilder)

Declaration
public static ActionsBuilder TeleportArmyAction(this ActionsBuilder builder)
Parameters
Type Name Description
ActionsBuilder builder
Returns
Type Description
ActionsBuilder
Remarks

  • GlobalSpellMassTeleportation79cb4ea3fcb3a7a4c8a1055014f3bd0d
| Improve this Doc View Source

UnlockUnitsGrowth(ActionsBuilder, Blueprint<BlueprintUnitReference>)

Adds UnlockUnitsGrowth(ActionsBuilder, Blueprint<BlueprintUnitReference>)

Declaration
public static ActionsBuilder UnlockUnitsGrowth(this ActionsBuilder builder, Blueprint<BlueprintUnitReference> unit = null)
Parameters
Type Name Description
ActionsBuilder builder
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> unit

Blueprint of type BlueprintUnit. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
ActionsBuilder
Remarks

  • Answer_0006b515734110d84de6af4c3577f412b4aa
  • Answer_003211a461c5f93e9c04ca0e5b5d70dc8566
  • Chapter055b01aa690202e584888dfc600a4aac0a
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX