Show / Hide Table of Contents

Class BaseKingdomRootConfigurator<T, TBuilder>

Implements common fields and components for blueprints inheriting from Kingmaker.Kingdom.Blueprints.KingdomRoot.

Inheritance
System.Object
Configurator
RootConfigurator<T, TBuilder>
BaseBlueprintConfigurator<T, TBuilder>
BaseKingdomRootConfigurator<T, TBuilder>
KingdomRootConfigurator
Inherited Members
BaseBlueprintConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Type[])
BaseBlueprintConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Predicate<BlueprintComponent>)
BaseBlueprintConfigurator<T, TBuilder>.AddDlcCondition(Blueprint<BlueprintDlcRewardReference>, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddBuffOnCorruptionClear(Blueprint<BlueprintBuffReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
BaseBlueprintConfigurator<T, TBuilder>.AddIgnoreArmorGroupComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddPrerequisiteConditionForWeaponCategory(Condition, List<WeaponCategory>)
BaseBlueprintConfigurator<T, TBuilder>.AddDamageDecline(Nullable<DamageDeclineType>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddPlayerLeaveCombatTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddTimerContextActions(ActionsBuilder, Nullable<Single>, Nullable<TimeSpan>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddCustomImmuneMessageComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, GameLogMessage)
BaseBlueprintConfigurator<T, TBuilder>.AddInitiatorAttackRollTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>)
BaseBlueprintConfigurator<T, TBuilder>.AddInitiatorAttackWithWeaponTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<PhysicalDamageForm>, Nullable<Boolean>, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintItemWeaponReference>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTargetAttackRollTrigger(ActionsBuilder, ActionsBuilder, Nullable<Boolean>, WeaponCategory[], Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddTargetBeforeAttackRollTrigger(ActionsBuilder, ActionsBuilder, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<Boolean>, Nullable<SpellDescriptorWrapper>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalDiceOnAttack(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<AdditionalDiceOnAttack.WeaponOptions>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, List<AdditionalDiceOnAttack.DamageEntry>, DamageTypeDescription, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, ConditionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>, ContextDiceValue, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalDiceOnDamage(List<Blueprint<BlueprintAbilityReference>>, Nullable<AbilityType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<CompareOperation.Type>, List<AdditionalDiceOnDamage.DamageEntry>, Nullable<AdditionalDiceOnDamage.DamageEntriesUse>, DamageTypeDescription, ContextDiceValue, Nullable<DamageEnergyType>, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<SpellDescriptorWrapper>, ConditionsBuilder, Nullable<Boolean>, ContextValue, Nullable<Boolean>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalStatBonusOnAttackDamage(Nullable<Single>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConditionEnum>, Nullable<ConditionEnum>, Nullable<GripType>)
BaseBlueprintConfigurator<T, TBuilder>.AddAllAttacksEnhancement(Nullable<Int32>, Nullable<ModifierDescriptor>)
BaseBlueprintConfigurator<T, TBuilder>.AddRuleCalculateDamageWithWeaponTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<PhysicalDamageForm>, Nullable<Boolean>, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintItemWeaponReference>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddMarkUsableWhileCan(ConditionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddArmyBattleResultsTrigger(Nullable<RegionId>, Blueprint<BlueprintArmyLeaderReference>, List<Blueprint<BlueprintArmyPresetReference>>, Nullable<ArmyType>, Nullable<Boolean>, ActionsBuilder, ActionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddKingdomRegionClaimedTrigger(ActionsBuilder, List<Blueprint<BlueprintRegionReference>>)
BaseBlueprintConfigurator<T, TBuilder>.AddSettlementSiegeTrigger(ActionsBuilder, ActionsBuilder, ActionsBuilder, Blueprint<BlueprintGlobalMapPointReference>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddArmyUnitRecruitedTrigger(ActionsBuilder, Nullable<ArmyProperties>, List<Blueprint<BlueprintUnitReference>>, Nullable<Boolean>, Nullable<Boolean>, Nullable<MercenariesIncludeOption>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
BaseBlueprintConfigurator<T, TBuilder>.AddLeaderRecruitedTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddSummonUnitsAfterArmyBattle(SummonUnitsAfterArmyBattle.SummonGroup[], Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddGarrisonDefeatedTrigger(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)
BaseBlueprintConfigurator<T, TBuilder>.AddPlayerVisitGlobalMapLocationTrigger(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)
BaseBlueprintConfigurator<T, TBuilder>.AddOnIsleStateEnterTrigger(ActionsBuilder, IsleEvaluator, String)
BaseBlueprintConfigurator<T, TBuilder>.AddOnIsleStateExitTrigger(ActionsBuilder, IsleEvaluator, String)
BaseBlueprintConfigurator<T, TBuilder>.AddActivateTrigger(ActionsBuilder, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddAreaDidLoadTrigger(ActionsBuilder, ConditionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddDeactivateTrigger(ActionsBuilder, ConditionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddDeviceInteractionTrigger(ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitCombatTrigger(ActionsBuilder, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitDeathTrigger(ActionsBuilder, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitHealthTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddExperienceTrigger(ActionsBuilder, ConditionsBuilder, Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddGenericInteractionTrigger(ActionsBuilder, EntityReference, ActionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddItemInContainerTrigger(Blueprint<BlueprintItemReference>, MapObjectEvaluator, ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddLevelUpTrigger(ActionsBuilder, ConditionsBuilder, UnitEvaluator, Nullable<LevelUpTrigger.UnitEntryType>)
BaseBlueprintConfigurator<T, TBuilder>.AddPartyInventoryTrigger(Blueprint<BlueprintItemReference>, ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddPerceptionTrigger(MapObjectEvaluator, ActionsBuilder, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddRestTrigger(ActionsBuilder, ConditionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<RestResult>)
BaseBlueprintConfigurator<T, TBuilder>.AddScriptZoneTrigger(ActionsBuilder, ConditionsBuilder, ActionsBuilder, ConditionsBuilder, EntityReference, String)
BaseBlueprintConfigurator<T, TBuilder>.AddSpawnUnitTrigger(ActionsBuilder, Blueprint<BlueprintUnitReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddSpellCastTrigger(ActionsBuilder, EntityReference, List<Blueprint<BlueprintAbilityReference>>)
BaseBlueprintConfigurator<T, TBuilder>.AddSummonPoolTrigger(ActionsBuilder, Nullable<SummonPoolTrigger.ChangeTypes>, ConditionsBuilder, Nullable<Int32>, Blueprint<BlueprintSummonPoolReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTimeOfDayChangedTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddUIEventTrigger(ActionsBuilder, ConditionsBuilder, Nullable<UIEventType>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddUnitHealthTrigger(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTrapTrigger(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, ActionsBuilder, ActionsBuilder, MapObjectEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddVendorDealTrigger(ActionsBuilder, Nullable<VendorDealTrigger.DealType>, Blueprint<BlueprintItemReference>, UnitEvaluator)
RootConfigurator<T, TBuilder>.Logger
RootConfigurator<T, TBuilder>.Self
RootConfigurator<T, TBuilder>.Blueprint
RootConfigurator<T, TBuilder>.Configured
RootConfigurator<T, TBuilder>.ConfigureDelayedBlueprints()
RootConfigurator<T, TBuilder>.Configure(Boolean)
RootConfigurator<T, TBuilder>.AddComponent(BlueprintComponent)
RootConfigurator<T, TBuilder>.AddComponent<C>(Action<C>)
RootConfigurator<T, TBuilder>.AddUniqueComponent(BlueprintComponent, ComponentMerge, Action<BlueprintComponent, BlueprintComponent>)
RootConfigurator<T, TBuilder>.EditComponent<C>(Action<C>)
RootConfigurator<T, TBuilder>.EditComponents<C>(Action<C>, Func<C, Boolean>)
RootConfigurator<T, TBuilder>.RemoveComponents(Func<BlueprintComponent, Boolean>)
RootConfigurator<T, TBuilder>.OnConfigure(Action<T>[])
RootConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Type[])
RootConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Predicate<BlueprintComponent>)
RootConfigurator<T, TBuilder>.OnConfigureInternal(Action<T>[])
RootConfigurator<T, TBuilder>.OnConfigureCompleted()
RootConfigurator<T, TBuilder>.Validate(Object)
Namespace: BlueprintCore.Blueprints.Configurators.Kingdom
Assembly: BlueprintCore.dll
Syntax
public abstract class BaseKingdomRootConfigurator<T, TBuilder> : BaseBlueprintConfigurator<T, TBuilder> where T : KingdomRoot where TBuilder : BaseKingdomRootConfigurator<T, TBuilder>
Type Parameters
Name Description
T
TBuilder
Remarks

Each supported blueprint type has a corresponding Configurator class to create and modify blueprints of that type, e.g. FeatureConfigurator supports BlueprintFeature. Configurators exist for all blueprint types inheriting from Kingmaker.Blueprints.BlueprintScriptableObject, excluding any that are not used in the base game.

Creating a Blueprint

Use New(string, string) to create a blueprint:

FeatureConfigurator.New(MyBlueprintName, MyBlueprintGuid)

Once New() is called the blueprint is added to the game library and can be referenced.

Using the Configurator

New() returns a configurator with methods to set or modify blueprint fields and add or modify Kingmaker.Blueprints.BlueprintComponent:

FeatureConfigurator.New(MyBlueprintName, MyBlueprintGuid).AddToGroups(FeatureGroup.Feat).AddPrerequisiteAlignment(AlignmentMaskType.LawfulGood).Configure();

Each method call returns the configurator allowing you to chain calls. Nothing is modified on the blueprint until Configure() is called, at which point the changes are applied and validated. Potential problems with the blueprint are logged as warnings.

Modifying an Existing Blueprint

Use For(Blueprint) to modify existing blueprints:

CharacterClassConfigurator.For(WizardClassGuid)

Usage is otherwise identical to creating a new blueprint.

For more information see Using BlueprintCore.

Constructors

| Improve this Doc View Source

BaseKingdomRootConfigurator(Blueprint<BlueprintReference<T>>)

Declaration
protected BaseKingdomRootConfigurator(Blueprint<BlueprintReference<T>> blueprint)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<T>> blueprint

Methods

| Improve this Doc View Source

AddToArtisanTierChances(Int32[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChances

Declaration
public TBuilder AddToArtisanTierChances(params int[] artisanTierChances)
Parameters
Type Name Description
System.Int32[] artisanTierChances
Returns
Type Description
TBuilder
| Improve this Doc View Source

AddToArtisanTierChancesRequest(Int32[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChancesRequest

Declaration
public TBuilder AddToArtisanTierChancesRequest(params int[] artisanTierChancesRequest)
Parameters
Type Name Description
System.Int32[] artisanTierChancesRequest
Returns
Type Description
TBuilder
| Improve this Doc View Source

AddToBuildings(Blueprint<BlueprintSettlementBuildingReference>[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Buildings

Declaration
public TBuilder AddToBuildings(params Blueprint<BlueprintSettlementBuildingReference>[] buildings)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintSettlementBuildingReference>[] buildings

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
TBuilder
| Improve this Doc View Source

AddToDifficultyDCMod(Int32[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.DifficultyDCMod

Declaration
public TBuilder AddToDifficultyDCMod(params int[] difficultyDCMod)
Parameters
Type Name Description
System.Int32[] difficultyDCMod
Returns
Type Description
TBuilder
| Improve this Doc View Source

AddToKingdomProjectEvents(Blueprint<BlueprintKingdomProjectReference>[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_KingdomProjectEvents

Declaration
public TBuilder AddToKingdomProjectEvents(params Blueprint<BlueprintKingdomProjectReference>[] kingdomProjectEvents)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomProjectReference>[] kingdomProjectEvents

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
TBuilder
| Improve this Doc View Source

AddToLeaderSlots(LeaderSlot[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.LeaderSlots

Declaration
public TBuilder AddToLeaderSlots(params LeaderSlot[] leaderSlots)
Parameters
Type Name Description
Kingmaker.Kingdom.LeaderSlot[] leaderSlots
Returns
Type Description
TBuilder
| Improve this Doc View Source

AddToLocations(Blueprint<BlueprintGlobalMapPoint.Reference>[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Locations

Declaration
public TBuilder AddToLocations(params Blueprint<BlueprintGlobalMapPoint.Reference>[] locations)
Parameters
Type Name Description
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
TBuilder
| Improve this Doc View Source

AddToRegions(Blueprint<BlueprintRegionReference>[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Regions

Declaration
public TBuilder AddToRegions(params Blueprint<BlueprintRegionReference>[] regions)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintRegionReference>[] regions

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
TBuilder
| Improve this Doc View Source

AddToStartingEventDecks(Blueprint<BlueprintKingdomDeckReference>[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingEventDecks

Declaration
public TBuilder AddToStartingEventDecks(params Blueprint<BlueprintKingdomDeckReference>[] startingEventDecks)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomDeckReference>[] startingEventDecks

Blueprint of type BlueprintKingdomDeck. 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
TBuilder
| Improve this Doc View Source

AddToStartingNPCLeaders(Blueprint<BlueprintUnitReference>[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingNPCLeaders

Declaration
public TBuilder AddToStartingNPCLeaders(params Blueprint<BlueprintUnitReference>[] startingNPCLeaders)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference>[] startingNPCLeaders

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
TBuilder
| Improve this Doc View Source

AddToStats(KingdomRoot.StatData[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.Stats

Declaration
public TBuilder AddToStats(params KingdomRoot.StatData[] stats)
Parameters
Type Name Description
Kingmaker.Kingdom.Blueprints.KingdomRoot.StatData[] stats
Returns
Type Description
TBuilder
| Improve this Doc View Source

AddToUnrestMitigationEvents(Blueprint<BlueprintKingdomProjectReference>[])

Adds to the contents of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UnrestMitigationEvents

Declaration
public TBuilder AddToUnrestMitigationEvents(params Blueprint<BlueprintKingdomProjectReference>[] unrestMitigationEvents)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomProjectReference>[] unrestMitigationEvents

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
TBuilder
| Improve this Doc View Source

ClearArtisanTierChances()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChances

Declaration
public TBuilder ClearArtisanTierChances()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearArtisanTierChancesRequest()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChancesRequest

Declaration
public TBuilder ClearArtisanTierChancesRequest()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearBuildings()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Buildings

Declaration
public TBuilder ClearBuildings()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearDifficultyDCMod()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.DifficultyDCMod

Declaration
public TBuilder ClearDifficultyDCMod()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearKingdomProjectEvents()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_KingdomProjectEvents

Declaration
public TBuilder ClearKingdomProjectEvents()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearLeaderSlots()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.LeaderSlots

Declaration
public TBuilder ClearLeaderSlots()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearLocations()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Locations

Declaration
public TBuilder ClearLocations()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearRegions()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Regions

Declaration
public TBuilder ClearRegions()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearStartingEventDecks()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingEventDecks

Declaration
public TBuilder ClearStartingEventDecks()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearStartingNPCLeaders()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingNPCLeaders

Declaration
public TBuilder ClearStartingNPCLeaders()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearStats()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.Stats

Declaration
public TBuilder ClearStats()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearUnrestMitigationEvents()

Removes all elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UnrestMitigationEvents

Declaration
public TBuilder ClearUnrestMitigationEvents()
Returns
Type Description
TBuilder
| Improve this Doc View Source

CopyFrom(Blueprint<BlueprintReference<KingdomRoot>>, Predicate<BlueprintComponent>)

Copies fields and components of the specified types from the blueprint.

Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<KingdomRoot>> blueprint, Predicate<BlueprintComponent> componentMatcher)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Kingdom.Blueprints.KingdomRoot>> blueprint
System.Predicate<Kingmaker.Blueprints.BlueprintComponent> componentMatcher

Any components in blueprint matching the predicate are copied. These are shallow copies that are shared by both blueprints.

Returns
Type Description
TBuilder
Remarks

NOT A DEEP COPY. This means objects copied are shared between blueprints. Changes to copied objects affect both blueprints.

Recommended when you need to create a nearly identical ability but change some parts such as a ContextRankConfig.

// Copy the Undead Bloodline's Incorporeal Form ability, replacing the duration w/ Character Level rounds
AbilityConfigurator.New(NewIncorporealForm, Guids.NewIncorporealForm)
  .CopyFrom(
    AbilityRefs.BloodlineUndeadIncorporealFormAbility,
    typeof(AbilityEffectRunAction),
    typeof(AbilityResourceLogic),
    typeof(SpellComponent))
  .AddContextRankConfig(ContextRankConfigs.CharacterLevel())
  .Configure();
| Improve this Doc View Source

CopyFrom(Blueprint<BlueprintReference<KingdomRoot>>, Type[])

Copies fields and components of the specified types from the blueprint.

Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<KingdomRoot>> blueprint, params Type[] componentTypes)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Kingdom.Blueprints.KingdomRoot>> blueprint
System.Type[] componentTypes

Any components in blueprint of the listed types are copied. These are shallow copies that are shared by both blueprints.

Returns
Type Description
TBuilder
Remarks

NOT A DEEP COPY. This means objects copied are shared between blueprints. Changes to copied objects affect both blueprints.

Recommended when you need to create a nearly identical ability but change some parts such as a ContextRankConfig.

// Copy the Undead Bloodline's Incorporeal Form ability, replacing the duration w/ Character Level rounds
AbilityConfigurator.New(NewIncorporealForm, Guids.NewIncorporealForm)
  .CopyFrom(
    AbilityRefs.BloodlineUndeadIncorporealFormAbility,
    typeof(AbilityEffectRunAction),
    typeof(AbilityResourceLogic),
    typeof(SpellComponent))
  .AddContextRankConfig(ContextRankConfigs.CharacterLevel())
  .Configure();
| Improve this Doc View Source

ModifyArtisanTierChances(Action<Int32>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChances by invoking the provided action on each element.

Declaration
public TBuilder ModifyArtisanTierChances(Action<int> action)
Parameters
Type Name Description
System.Action<System.Int32> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyArtisanTierChancesRequest(Action<Int32>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChancesRequest by invoking the provided action on each element.

Declaration
public TBuilder ModifyArtisanTierChancesRequest(Action<int> action)
Parameters
Type Name Description
System.Action<System.Int32> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyAutoCheatResources(Action<KingdomResourcesAmount>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.AutoCheatResources by invoking the provided action.

Declaration
public TBuilder ModifyAutoCheatResources(Action<KingdomResourcesAmount> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.KingdomResourcesAmount> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyAutoCheatResourcesPerDay(Action<KingdomResourcesAmount>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.AutoCheatResourcesPerDay by invoking the provided action.

Declaration
public TBuilder ModifyAutoCheatResourcesPerDay(Action<KingdomResourcesAmount> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.KingdomResourcesAmount> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyBaronySubsidy(Action<KingdomResourcesAmount>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.BaronySubsidy by invoking the provided action.

Declaration
public TBuilder ModifyBaronySubsidy(Action<KingdomResourcesAmount> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.KingdomResourcesAmount> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyBlueprintRegionCapital(Action<BlueprintRegionReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_BlueprintRegionCapital by invoking the provided action.

Declaration
public TBuilder ModifyBlueprintRegionCapital(Action<BlueprintRegionReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintRegionReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyBpVendorItem(Action<BlueprintItemReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_BpVendorItem by invoking the provided action.

Declaration
public TBuilder ModifyBpVendorItem(Action<BlueprintItemReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintItemReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyBuildings(Action<BlueprintSettlementBuildingReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Buildings by invoking the provided action on each element.

Declaration
public TBuilder ModifyBuildings(Action<BlueprintSettlementBuildingReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintSettlementBuildingReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyCapitalSettlement(Action<BlueprintSettlement.Reference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_CapitalSettlement by invoking the provided action.

Declaration
public TBuilder ModifyCapitalSettlement(Action<BlueprintSettlement.Reference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.BlueprintSettlement.Reference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyCasualModeBuff(Action<BlueprintKingdomBuffReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_CasualModeBuff by invoking the provided action.

Declaration
public TBuilder ModifyCasualModeBuff(Action<BlueprintKingdomBuffReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintKingdomBuffReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyCity(Action<KingdomRoot.SettlementLevelData>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.City by invoking the provided action.

Declaration
public TBuilder ModifyCity(Action<KingdomRoot.SettlementLevelData> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementLevelData> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyConsumableEventBonusVendorItem(Action<BlueprintItemReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_ConsumableEventBonusVendorItem by invoking the provided action.

Declaration
public TBuilder ModifyConsumableEventBonusVendorItem(Action<BlueprintItemReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintItemReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyCrusadeEventsTimeline(Action<BlueprintCrusadeEventTimeline.Reference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_CrusadeEventsTimeline by invoking the provided action.

Declaration
public TBuilder ModifyCrusadeEventsTimeline(Action<BlueprintCrusadeEventTimeline.Reference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.Blueprints.BlueprintCrusadeEventTimeline.Reference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyDefaultMapResourceCost(Action<KingdomResourcesAmount>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.DefaultMapResourceCost by invoking the provided action.

Declaration
public TBuilder ModifyDefaultMapResourceCost(Action<KingdomResourcesAmount> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.KingdomResourcesAmount> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyDefaultName(Action<LocalizedString>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.DefaultName by invoking the provided action.

Declaration
public TBuilder ModifyDefaultName(Action<LocalizedString> action)
Parameters
Type Name Description
System.Action<Kingmaker.Localization.LocalizedString> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyDifficultyDCMod(Action<Int32>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.DifficultyDCMod by invoking the provided action on each element.

Declaration
public TBuilder ModifyDifficultyDCMod(Action<int> action)
Parameters
Type Name Description
System.Action<System.Int32> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyEntryPoint(Action<BlueprintAreaEnterPointReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_EntryPoint by invoking the provided action.

Declaration
public TBuilder ModifyEntryPoint(Action<BlueprintAreaEnterPointReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintAreaEnterPointReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyKingdomProjectEvents(Action<BlueprintKingdomProjectReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_KingdomProjectEvents by invoking the provided action on each element.

Declaration
public TBuilder ModifyKingdomProjectEvents(Action<BlueprintKingdomProjectReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintKingdomProjectReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyLeaderSlots(Action<LeaderSlot>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.LeaderSlots by invoking the provided action on each element.

Declaration
public TBuilder ModifyLeaderSlots(Action<LeaderSlot> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.LeaderSlot> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyLocations(Action<BlueprintGlobalMapPoint.Reference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Locations by invoking the provided action on each element.

Declaration
public TBuilder ModifyLocations(Action<BlueprintGlobalMapPoint.Reference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyRankUps(Action<KingdomRankUpsRoot>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.RankUps by invoking the provided action.

Declaration
public TBuilder ModifyRankUps(Action<KingdomRankUpsRoot> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.Blueprints.KingdomRankUpsRoot> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyRegions(Action<BlueprintRegionReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Regions by invoking the provided action on each element.

Declaration
public TBuilder ModifyRegions(Action<BlueprintRegionReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintRegionReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyRegionUpgradesAvailable(Action<BlueprintUnlockableFlagReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_RegionUpgradesAvailable by invoking the provided action.

Declaration
public TBuilder ModifyRegionUpgradesAvailable(Action<BlueprintUnlockableFlagReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintUnlockableFlagReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyResourcesAtStart(Action<KingdomResourcesAmount>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.ResourcesAtStart by invoking the provided action.

Declaration
public TBuilder ModifyResourcesAtStart(Action<KingdomResourcesAmount> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.KingdomResourcesAmount> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyResourcesAtStartPerTurn(Action<KingdomResourcesAmount>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.ResourcesAtStartPerTurn by invoking the provided action.

Declaration
public TBuilder ModifyResourcesAtStartPerTurn(Action<KingdomResourcesAmount> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.KingdomResourcesAmount> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyResourcesPerEconomyRank(Action<KingdomResourcesAmount>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.ResourcesPerEconomyRank by invoking the provided action.

Declaration
public TBuilder ModifyResourcesPerEconomyRank(Action<KingdomResourcesAmount> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.KingdomResourcesAmount> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifySettlementCost(Action<KingdomResourcesAmount>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementCost by invoking the provided action.

Declaration
public TBuilder ModifySettlementCost(Action<KingdomResourcesAmount> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.KingdomResourcesAmount> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifySettlementEmptyMarker(Action<KingdomUISettlementEmptyMarker>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementEmptyMarker by invoking the provided action.

Declaration
public TBuilder ModifySettlementEmptyMarker(Action<KingdomUISettlementEmptyMarker> action)
Parameters
Type Name Description
System.Action<Kingmaker.UI.Kingdom.KingdomUISettlementEmptyMarker> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyStartingEventDecks(Action<BlueprintKingdomDeckReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingEventDecks by invoking the provided action on each element.

Declaration
public TBuilder ModifyStartingEventDecks(Action<BlueprintKingdomDeckReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintKingdomDeckReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyStartingNPCLeaders(Action<BlueprintUnitReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingNPCLeaders by invoking the provided action on each element.

Declaration
public TBuilder ModifyStartingNPCLeaders(Action<BlueprintUnitReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintUnitReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyStats(Action<KingdomRoot.StatData>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.Stats by invoking the provided action on each element.

Declaration
public TBuilder ModifyStats(Action<KingdomRoot.StatData> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.Blueprints.KingdomRoot.StatData> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyStoryModeBuff(Action<BlueprintKingdomBuffReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StoryModeBuff by invoking the provided action.

Declaration
public TBuilder ModifyStoryModeBuff(Action<BlueprintKingdomBuffReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintKingdomBuffReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyThroneRoom(Action<BlueprintAreaEnterPointReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_ThroneRoom by invoking the provided action.

Declaration
public TBuilder ModifyThroneRoom(Action<BlueprintAreaEnterPointReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintAreaEnterPointReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyTimeline(Action<BlueprintKingdomEventTimelineReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Timeline by invoking the provided action.

Declaration
public TBuilder ModifyTimeline(Action<BlueprintKingdomEventTimelineReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintKingdomEventTimelineReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyTown(Action<KingdomRoot.SettlementLevelData>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.Town by invoking the provided action.

Declaration
public TBuilder ModifyTown(Action<KingdomRoot.SettlementLevelData> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementLevelData> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyUIRoot(Action<KingdomUIRootReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UIRoot by invoking the provided action.

Declaration
public TBuilder ModifyUIRoot(Action<KingdomUIRootReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.KingdomUIRootReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyUnrestMitigationEvents(Action<BlueprintKingdomProjectReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UnrestMitigationEvents by invoking the provided action on each element.

Declaration
public TBuilder ModifyUnrestMitigationEvents(Action<BlueprintKingdomProjectReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintKingdomProjectReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyUnrestPriorityDeck(Action<BlueprintKingdomDeckReference>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UnrestPriorityDeck by invoking the provided action.

Declaration
public TBuilder ModifyUnrestPriorityDeck(Action<BlueprintKingdomDeckReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintKingdomDeckReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyVillage(Action<KingdomRoot.SettlementLevelData>)

Modifies Kingmaker.Kingdom.Blueprints.KingdomRoot.Village by invoking the provided action.

Declaration
public TBuilder ModifyVillage(Action<KingdomRoot.SettlementLevelData> action)
Parameters
Type Name Description
System.Action<Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementLevelData> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

OnConfigureCompleted()

Declaration
protected override void OnConfigureCompleted()
Overrides
BlueprintCore.Blueprints.CustomConfigurators.RootConfigurator<T, TBuilder>.OnConfigureCompleted()
| Improve this Doc View Source

RemoveFromArtisanTierChances(Func<Int32, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChances that match the provided predicate.

Declaration
public TBuilder RemoveFromArtisanTierChances(Func<int, bool> predicate)
Parameters
Type Name Description
System.Func<System.Int32, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromArtisanTierChances(Int32[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChances

Declaration
public TBuilder RemoveFromArtisanTierChances(params int[] artisanTierChances)
Parameters
Type Name Description
System.Int32[] artisanTierChances
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromArtisanTierChancesRequest(Func<Int32, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChancesRequest that match the provided predicate.

Declaration
public TBuilder RemoveFromArtisanTierChancesRequest(Func<int, bool> predicate)
Parameters
Type Name Description
System.Func<System.Int32, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromArtisanTierChancesRequest(Int32[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChancesRequest

Declaration
public TBuilder RemoveFromArtisanTierChancesRequest(params int[] artisanTierChancesRequest)
Parameters
Type Name Description
System.Int32[] artisanTierChancesRequest
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromBuildings(Blueprint<BlueprintSettlementBuildingReference>[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Buildings

Declaration
public TBuilder RemoveFromBuildings(params Blueprint<BlueprintSettlementBuildingReference>[] buildings)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintSettlementBuildingReference>[] buildings

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
TBuilder
| Improve this Doc View Source

RemoveFromBuildings(Func<BlueprintSettlementBuildingReference, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Buildings that match the provided predicate.

Declaration
public TBuilder RemoveFromBuildings(Func<BlueprintSettlementBuildingReference, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Blueprints.BlueprintSettlementBuildingReference, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromDifficultyDCMod(Func<Int32, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.DifficultyDCMod that match the provided predicate.

Declaration
public TBuilder RemoveFromDifficultyDCMod(Func<int, bool> predicate)
Parameters
Type Name Description
System.Func<System.Int32, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromDifficultyDCMod(Int32[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.DifficultyDCMod

Declaration
public TBuilder RemoveFromDifficultyDCMod(params int[] difficultyDCMod)
Parameters
Type Name Description
System.Int32[] difficultyDCMod
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromKingdomProjectEvents(Blueprint<BlueprintKingdomProjectReference>[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_KingdomProjectEvents

Declaration
public TBuilder RemoveFromKingdomProjectEvents(params Blueprint<BlueprintKingdomProjectReference>[] kingdomProjectEvents)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomProjectReference>[] kingdomProjectEvents

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
TBuilder
| Improve this Doc View Source

RemoveFromKingdomProjectEvents(Func<BlueprintKingdomProjectReference, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_KingdomProjectEvents that match the provided predicate.

Declaration
public TBuilder RemoveFromKingdomProjectEvents(Func<BlueprintKingdomProjectReference, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Blueprints.BlueprintKingdomProjectReference, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromLeaderSlots(LeaderSlot[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.LeaderSlots

Declaration
public TBuilder RemoveFromLeaderSlots(params LeaderSlot[] leaderSlots)
Parameters
Type Name Description
Kingmaker.Kingdom.LeaderSlot[] leaderSlots
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromLeaderSlots(Func<LeaderSlot, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.LeaderSlots that match the provided predicate.

Declaration
public TBuilder RemoveFromLeaderSlots(Func<LeaderSlot, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Kingdom.LeaderSlot, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromLocations(Blueprint<BlueprintGlobalMapPoint.Reference>[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Locations

Declaration
public TBuilder RemoveFromLocations(params Blueprint<BlueprintGlobalMapPoint.Reference>[] locations)
Parameters
Type Name Description
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
TBuilder
| Improve this Doc View Source

RemoveFromLocations(Func<BlueprintGlobalMapPoint.Reference, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Locations that match the provided predicate.

Declaration
public TBuilder RemoveFromLocations(Func<BlueprintGlobalMapPoint.Reference, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Globalmap.Blueprints.BlueprintGlobalMapPoint.Reference, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromRegions(Blueprint<BlueprintRegionReference>[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Regions

Declaration
public TBuilder RemoveFromRegions(params Blueprint<BlueprintRegionReference>[] regions)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintRegionReference>[] regions

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
TBuilder
| Improve this Doc View Source

RemoveFromRegions(Func<BlueprintRegionReference, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Regions that match the provided predicate.

Declaration
public TBuilder RemoveFromRegions(Func<BlueprintRegionReference, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Blueprints.BlueprintRegionReference, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromStartingEventDecks(Blueprint<BlueprintKingdomDeckReference>[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingEventDecks

Declaration
public TBuilder RemoveFromStartingEventDecks(params Blueprint<BlueprintKingdomDeckReference>[] startingEventDecks)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomDeckReference>[] startingEventDecks

Blueprint of type BlueprintKingdomDeck. 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
TBuilder
| Improve this Doc View Source

RemoveFromStartingEventDecks(Func<BlueprintKingdomDeckReference, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingEventDecks that match the provided predicate.

Declaration
public TBuilder RemoveFromStartingEventDecks(Func<BlueprintKingdomDeckReference, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Blueprints.BlueprintKingdomDeckReference, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromStartingNPCLeaders(Blueprint<BlueprintUnitReference>[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingNPCLeaders

Declaration
public TBuilder RemoveFromStartingNPCLeaders(params Blueprint<BlueprintUnitReference>[] startingNPCLeaders)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference>[] startingNPCLeaders

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
TBuilder
| Improve this Doc View Source

RemoveFromStartingNPCLeaders(Func<BlueprintUnitReference, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingNPCLeaders that match the provided predicate.

Declaration
public TBuilder RemoveFromStartingNPCLeaders(Func<BlueprintUnitReference, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Blueprints.BlueprintUnitReference, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromStats(KingdomRoot.StatData[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.Stats

Declaration
public TBuilder RemoveFromStats(params KingdomRoot.StatData[] stats)
Parameters
Type Name Description
Kingmaker.Kingdom.Blueprints.KingdomRoot.StatData[] stats
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromStats(Func<KingdomRoot.StatData, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.Stats that match the provided predicate.

Declaration
public TBuilder RemoveFromStats(Func<KingdomRoot.StatData, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Kingdom.Blueprints.KingdomRoot.StatData, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromUnrestMitigationEvents(Blueprint<BlueprintKingdomProjectReference>[])

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UnrestMitigationEvents

Declaration
public TBuilder RemoveFromUnrestMitigationEvents(params Blueprint<BlueprintKingdomProjectReference>[] unrestMitigationEvents)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomProjectReference>[] unrestMitigationEvents

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
TBuilder
| Improve this Doc View Source

RemoveFromUnrestMitigationEvents(Func<BlueprintKingdomProjectReference, Boolean>)

Removes elements from Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UnrestMitigationEvents that match the provided predicate.

Declaration
public TBuilder RemoveFromUnrestMitigationEvents(Func<BlueprintKingdomProjectReference, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Blueprints.BlueprintKingdomProjectReference, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetArtisanMasterpieceChance(Single)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanMasterpieceChance

Declaration
public TBuilder SetArtisanMasterpieceChance(float artisanMasterpieceChance)
Parameters
Type Name Description
System.Single artisanMasterpieceChance
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetArtisanTierChances(Int32[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChances

Declaration
public TBuilder SetArtisanTierChances(params int[] artisanTierChances)
Parameters
Type Name Description
System.Int32[] artisanTierChances
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetArtisanTierChancesRequest(Int32[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ArtisanTierChancesRequest

Declaration
public TBuilder SetArtisanTierChancesRequest(params int[] artisanTierChancesRequest)
Parameters
Type Name Description
System.Int32[] artisanTierChancesRequest
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetAutoCheatResources(KingdomResourcesAmount)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.AutoCheatResources

Declaration
public TBuilder SetAutoCheatResources(KingdomResourcesAmount autoCheatResources)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomResourcesAmount autoCheatResources
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetAutoCheatResourcesPerDay(KingdomResourcesAmount)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.AutoCheatResourcesPerDay

Declaration
public TBuilder SetAutoCheatResourcesPerDay(KingdomResourcesAmount autoCheatResourcesPerDay)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomResourcesAmount autoCheatResourcesPerDay
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetAviaryTimeReduction(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.AviaryTimeReduction

Declaration
public TBuilder SetAviaryTimeReduction(int aviaryTimeReduction)
Parameters
Type Name Description
System.Int32 aviaryTimeReduction
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetBaronyResourcesModifier(Single)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.BaronyResourcesModifier

Declaration
public TBuilder SetBaronyResourcesModifier(float baronyResourcesModifier)
Parameters
Type Name Description
System.Single baronyResourcesModifier
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetBaronySubsidy(KingdomResourcesAmount)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.BaronySubsidy

Declaration
public TBuilder SetBaronySubsidy(KingdomResourcesAmount baronySubsidy)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomResourcesAmount baronySubsidy
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetBlueprintRegionCapital(Blueprint<BlueprintRegionReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_BlueprintRegionCapital

Declaration
public TBuilder SetBlueprintRegionCapital(Blueprint<BlueprintRegionReference> blueprintRegionCapital)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintRegionReference> blueprintRegionCapital

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
TBuilder
| Improve this Doc View Source

SetBpVendorItem(Blueprint<BlueprintItemReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_BpVendorItem

Declaration
public TBuilder SetBpVendorItem(Blueprint<BlueprintItemReference> bpVendorItem)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintItemReference> bpVendorItem

Blueprint of type BlueprintItem. 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
TBuilder
| Improve this Doc View Source

SetBuildings(Blueprint<BlueprintSettlementBuildingReference>[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Buildings

Declaration
public TBuilder SetBuildings(params Blueprint<BlueprintSettlementBuildingReference>[] buildings)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintSettlementBuildingReference>[] buildings

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
TBuilder
| Improve this Doc View Source

SetBuildingSequenceCostMultiplier(Single)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.BuildingSequenceCostMultiplier

Declaration
public TBuilder SetBuildingSequenceCostMultiplier(float buildingSequenceCostMultiplier)
Parameters
Type Name Description
System.Single buildingSequenceCostMultiplier
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetCapitalSettlement(Blueprint<BlueprintSettlement.Reference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_CapitalSettlement

Declaration
public TBuilder SetCapitalSettlement(Blueprint<BlueprintSettlement.Reference> capitalSettlement)
Parameters
Type Name Description
Blueprint<Kingmaker.Kingdom.BlueprintSettlement.Reference> capitalSettlement

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
TBuilder
| Improve this Doc View Source

SetCasualModeBuff(Blueprint<BlueprintKingdomBuffReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_CasualModeBuff

Declaration
public TBuilder SetCasualModeBuff(Blueprint<BlueprintKingdomBuffReference> casualModeBuff)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomBuffReference> casualModeBuff

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.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetCity(KingdomRoot.SettlementLevelData)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.City

Declaration
public TBuilder SetCity(KingdomRoot.SettlementLevelData city)
Parameters
Type Name Description
Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementLevelData city
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetConsumableEventBonusAtStart(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ConsumableEventBonusAtStart

Declaration
public TBuilder SetConsumableEventBonusAtStart(int consumableEventBonusAtStart)
Parameters
Type Name Description
System.Int32 consumableEventBonusAtStart
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetConsumableEventBonusModifierValue(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ConsumableEventBonusModifierValue

Declaration
public TBuilder SetConsumableEventBonusModifierValue(int consumableEventBonusModifierValue)
Parameters
Type Name Description
System.Int32 consumableEventBonusModifierValue
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetConsumableEventBonusPerRankUp(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ConsumableEventBonusPerRankUp

Declaration
public TBuilder SetConsumableEventBonusPerRankUp(int consumableEventBonusPerRankUp)
Parameters
Type Name Description
System.Int32 consumableEventBonusPerRankUp
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetConsumableEventBonusVendorItem(Blueprint<BlueprintItemReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_ConsumableEventBonusVendorItem

Declaration
public TBuilder SetConsumableEventBonusVendorItem(Blueprint<BlueprintItemReference> consumableEventBonusVendorItem)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintItemReference> consumableEventBonusVendorItem

Blueprint of type BlueprintItem. 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
TBuilder
| Improve this Doc View Source

SetCrusadeEventsTimeline(Blueprint<BlueprintCrusadeEventTimeline.Reference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_CrusadeEventsTimeline

Declaration
public TBuilder SetCrusadeEventsTimeline(Blueprint<BlueprintCrusadeEventTimeline.Reference> crusadeEventsTimeline)
Parameters
Type Name Description
Blueprint<Kingmaker.Kingdom.Blueprints.BlueprintCrusadeEventTimeline.Reference> crusadeEventsTimeline

Blueprint of type BlueprintCrusadeEventTimeline. 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
TBuilder
| Improve this Doc View Source

SetCustomLeaderPenalty(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.CustomLeaderPenalty

Declaration
public TBuilder SetCustomLeaderPenalty(int customLeaderPenalty)
Parameters
Type Name Description
System.Int32 customLeaderPenalty
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetDefaultMapResourceCost(KingdomResourcesAmount)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.DefaultMapResourceCost

Declaration
public TBuilder SetDefaultMapResourceCost(KingdomResourcesAmount defaultMapResourceCost)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomResourcesAmount defaultMapResourceCost
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetDefaultName(LocalString)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.DefaultName

Declaration
public TBuilder SetDefaultName(LocalString defaultName)
Parameters
Type Name Description
LocalString defaultName

You can pass in the string using a LocalizedString or the Key to a LocalizedString.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetDifficultyDCMod(Int32[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.DifficultyDCMod

Declaration
public TBuilder SetDifficultyDCMod(params int[] difficultyDCMod)
Parameters
Type Name Description
System.Int32[] difficultyDCMod
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetEntryPoint(Blueprint<BlueprintAreaEnterPointReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_EntryPoint

Declaration
public TBuilder SetEntryPoint(Blueprint<BlueprintAreaEnterPointReference> entryPoint)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintAreaEnterPointReference> entryPoint

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.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetKingdomProjectEvents(Blueprint<BlueprintKingdomProjectReference>[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_KingdomProjectEvents

Declaration
public TBuilder SetKingdomProjectEvents(params Blueprint<BlueprintKingdomProjectReference>[] kingdomProjectEvents)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomProjectReference>[] kingdomProjectEvents

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
TBuilder
| Improve this Doc View Source

SetKingdomStatRankStep(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.KingdomStatRankStep

Declaration
public TBuilder SetKingdomStatRankStep(int kingdomStatRankStep)
Parameters
Type Name Description
System.Int32 kingdomStatRankStep
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetLeaderSlots(LeaderSlot[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.LeaderSlots

Declaration
public TBuilder SetLeaderSlots(params LeaderSlot[] leaderSlots)
Parameters
Type Name Description
Kingmaker.Kingdom.LeaderSlot[] leaderSlots
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetLocations(Blueprint<BlueprintGlobalMapPoint.Reference>[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Locations

Declaration
public TBuilder SetLocations(params Blueprint<BlueprintGlobalMapPoint.Reference>[] locations)
Parameters
Type Name Description
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
TBuilder
| Improve this Doc View Source

SetMaxArmySquadsCount(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.MaxArmySquadsCount

Declaration
public TBuilder SetMaxArmySquadsCount(int maxArmySquadsCount)
Parameters
Type Name Description
System.Int32 maxArmySquadsCount

InfoBox: Army can&apos;t have squads more than that, even with bonuses

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetMoraleDefaultMaxValue(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.MoraleDefaultMaxValue

Declaration
public TBuilder SetMoraleDefaultMaxValue(int moraleDefaultMaxValue)
Parameters
Type Name Description
System.Int32 moraleDefaultMaxValue
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetMoraleMaxValue(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.MoraleMaxValue

Declaration
public TBuilder SetMoraleMaxValue(int moraleMaxValue)
Parameters
Type Name Description
System.Int32 moraleMaxValue
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetMoraleMinValue(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.MoraleMinValue

Declaration
public TBuilder SetMoraleMinValue(int moraleMinValue)
Parameters
Type Name Description
System.Int32 moraleMinValue
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetMoraleStartValue(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.MoraleStartValue

Declaration
public TBuilder SetMoraleStartValue(int moraleStartValue)
Parameters
Type Name Description
System.Int32 moraleStartValue
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetProjectRefundFactor(Single)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ProjectRefundFactor

Declaration
public TBuilder SetProjectRefundFactor(float projectRefundFactor)
Parameters
Type Name Description
System.Single projectRefundFactor
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetRankUps(KingdomRankUpsRoot)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.RankUps

Declaration
public TBuilder SetRankUps(KingdomRankUpsRoot rankUps)
Parameters
Type Name Description
Kingmaker.Kingdom.Blueprints.KingdomRankUpsRoot rankUps
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetRavenVisitDelayDays(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.RavenVisitDelayDays

Declaration
public TBuilder SetRavenVisitDelayDays(int ravenVisitDelayDays)
Parameters
Type Name Description
System.Int32 ravenVisitDelayDays
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetRegions(Blueprint<BlueprintRegionReference>[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Regions

Declaration
public TBuilder SetRegions(params Blueprint<BlueprintRegionReference>[] regions)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintRegionReference>[] regions

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
TBuilder
| Improve this Doc View Source

SetRegionUpgradesAvailable(Blueprint<BlueprintUnlockableFlagReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_RegionUpgradesAvailable

Declaration
public TBuilder SetRegionUpgradesAvailable(Blueprint<BlueprintUnlockableFlagReference> regionUpgradesAvailable)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnlockableFlagReference> regionUpgradesAvailable

Blueprint of type BlueprintUnlockableFlag. 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
TBuilder
| Improve this Doc View Source

SetResourcesAtStart(KingdomResourcesAmount)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ResourcesAtStart

Declaration
public TBuilder SetResourcesAtStart(KingdomResourcesAmount resourcesAtStart)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomResourcesAmount resourcesAtStart
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetResourcesAtStartPerTurn(KingdomResourcesAmount)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ResourcesAtStartPerTurn

Declaration
public TBuilder SetResourcesAtStartPerTurn(KingdomResourcesAmount resourcesAtStartPerTurn)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomResourcesAmount resourcesAtStartPerTurn
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetResourcesPerEconomyRank(KingdomResourcesAmount)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.ResourcesPerEconomyRank

Declaration
public TBuilder SetResourcesPerEconomyRank(KingdomResourcesAmount resourcesPerEconomyRank)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomResourcesAmount resourcesPerEconomyRank
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetSettlementCost(KingdomResourcesAmount)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementCost

Declaration
public TBuilder SetSettlementCost(KingdomResourcesAmount settlementCost)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomResourcesAmount settlementCost
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetSettlementEmptyMarker(KingdomUISettlementEmptyMarker)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementEmptyMarker

Declaration
public TBuilder SetSettlementEmptyMarker(KingdomUISettlementEmptyMarker settlementEmptyMarker)
Parameters
Type Name Description
Kingmaker.UI.Kingdom.KingdomUISettlementEmptyMarker settlementEmptyMarker
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetSiegeCooldownHours(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.SiegeCooldownHours

Declaration
public TBuilder SetSiegeCooldownHours(int siegeCooldownHours)
Parameters
Type Name Description
System.Int32 siegeCooldownHours
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetStartArmySquadsCount(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.StartArmySquadsCount

Declaration
public TBuilder SetStartArmySquadsCount(int startArmySquadsCount)
Parameters
Type Name Description
System.Int32 startArmySquadsCount
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetStartingEventDecks(Blueprint<BlueprintKingdomDeckReference>[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingEventDecks

Declaration
public TBuilder SetStartingEventDecks(params Blueprint<BlueprintKingdomDeckReference>[] startingEventDecks)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomDeckReference>[] startingEventDecks

Blueprint of type BlueprintKingdomDeck. 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
TBuilder
| Improve this Doc View Source

SetStartingNPCLeaders(Blueprint<BlueprintUnitReference>[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StartingNPCLeaders

Declaration
public TBuilder SetStartingNPCLeaders(params Blueprint<BlueprintUnitReference>[] startingNPCLeaders)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference>[] startingNPCLeaders

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
TBuilder
| Improve this Doc View Source

SetStatIncreaseOnEvent(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.StatIncreaseOnEvent

Declaration
public TBuilder SetStatIncreaseOnEvent(int statIncreaseOnEvent)
Parameters
Type Name Description
System.Int32 statIncreaseOnEvent
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetStatMaxRankInBarony(Int32)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.StatMaxRankInBarony

Declaration
public TBuilder SetStatMaxRankInBarony(int statMaxRankInBarony)
Parameters
Type Name Description
System.Int32 statMaxRankInBarony
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetStats(KingdomRoot.StatData[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.Stats

Declaration
public TBuilder SetStats(params KingdomRoot.StatData[] stats)
Parameters
Type Name Description
Kingmaker.Kingdom.Blueprints.KingdomRoot.StatData[] stats
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetStoryModeBuff(Blueprint<BlueprintKingdomBuffReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_StoryModeBuff

Declaration
public TBuilder SetStoryModeBuff(Blueprint<BlueprintKingdomBuffReference> storyModeBuff)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomBuffReference> storyModeBuff

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.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetThroneRoom(Blueprint<BlueprintAreaEnterPointReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_ThroneRoom

Declaration
public TBuilder SetThroneRoom(Blueprint<BlueprintAreaEnterPointReference> throneRoom)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintAreaEnterPointReference> throneRoom

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.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetTimeline(Blueprint<BlueprintKingdomEventTimelineReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_Timeline

Declaration
public TBuilder SetTimeline(Blueprint<BlueprintKingdomEventTimelineReference> timeline)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomEventTimelineReference> timeline

Blueprint of type BlueprintKingdomEventTimeline. 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
TBuilder
| Improve this Doc View Source

SetTown(KingdomRoot.SettlementLevelData)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.Town

Declaration
public TBuilder SetTown(KingdomRoot.SettlementLevelData town)
Parameters
Type Name Description
Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementLevelData town
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetUIRoot(Blueprint<KingdomUIRootReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UIRoot

Declaration
public TBuilder SetUIRoot(Blueprint<KingdomUIRootReference> uIRoot)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.KingdomUIRootReference> uIRoot

Blueprint of type KingdomUIRoot. 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
TBuilder
| Improve this Doc View Source

SetUnrestDeckTrigger(KingdomStatusType)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.UnrestDeckTrigger

Declaration
public TBuilder SetUnrestDeckTrigger(KingdomStatusType unrestDeckTrigger)
Parameters
Type Name Description
Kingmaker.Kingdom.KingdomStatusType unrestDeckTrigger
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetUnrestMitigationEvents(Blueprint<BlueprintKingdomProjectReference>[])

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UnrestMitigationEvents

Declaration
public TBuilder SetUnrestMitigationEvents(params Blueprint<BlueprintKingdomProjectReference>[] unrestMitigationEvents)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomProjectReference>[] unrestMitigationEvents

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
TBuilder
| Improve this Doc View Source

SetUnrestPriorityDeck(Blueprint<BlueprintKingdomDeckReference>)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.m_UnrestPriorityDeck

Declaration
public TBuilder SetUnrestPriorityDeck(Blueprint<BlueprintKingdomDeckReference> unrestPriorityDeck)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintKingdomDeckReference> unrestPriorityDeck

Blueprint of type BlueprintKingdomDeck. 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
TBuilder
| Improve this Doc View Source

SetVillage(KingdomRoot.SettlementLevelData)

Sets the value of Kingmaker.Kingdom.Blueprints.KingdomRoot.Village

Declaration
public TBuilder SetVillage(KingdomRoot.SettlementLevelData village)
Parameters
Type Name Description
Kingmaker.Kingdom.Blueprints.KingdomRoot.SettlementLevelData village
Returns
Type Description
TBuilder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX