Show / Hide Table of Contents

Class BaseItemConfigurator<T, TBuilder>

Implements common fields and components for blueprints inheriting from Kingmaker.Blueprints.Items.BlueprintItem.

Inheritance
System.Object
Configurator
RootConfigurator<T, TBuilder>
BaseBlueprintConfigurator<T, TBuilder>
BaseFactConfigurator<T, TBuilder>
BaseItemConfigurator<T, TBuilder>
BaseIngredientConfigurator<T, TBuilder>
BaseHiddenItemConfigurator<T, TBuilder>
BaseItemKeyConfigurator<T, TBuilder>
BaseItemNoteConfigurator<T, TBuilder>
BaseItemThiefToolConfigurator<T, TBuilder>
BaseItemEquipmentConfigurator<T, TBuilder>
ItemConfigurator
Inherited Members
BaseFactConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintFact>>, Type[])
BaseFactConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintFact>>, Predicate<BlueprintComponent>)
BaseFactConfigurator<T, TBuilder>.AddComponentsList(Blueprint<BlueprintComponentListReference>)
BaseFactConfigurator<T, TBuilder>.AddBuffActions(ActionsBuilder, ActionsBuilder, ActionsBuilder, ActionsBuilder)
BaseFactConfigurator<T, TBuilder>.AddFactContextActions(ActionsBuilder, ActionsBuilder, ActionsBuilder, ActionsBuilder)
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.Items
Assembly: BlueprintCore.dll
Syntax
public abstract class BaseItemConfigurator<T, TBuilder> : BaseFactConfigurator<T, TBuilder> where T : BlueprintItem where TBuilder : BaseItemConfigurator<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

BaseItemConfigurator(Blueprint<BlueprintReference<T>>)

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

Methods

| Improve this Doc View Source

AddBuildPointsReplacement(Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)

Adds Kingmaker.Blueprints.Items.Components.BuildPointsReplacement

Declaration
public TBuilder AddBuildPointsReplacement(int? cost = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
Type Name Description
System.Nullable<System.Int32> cost
System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

Returns
Type Description
TBuilder
Remarks

  • BPCoins995a5ff780c5fc541a0969e309c4de36
| Improve this Doc View Source

AddConsumableEventBonusReplacement(Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)

Adds Kingmaker.Blueprints.Items.Components.ConsumableEventBonusReplacement

Declaration
public TBuilder AddConsumableEventBonusReplacement(int? cost = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
Type Name Description
System.Nullable<System.Int32> cost
System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

Returns
Type Description
TBuilder
Remarks

  • ConsumableEventBonusItem1ab90b3b5d7cd1045b86ae5b9410af70
| Improve this Doc View Source

AddCopyRecipe(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Blueprint<BlueprintCookingRecipeReference>)

Adds Kingmaker.Blueprints.Items.Components.CopyRecipe

Declaration
public TBuilder AddCopyRecipe(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, Blueprint<BlueprintCookingRecipeReference> recipe = null)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

Blueprint<Kingmaker.Blueprints.BlueprintCookingRecipeReference> recipe

Blueprint of type BlueprintCookingRecipe. 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
Remarks

  • AcornPie_item83864a3611c89f047b4242f139872fff
  • GlowingCroissant_itemadba05c4956e8844592f49acaaa4d4ea
  • SpicyPastry_itemb0a3bb682cfe6054bac65d0f4d68d3d0
| Improve this Doc View Source

AddCopyScroll(Blueprint<BlueprintAbilityReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)

Adds Kingmaker.Blueprints.Items.Components.CopyScroll

Declaration
public TBuilder AddCopyScroll(Blueprint<BlueprintAbilityReference> customSpell = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintAbilityReference> customSpell

Blueprint of type BlueprintAbility. 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.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

Returns
Type Description
TBuilder
Remarks

  • ScrollHealMasse19e85bfe282a1145a6075567a71970f
  • ScrollOfInflictSeriousWoundsMass2d9149f08a6ff4149a76b7a1bb560c6c
  • ScrollOfWrackingRaye3af1f25d3d4fcf439f508377c7493cd
| Improve this Doc View Source

AddCustomItemAbilityActionType(Nullable<UnitCommand.CommandType>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)

Adds Kingmaker.Blueprints.Items.Components.CustomItemAbilityActionType

Declaration
public TBuilder AddCustomItemAbilityActionType(UnitCommand.CommandType? actionType = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
Type Name Description
System.Nullable<Kingmaker.UnitLogic.Commands.Base.UnitCommand.CommandType> actionType
System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

Returns
Type Description
TBuilder
Remarks

  • BrokenPhylacterySoulRingItem29c12c43b02e5ad41895388d47bf4efb
  • ColorlessRemainsGoggles_MadnessItem5b2fa590883042948dcebfa162025ead
| Improve this Doc View Source

AddIgnoreResistanceForDamageFromEnchantment(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<IgnoreResistanceForDamageFromEnchantment.IgnoreType>)

Adds Kingmaker.Designers.Mechanics.EquipmentEnchants.IgnoreResistanceForDamageFromEnchantment

Declaration
public TBuilder AddIgnoreResistanceForDamageFromEnchantment(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, IgnoreResistanceForDamageFromEnchantment.IgnoreType? type = null)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

System.Nullable<Kingmaker.Designers.Mechanics.EquipmentEnchants.IgnoreResistanceForDamageFromEnchantment.IgnoreType> type
Returns
Type Description
TBuilder
Remarks

  • ElderBrass0a8f3559cfcc4d38961bd9658d026cc8
  • ElderFrostc9c2580b9b6c43e992acae157615deb5
  • ElderShockingBursta30a16ee048e4d1fb186c5cf4a0984b0
| Improve this Doc View Source

AddItemDialog(ConditionsBuilder, Blueprint<BlueprintDialogReference>, LocalString, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)

Adds Kingmaker.Blueprints.Items.Components.ItemDialog

Declaration
public TBuilder AddItemDialog(ConditionsBuilder conditions = null, Blueprint<BlueprintDialogReference> dialogReference = null, LocalString itemName = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
Type Name Description
ConditionsBuilder conditions
Blueprint<Kingmaker.Blueprints.BlueprintDialogReference> dialogReference

Blueprint of type BlueprintDialog. 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.

LocalString itemName

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

System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

Returns
Type Description
TBuilder
Remarks

  • FinneanBaseItem95c126deb99ba054aa5b84710520c035
  • LexiconHalf2b2e062dac1c7a7d45a21280601f2075f
  • ZachariusFallenWandItem622bb73ea55945b6a3d082e73166cc5c
| Improve this Doc View Source

AddItemDlcRestriction(Blueprint<BlueprintItemReference>, Blueprint<BlueprintDlcRewardReference>, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)

Adds Kingmaker.Blueprints.Items.Components.ItemDlcRestriction

Declaration
public TBuilder AddItemDlcRestriction(Blueprint<BlueprintItemReference> changeTo = null, Blueprint<BlueprintDlcRewardReference> dlcReward = null, bool? hideInVendors = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintItemReference> changeTo

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.

Blueprint<Kingmaker.Blueprints.BlueprintDlcRewardReference> dlcReward

Blueprint of type BlueprintDlcReward. 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> hideInVendors
System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

Returns
Type Description
TBuilder
Remarks

  • DashingCavaliersGlovesItem176da707c9c9d764e972a9da8b444ff3
  • Owlcat_Item6ea6d3b50bfa24e46a710beafbd95cd0
  • SwarmbaneClaspItema4dda39fab2d4e99884a71ecdc8f77ad
| Improve this Doc View Source

AddItemPolymorph(Blueprint<BlueprintUnlockableFlagReference>, List<Blueprint<BlueprintItemReference>>)

Adds Kingmaker.Blueprints.Items.Components.ItemPolymorph

Declaration
public TBuilder AddItemPolymorph(Blueprint<BlueprintUnlockableFlagReference> flagToCheck = null, List<Blueprint<BlueprintItemReference>> polymorphItems = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnlockableFlagReference> flagToCheck

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.

System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintItemReference>> polymorphItems

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
Remarks

  • FinneanBaseItem95c126deb99ba054aa5b84710520c035
  • TestFinneanItem508d135c08de4661ba32b27e424e6a4c
| Improve this Doc View Source

AddItemShowInfoCallback(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>)

Adds AddItemShowInfoCallback(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>)

Declaration
public TBuilder AddItemShowInfoCallback(ActionsBuilder action = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, bool? once = null)
Parameters
Type Name Description
ActionsBuilder action
System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

System.Nullable<System.Boolean> once
Returns
Type Description
TBuilder
Remarks

  • AboutIzyagnafa1f67444ec844508ea2eb6549581d5d
  • KenabresWardstone6e09b855929d419893eb2fbaeec80e51
  • ZoeyPendantTeleport9a90929e2db1be448b495509170a4251
| Improve this Doc View Source

AddMoneyReplacement(Nullable<Int64>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)

Adds Kingmaker.Blueprints.Items.Components.MoneyReplacement

Declaration
public TBuilder AddMoneyReplacement(long? cost = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
Type Name Description
System.Nullable<System.Int64> cost
System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> merge

If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components.

ComponentMerge mergeBehavior

Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail.

Returns
Type Description
TBuilder
Remarks

  • DLC3_GnomeCashItem97ea0b53288d46b0aed65f0e3ac3037e
  • DLC3_StartingCash620107fe863540b7907df92b1bc8d1c8
  • GoldCoinsf2bc0997c24e573448c6c91d2be88afa
| Improve this Doc View Source

AddToTrashLootTypes(TrashLootType[])

Adds to the contents of Kingmaker.Blueprints.Items.BlueprintItem.TrashLootTypes

Declaration
public TBuilder AddToTrashLootTypes(params TrashLootType[] trashLootTypes)
Parameters
Type Name Description
Kingmaker.Enums.TrashLootType[] trashLootTypes
Returns
Type Description
TBuilder
| Improve this Doc View Source

AddWeaponTypeAttackEnchant(Nullable<Int32>, Nullable<ModifierDescriptor>, Blueprint<BlueprintWeaponTypeReference>)

Adds Kingmaker.Designers.Mechanics.Facts.WeaponTypeAttackEnchant

Declaration
public TBuilder AddWeaponTypeAttackEnchant(int? bonus = null, ModifierDescriptor? descriptor = null, Blueprint<BlueprintWeaponTypeReference> type = null)
Parameters
Type Name Description
System.Nullable<System.Int32> bonus
System.Nullable<Kingmaker.Enums.ModifierDescriptor> descriptor
Blueprint<Kingmaker.Blueprints.BlueprintWeaponTypeReference> type

Blueprint of type BlueprintWeaponType. 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
Remarks

ComponentName: Weapon Type Attack Enchant

  • BombAttack222cef8e691a75674d8bc33ea986ea4fa
  • DLC2ShortspearEnchantment07de6c83aa2c423f897b6904ba270216
  • TouchEnchant22431f5f8d2ffe854784429b989d1e8a3
| Improve this Doc View Source

ClearTrashLootTypes()

Removes all elements from Kingmaker.Blueprints.Items.BlueprintItem.TrashLootTypes

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

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

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

Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintItem>> blueprint, Predicate<BlueprintComponent> componentMatcher)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Blueprints.Items.BlueprintItem>> 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<BlueprintItem>>, Type[])

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

Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintItem>> blueprint, params Type[] componentTypes)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Blueprints.Items.BlueprintItem>> 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

ModifyDescriptionText(Action<LocalizedString>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_DescriptionText by invoking the provided action.

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

ModifyDisplayNameText(Action<LocalizedString>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_DisplayNameText by invoking the provided action.

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

ModifyFlavorText(Action<LocalizedString>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_FlavorText by invoking the provided action.

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

ModifyIcon(Action<Sprite>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_Icon by invoking the provided action.

Declaration
public TBuilder ModifyIcon(Action<Sprite> action)
Parameters
Type Name Description
System.Action<UnityEngine.Sprite> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyInventoryPutSound(Action<String>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_InventoryPutSound by invoking the provided action.

Declaration
public TBuilder ModifyInventoryPutSound(Action<string> action)
Parameters
Type Name Description
System.Action<System.String> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyInventoryTakeSound(Action<String>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_InventoryTakeSound by invoking the provided action.

Declaration
public TBuilder ModifyInventoryTakeSound(Action<string> action)
Parameters
Type Name Description
System.Action<System.String> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyNonIdentifiedDescriptionText(Action<LocalizedString>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_NonIdentifiedDescriptionText by invoking the provided action.

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

ModifyNonIdentifiedNameText(Action<LocalizedString>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_NonIdentifiedNameText by invoking the provided action.

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

ModifyShardItem(Action<BlueprintItemReference>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.m_ShardItem by invoking the provided action.

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

ModifyTrashLootTypes(Action<TrashLootType>)

Modifies Kingmaker.Blueprints.Items.BlueprintItem.TrashLootTypes by invoking the provided action on each element.

Declaration
public TBuilder ModifyTrashLootTypes(Action<TrashLootType> action)
Parameters
Type Name Description
System.Action<Kingmaker.Enums.TrashLootType> 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

RemoveFromTrashLootTypes(TrashLootType[])

Removes elements from Kingmaker.Blueprints.Items.BlueprintItem.TrashLootTypes

Declaration
public TBuilder RemoveFromTrashLootTypes(params TrashLootType[] trashLootTypes)
Parameters
Type Name Description
Kingmaker.Enums.TrashLootType[] trashLootTypes
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromTrashLootTypes(Func<TrashLootType, Boolean>)

Removes elements from Kingmaker.Blueprints.Items.BlueprintItem.TrashLootTypes that match the provided predicate.

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

SetCost(Int32)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_Cost

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

SetDescriptionText(LocalString)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_DescriptionText

Declaration
public TBuilder SetDescriptionText(LocalString descriptionText)
Parameters
Type Name Description
LocalString descriptionText

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

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetDestructible(Boolean)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_Destructible

Declaration
public TBuilder SetDestructible(bool destructible = true)
Parameters
Type Name Description
System.Boolean destructible
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetDisplayNameText(LocalString)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_DisplayNameText

Declaration
public TBuilder SetDisplayNameText(LocalString displayNameText)
Parameters
Type Name Description
LocalString displayNameText

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

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetFlavorText(LocalString)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_FlavorText

Declaration
public TBuilder SetFlavorText(LocalString flavorText)
Parameters
Type Name Description
LocalString flavorText

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

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetForceStackable(Boolean)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_ForceStackable

Declaration
public TBuilder SetForceStackable(bool forceStackable = true)
Parameters
Type Name Description
System.Boolean forceStackable
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetIcon(Asset<Sprite>)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_Icon

Declaration
public TBuilder SetIcon(Asset<Sprite> icon)
Parameters
Type Name Description
Asset<UnityEngine.Sprite> icon

You can pass in the animation using a Sprite or it's AssetId.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetInventoryPutSound(String)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_InventoryPutSound

Declaration
public TBuilder SetInventoryPutSound(string inventoryPutSound)
Parameters
Type Name Description
System.String inventoryPutSound
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetInventoryTakeSound(String)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_InventoryTakeSound

Declaration
public TBuilder SetInventoryTakeSound(string inventoryTakeSound)
Parameters
Type Name Description
System.String inventoryTakeSound
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetIsJunk(Boolean)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_IsJunk

Declaration
public TBuilder SetIsJunk(bool isJunk = true)
Parameters
Type Name Description
System.Boolean isJunk

Tooltip: Include in the Mass Sell option at vendors

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetIsNotable(Boolean)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_IsNotable

Declaration
public TBuilder SetIsNotable(bool isNotable = true)
Parameters
Type Name Description
System.Boolean isNotable
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetMiscellaneousType(BlueprintItem.MiscellaneousItemType)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_MiscellaneousType

Declaration
public TBuilder SetMiscellaneousType(BlueprintItem.MiscellaneousItemType miscellaneousType)
Parameters
Type Name Description
Kingmaker.Blueprints.Items.BlueprintItem.MiscellaneousItemType miscellaneousType
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetNeedSkinningForCollect(Boolean)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.NeedSkinningForCollect

Declaration
public TBuilder SetNeedSkinningForCollect(bool needSkinningForCollect = true)
Parameters
Type Name Description
System.Boolean needSkinningForCollect
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetNonIdentifiedDescriptionText(LocalString)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_NonIdentifiedDescriptionText

Declaration
public TBuilder SetNonIdentifiedDescriptionText(LocalString nonIdentifiedDescriptionText)
Parameters
Type Name Description
LocalString nonIdentifiedDescriptionText

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

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetNonIdentifiedNameText(LocalString)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_NonIdentifiedNameText

Declaration
public TBuilder SetNonIdentifiedNameText(LocalString nonIdentifiedNameText)
Parameters
Type Name Description
LocalString nonIdentifiedNameText

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

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetShardItem(Blueprint<BlueprintItemReference>)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_ShardItem

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

InfoBox: Trash-item that remains after destruction. Gives a hint to user what source item was like.

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

SetTrashLootTypes(TrashLootType[])

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.TrashLootTypes

Declaration
public TBuilder SetTrashLootTypes(params TrashLootType[] trashLootTypes)
Parameters
Type Name Description
Kingmaker.Enums.TrashLootType[] trashLootTypes
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetWeight(Single)

Sets the value of Kingmaker.Blueprints.Items.BlueprintItem.m_Weight

Declaration
public TBuilder SetWeight(float weight)
Parameters
Type Name Description
System.Single weight
Returns
Type Description
TBuilder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX