M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder Class Reference

Inherits TaleWorlds.CampaignSystem.ITrackableCampaignObject.

Public Member Functions

 CraftingOrder (Hero orderOwner, float orderDifficulty, WeaponDesign weaponDesignTemplate, CraftingTemplate template, int difficultyLevel=-1)
 
void InitializeCraftingOrderOnLoad ()
 
bool IsPreCraftedWeaponDesignValid ()
 
WeaponComponentData GetStatWeapon ()
 
bool IsOrderAvailableForHero (Hero hero)
 
bool CanHeroCompleteOrder (Hero hero, ItemObject craftDesignItem)
 
float GetOrderExperience (ItemObject craftedItem, ItemModifier itemModifier)
 
void CheckForBonusesAndPenalties (ItemObject craftedItem, ItemModifier itemModifier, out float craftedStatsSum, out float requiredStatsSum, out bool thrustDamageCheck, out bool swingDamageCheck)
 
List< CraftingStatData > GetStatDataForItem (ItemObject itemObject, out WeaponComponentData weapon)
 
TextObject GetName ()
 
Vec3 GetPosition ()
 
float GetTrackDistanceToMainAgent ()
 
bool CheckTracked (BasicCharacterObject basicCharacter)
 

Public Attributes

readonly int BaseGoldReward
 
readonly float OrderDifficulty
 
ItemObject PreCraftedWeaponDesignItem
 
Hero OrderOwner
 
readonly int DifficultyLevel
 

Properties

bool IsLordOrder [get]
 

Constructor & Destructor Documentation

◆ CraftingOrder()

TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.CraftingOrder ( Hero orderOwner,
float orderDifficulty,
WeaponDesign weaponDesignTemplate,
CraftingTemplate template,
int difficultyLevel = -1 )

Member Function Documentation

◆ InitializeCraftingOrderOnLoad()

void TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.InitializeCraftingOrderOnLoad ( )

◆ IsPreCraftedWeaponDesignValid()

bool TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.IsPreCraftedWeaponDesignValid ( )

◆ GetStatWeapon()

WeaponComponentData TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.GetStatWeapon ( )

◆ IsOrderAvailableForHero()

bool TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.IsOrderAvailableForHero ( Hero hero)

◆ CanHeroCompleteOrder()

bool TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.CanHeroCompleteOrder ( Hero hero,
ItemObject craftDesignItem )

◆ GetOrderExperience()

float TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.GetOrderExperience ( ItemObject craftedItem,
ItemModifier itemModifier )

◆ CheckForBonusesAndPenalties()

void TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.CheckForBonusesAndPenalties ( ItemObject craftedItem,
ItemModifier itemModifier,
out float craftedStatsSum,
out float requiredStatsSum,
out bool thrustDamageCheck,
out bool swingDamageCheck )

◆ GetStatDataForItem()

List< CraftingStatData > TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.GetStatDataForItem ( ItemObject itemObject,
out WeaponComponentData weapon )

◆ GetName()

TextObject TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.GetName ( )

◆ GetPosition()

Vec3 TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.GetPosition ( )

◆ GetTrackDistanceToMainAgent()

float TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.GetTrackDistanceToMainAgent ( )

◆ CheckTracked()

bool TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.CheckTracked ( BasicCharacterObject basicCharacter)

Member Data Documentation

◆ BaseGoldReward

readonly int TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.BaseGoldReward

◆ OrderDifficulty

readonly float TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.OrderDifficulty

◆ PreCraftedWeaponDesignItem

ItemObject TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.PreCraftedWeaponDesignItem

◆ OrderOwner

Hero TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.OrderOwner

◆ DifficultyLevel

readonly int TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.DifficultyLevel

Property Documentation

◆ IsLordOrder

bool TaleWorlds.CampaignSystem.CraftingSystem.CraftingOrder.IsLordOrder
get