M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
Helpers.QuestHelper Class Reference

Static Public Member Functions

static void AddMapArrowFromPointToTarget (TextObject name, Vec2 sourcePosition, Vec2 targetPosition, float life, float error)
 
static bool CheckGoldForAlternativeSolution (int requiredGold, ref TextObject explanation)
 
static List< SkillObjectGetAlternativeSolutionMeleeSkills ()
 
static bool CheckRosterForAlternativeSolution (TroopRoster troopRoster, int requiredTroopCount, ref TextObject explanation, int minimumTier=0, bool mountedRequired=false)
 
static List< SkillObjectGetAlternativeSolutionRangedSkills ()
 
static bool CheckMinorMajorCoercion (QuestBase questToCheck, MapEvent mapEvent, PartyBase attackerParty)
 
static void ApplyGenericMinorMajorCoercionConsequences (QuestBase quest, MapEvent mapEvent)
 
static int GetAveragePriceOfItemInTheWorld (ItemObject item)
 
static void CheckWarDeclarationAndFailOrCancelTheQuest (QuestBase questToCheck, IFaction faction1, IFaction faction2, DeclareWarAction.DeclareWarDetail detail, TextObject failLog, TextObject cancelLog, bool forceCancel=false)
 

Member Function Documentation

◆ AddMapArrowFromPointToTarget()

static void Helpers.QuestHelper.AddMapArrowFromPointToTarget ( TextObject name,
Vec2 sourcePosition,
Vec2 targetPosition,
float life,
float error )
static

◆ CheckGoldForAlternativeSolution()

static bool Helpers.QuestHelper.CheckGoldForAlternativeSolution ( int requiredGold,
ref TextObject explanation )
static

◆ GetAlternativeSolutionMeleeSkills()

static List< SkillObject > Helpers.QuestHelper.GetAlternativeSolutionMeleeSkills ( )
static

◆ CheckRosterForAlternativeSolution()

static bool Helpers.QuestHelper.CheckRosterForAlternativeSolution ( TroopRoster troopRoster,
int requiredTroopCount,
ref TextObject explanation,
int minimumTier = 0,
bool mountedRequired = false )
static

◆ GetAlternativeSolutionRangedSkills()

static List< SkillObject > Helpers.QuestHelper.GetAlternativeSolutionRangedSkills ( )
static

◆ CheckMinorMajorCoercion()

static bool Helpers.QuestHelper.CheckMinorMajorCoercion ( QuestBase questToCheck,
MapEvent mapEvent,
PartyBase attackerParty )
static

◆ ApplyGenericMinorMajorCoercionConsequences()

static void Helpers.QuestHelper.ApplyGenericMinorMajorCoercionConsequences ( QuestBase quest,
MapEvent mapEvent )
static

◆ GetAveragePriceOfItemInTheWorld()

static int Helpers.QuestHelper.GetAveragePriceOfItemInTheWorld ( ItemObject item)
static

◆ CheckWarDeclarationAndFailOrCancelTheQuest()

static void Helpers.QuestHelper.CheckWarDeclarationAndFailOrCancelTheQuest ( QuestBase questToCheck,
IFaction faction1,
IFaction faction2,
DeclareWarAction.DeclareWarDetail detail,
TextObject failLog,
TextObject cancelLog,
bool forceCancel = false )
static