M&B: Bannerlord 1.2.10
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.QuestBase Class Referenceabstract

Inherits TaleWorlds.ObjectSystem.MBObjectBase.

Inherited by SandBox.Issues.FamilyFeudIssueBehavior.FamilyFeudIssueQuest, SandBox.Issues.NotableWantsDaughterFoundIssueBehavior.NotableWantsDaughterFoundIssueQuest, SandBox.Issues.ProdigalSonIssueBehavior.ProdigalSonIssueQuest, SandBox.Issues.RivalGangMovingInIssueBehavior.RivalGangMovingInIssueQuest, SandBox.Issues.RuralNotableInnAndOutIssueBehavior.RuralNotableInnAndOutIssueQuest, SandBox.Issues.SnareTheWealthyIssueBehavior.SnareTheWealthyIssueQuest, SandBox.Issues.TheSpyPartyIssueQuestBehavior.TheSpyPartyIssueQuest, StoryMode.Quests.SecondPhase.ConspiracyQuestBase, StoryMode.StoryModeQuestBase, TaleWorlds.CampaignSystem.Issues.ArmyNeedsSuppliesIssueBehavior.ArmyNeedsSuppliesIssueQuest, TaleWorlds.CampaignSystem.Issues.ArtisanCantSellProductsAtAFairPriceIssueBehavior.ArtisanCantSellProductsAtAFairPriceIssueQuest, TaleWorlds.CampaignSystem.Issues.ArtisanOverpricedGoodsIssueBehavior.ArtisanOverpricedGoodsIssueQuest, TaleWorlds.CampaignSystem.Issues.BettingFraudIssueBehavior.BettingFraudQuest, TaleWorlds.CampaignSystem.Issues.CapturedByBountyHuntersIssueBehavior.CapturedByBountyHuntersIssueQuest, TaleWorlds.CampaignSystem.Issues.CaravanAmbushIssueBehavior.CaravanAmbushIssueQuest, TaleWorlds.CampaignSystem.Issues.EscortMerchantCaravanIssueBehavior.EscortMerchantCaravanIssueQuest, TaleWorlds.CampaignSystem.Issues.ExtortionByDesertersIssueBehavior.ExtortionByDesertersIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsRecruitsIssueBehavior.GangLeaderNeedsRecruitsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsSpecialWeaponsIssueBehavior.GangLeaderNeedsSpecialWeaponsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsToOffloadStolenGoodsIssueBehavior.GangLeaderNeedsToOffloadStolenGoodsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsWeaponsIssueQuestBehavior.GangLeaderNeedsWeaponsIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanNeedsGrainIssueBehavior.HeadmanNeedsGrainIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanNeedsToDeliverAHerdIssueBehavior.HeadmanNeedsToDeliverAHerdIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanVillageNeedsDraughtAnimalsIssueBehavior.HeadmanVillageNeedsDraughtAnimalsIssueQuest, TaleWorlds.CampaignSystem.Issues.LadysKnightOutIssueBehavior.LadysKnightOutIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordCompanyOfTroubleIssueBehavior.LandLordCompanyOfTroubleIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordNeedsManualLaborersIssueBehavior.LandLordNeedsManualLaborersIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordTheArtOfTheTradeIssueBehavior.LandLordTheArtOfTheTradeIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordNeedsAccessToVillageCommonsIssueBehavior.LandlordNeedsAccessToVillageCommonsIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordTrainingForRetainersIssueBehavior.LandlordTrainingForRetainersIssueQuest, TaleWorlds.CampaignSystem.Issues.LesserNobleRevoltIssueBehavior.LesserNobleRevoltIssueQuest, TaleWorlds.CampaignSystem.Issues.LordNeedsGarrisonTroopsIssueQuestBehavior.LordNeedsGarrisonTroopsIssueQuest, TaleWorlds.CampaignSystem.Issues.LordNeedsHorsesIssueBehavior.LordNeedsHorsesIssueQuest, TaleWorlds.CampaignSystem.Issues.LordWantsRivalCapturedIssueBehavior.LordWantsRivalCapturedIssueQuest, TaleWorlds.CampaignSystem.Issues.LordsNeedsTutorIssueBehavior.LordsNeedsTutorIssueQuest, TaleWorlds.CampaignSystem.Issues.MerchantArmyOfPoachersIssueBehavior.MerchantArmyOfPoachersIssueQuest, TaleWorlds.CampaignSystem.Issues.MerchantNeedsHelpWithOutlawsIssueQuestBehavior.MerchantNeedsHelpWithOutlawsIssueQuest, TaleWorlds.CampaignSystem.Issues.NearbyBanditBaseIssueBehavior.NearbyBanditBaseIssueQuest, TaleWorlds.CampaignSystem.Issues.RaidAnEnemyTerritoryIssueBehavior.RaidAnEnemyTerritoryQuest, TaleWorlds.CampaignSystem.Issues.RevenueFarmingIssueBehavior.RevenueFarmingIssueQuest, TaleWorlds.CampaignSystem.Issues.ScoutEnemyGarrisonsIssueBehavior.ScoutEnemyGarrisonsQuest, TaleWorlds.CampaignSystem.Issues.SmugglersIssueBehavior.SmugglersIssueQuest, TaleWorlds.CampaignSystem.Issues.TheConquestOfSettlementIssueBehavior.TheConquestOfSettlementIssueQuest, TaleWorlds.CampaignSystem.Issues.VillageNeedsCraftingMaterialsIssueBehavior.VillageNeedsCraftingMaterialsIssueQuest, and TaleWorlds.CampaignSystem.Issues.VillageNeedsToolsIssueBehavior.VillageNeedsToolsIssueQuest.

Public Types

enum  QuestCompleteDetails {
  Invalid ,
  Success ,
  Cancel ,
  Fail ,
  Timeout ,
  FailWithBetrayal
}
 

Public Member Functions

void StartQuest ()
 
void CompleteQuestWithSuccess ()
 
void CompleteQuestWithTimeOut (TextObject timeOutLog=null)
 
void CompleteQuestWithFail (TextObject cancelLog=null)
 
void CompleteQuestWithBetrayal (TextObject betrayLog=null)
 
void CompleteQuestWithCancel (TextObject cancelLog=null)
 
void InitializeQuestOnLoadWithQuestManager ()
 
JournalLog AddLog (TextObject text, bool hideInformation=false)
 
JournalLog AddDiscreteLog (TextObject text, TextObject taskName, int currentProgress, int targetProgress, TextObject shortText=null, bool hideInformation=false)
 
JournalLog AddTwoWayContinuousLog (TextObject text, TextObject taskName, int currentProgress, int range, bool hideInformation=false)
 
virtual GameMenus.GameMenuOption.IssueQuestFlags IsLocationTrackedByQuest (Location location)
 
virtual int GetCurrentProgress ()
 
virtual int GetMaxProgress ()
 
override string ToString ()
 
virtual string GetPrefabName ()
 
void AddTrackedObject (ITrackableCampaignObject trackedObject)
 
void RemoveTrackedObject (ITrackableCampaignObject trackedObject)
 
bool IsTracked (ITrackableCampaignObject o)
 
void ToggleTrackedObjects ()
 
void AddGameMenu (string menuId, TextObject menuText, OnInitDelegate initDelegate, GameOverlays.MenuOverlayType overlay=GameOverlays.MenuOverlayType.None, GameMenu.MenuFlags menuFlags=GameMenu.MenuFlags.None)
 
void AddGameMenuOption (string menuId, string optionId, TextObject optionText, GameMenuOption.OnConditionDelegate condition, GameMenuOption.OnConsequenceDelegate consequence, bool Isleave=false, int index=-1)
 
void ChangeQuestDueTime (CampaignTime questDueTime)
 
virtual void OnFailed ()
 
virtual void OnCanceled ()
 
virtual bool QuestPreconditions ()
 
virtual void OnHeroCanHaveQuestOrIssueInfoIsRequested (Hero hero, ref bool result)
 
virtual void OnHeroCanMarryInfoIsRequested (Hero hero, ref bool result)
 
virtual void OnHeroCanLeadPartyInfoIsRequested (Hero hero, ref bool result)
 
virtual void OnHeroCanHavePartyRoleOrBeGovernorInfoIsRequested (Hero hero, ref bool result)
 
virtual void OnHeroCanDieInfoIsRequested (Hero hero, KillCharacterAction.KillCharacterActionDetail causeOfDeath, ref bool result)
 
virtual void OnHeroCanBecomePrisonerInfoIsRequested (Hero hero, ref bool result)
 
virtual void OnHeroCanBeSelectedInInventoryInfoIsRequested (Hero hero, ref bool result)
 
virtual void OnHeroCanMoveToSettlementInfoIsRequested (Hero hero, ref bool result)
 
- Public Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
 MBObjectBase ()
 
 MBObjectBase (MBObjectBase other)
 
 MBObjectBase (string stringId)
 
void AfterInitialized ()
 
virtual void AfterRegister ()
 
virtual void Initialize ()
 
virtual void Deserialize (MBObjectManager objectManager, XmlNode node)
 
override int GetHashCode ()
 
virtual TextObject GetName ()
 
void PreAfterLoadInternal ()
 
void AfterLoadInternal ()
 
void OnRegistered ()
 
void OnUnregistered ()
 

Public Attributes

readonly int RewardGold
 

Protected Member Functions

void SetDialogs ()
 
 QuestBase (string questId, Hero questGiver, CampaignTime duration, int rewardGold)
 
void InitializeQuestOnCreation ()
 
void AddTask (QuestTaskBase task)
 
void RemoveLog (JournalLog logToRemove)
 
void UpdateQuestTaskStage (JournalLog questLog, int currentProgress)
 
void InitializeQuestOnGameLoad ()
 
void HourlyTick ()
 
virtual void RegisterEvents ()
 
virtual void OnStartQuest ()
 
virtual void OnCompleteWithSuccess ()
 
virtual void OnFinalize ()
 
virtual void OnTimedOut ()
 
virtual void OnBeforeTimedOut (ref bool completeWithSuccess, ref bool doNotResolveTheQuest)
 
virtual void OnBetrayal ()
 
- Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Protected Attributes

DialogFlow OfferDialogFlow
 
DialogFlow DiscussDialogFlow
 
DialogFlow QuestCharacterDialogFlow
 

Properties

CampaignTime QuestDueTime [get, protected set]
 
MBReadOnlyList< QuestTaskBaseTaskList [get]
 
MBReadOnlyList< JournalLogJournalEntries [get]
 
bool IsTrackEnabled [get]
 
bool IsOngoing [get]
 
bool IsFinalized [get]
 
bool IsThereDiscussDialogFlow [get]
 
Hero QuestGiver [get]
 
TextObject Title [get]
 
bool IsRemainingTimeHidden [get]
 
virtual int RelationshipChangeWithQuestGiver = 0 [get, protected set]
 
virtual bool IsSpecialQuest [get]
 
virtual TextObject TargetHeroDisappearedLogText [get]
 
virtual TextObject TargetHeroDiedLogText [get]
 
- Properties inherited from TaleWorlds.ObjectSystem.MBObjectBase
string StringId [get, set]
 
MBGUID Id [get, set]
 
bool IsInitialized [get]
 
bool IsReady [get, set]
 

Member Enumeration Documentation

◆ QuestCompleteDetails

Enumerator
Invalid 
Success 
Cancel 
Fail 
Timeout 
FailWithBetrayal 

Constructor & Destructor Documentation

◆ QuestBase()

TaleWorlds.CampaignSystem.QuestBase.QuestBase ( string questId,
Hero questGiver,
CampaignTime duration,
int rewardGold )
protected

Member Function Documentation

◆ SetDialogs()

void TaleWorlds.CampaignSystem.QuestBase.SetDialogs ( )
abstractprotected

◆ StartQuest()

void TaleWorlds.CampaignSystem.QuestBase.StartQuest ( )

◆ CompleteQuestWithSuccess()

void TaleWorlds.CampaignSystem.QuestBase.CompleteQuestWithSuccess ( )

◆ CompleteQuestWithTimeOut()

void TaleWorlds.CampaignSystem.QuestBase.CompleteQuestWithTimeOut ( TextObject timeOutLog = null)

◆ CompleteQuestWithFail()

void TaleWorlds.CampaignSystem.QuestBase.CompleteQuestWithFail ( TextObject cancelLog = null)

◆ CompleteQuestWithBetrayal()

void TaleWorlds.CampaignSystem.QuestBase.CompleteQuestWithBetrayal ( TextObject betrayLog = null)

◆ CompleteQuestWithCancel()

void TaleWorlds.CampaignSystem.QuestBase.CompleteQuestWithCancel ( TextObject cancelLog = null)

◆ InitializeQuestOnCreation()

void TaleWorlds.CampaignSystem.QuestBase.InitializeQuestOnCreation ( )
protected

◆ InitializeQuestOnLoadWithQuestManager()

void TaleWorlds.CampaignSystem.QuestBase.InitializeQuestOnLoadWithQuestManager ( )

◆ AddTask()

void TaleWorlds.CampaignSystem.QuestBase.AddTask ( QuestTaskBase task)
protected

◆ AddLog()

JournalLog TaleWorlds.CampaignSystem.QuestBase.AddLog ( TextObject text,
bool hideInformation = false )

◆ AddDiscreteLog()

JournalLog TaleWorlds.CampaignSystem.QuestBase.AddDiscreteLog ( TextObject text,
TextObject taskName,
int currentProgress,
int targetProgress,
TextObject shortText = null,
bool hideInformation = false )

◆ AddTwoWayContinuousLog()

JournalLog TaleWorlds.CampaignSystem.QuestBase.AddTwoWayContinuousLog ( TextObject text,
TextObject taskName,
int currentProgress,
int range,
bool hideInformation = false )

◆ RemoveLog()

void TaleWorlds.CampaignSystem.QuestBase.RemoveLog ( JournalLog logToRemove)
protected

◆ UpdateQuestTaskStage()

void TaleWorlds.CampaignSystem.QuestBase.UpdateQuestTaskStage ( JournalLog questLog,
int currentProgress )
protected

◆ IsLocationTrackedByQuest()

◆ GetCurrentProgress()

virtual int TaleWorlds.CampaignSystem.QuestBase.GetCurrentProgress ( )
virtual

◆ GetMaxProgress()

virtual int TaleWorlds.CampaignSystem.QuestBase.GetMaxProgress ( )
virtual

◆ ToString()

override string TaleWorlds.CampaignSystem.QuestBase.ToString ( )

◆ GetPrefabName()

virtual string TaleWorlds.CampaignSystem.QuestBase.GetPrefabName ( )
virtual

◆ AddTrackedObject()

void TaleWorlds.CampaignSystem.QuestBase.AddTrackedObject ( ITrackableCampaignObject trackedObject)

◆ RemoveTrackedObject()

void TaleWorlds.CampaignSystem.QuestBase.RemoveTrackedObject ( ITrackableCampaignObject trackedObject)

◆ IsTracked()

bool TaleWorlds.CampaignSystem.QuestBase.IsTracked ( ITrackableCampaignObject o)

◆ ToggleTrackedObjects()

void TaleWorlds.CampaignSystem.QuestBase.ToggleTrackedObjects ( )

◆ AddGameMenu()

void TaleWorlds.CampaignSystem.QuestBase.AddGameMenu ( string menuId,
TextObject menuText,
OnInitDelegate initDelegate,
GameOverlays.MenuOverlayType overlay = GameOverlays::MenuOverlayType::None,
GameMenu.MenuFlags menuFlags = GameMenu::MenuFlags::None )

◆ AddGameMenuOption()

void TaleWorlds.CampaignSystem.QuestBase.AddGameMenuOption ( string menuId,
string optionId,
TextObject optionText,
GameMenuOption.OnConditionDelegate condition,
GameMenuOption.OnConsequenceDelegate consequence,
bool Isleave = false,
int index = -1 )

◆ ChangeQuestDueTime()

void TaleWorlds.CampaignSystem.QuestBase.ChangeQuestDueTime ( CampaignTime questDueTime)

◆ InitializeQuestOnGameLoad()

void TaleWorlds.CampaignSystem.QuestBase.InitializeQuestOnGameLoad ( )
abstractprotected

◆ HourlyTick()

void TaleWorlds.CampaignSystem.QuestBase.HourlyTick ( )
abstractprotected

◆ RegisterEvents()

virtual void TaleWorlds.CampaignSystem.QuestBase.RegisterEvents ( )
protectedvirtual

Reimplemented in SandBox.Issues.FamilyFeudIssueBehavior.FamilyFeudIssueQuest, SandBox.Issues.NotableWantsDaughterFoundIssueBehavior.NotableWantsDaughterFoundIssueQuest, SandBox.Issues.ProdigalSonIssueBehavior.ProdigalSonIssueQuest, SandBox.Issues.RivalGangMovingInIssueBehavior.RivalGangMovingInIssueQuest, SandBox.Issues.RuralNotableInnAndOutIssueBehavior.RuralNotableInnAndOutIssueQuest, SandBox.Issues.SnareTheWealthyIssueBehavior.SnareTheWealthyIssueQuest, SandBox.Issues.TheSpyPartyIssueQuestBehavior.TheSpyPartyIssueQuest, StoryMode.Quests.FirstPhase.ArzagosBannerPieceQuest, StoryMode.Quests.FirstPhase.AssembleTheBannerQuest, StoryMode.Quests.FirstPhase.BannerInvestigationQuest, StoryMode.Quests.FirstPhase.CreateKingdomQuest, StoryMode.Quests.FirstPhase.IstianasBannerPieceQuest, StoryMode.Quests.FirstPhase.SupportKingdomQuest, StoryMode.Quests.PlayerClanQuests.RebuildPlayerClanQuest, StoryMode.Quests.PlayerClanQuests.RescueFamilyQuestBehavior.RescueFamilyQuest, StoryMode.Quests.SecondPhase.AssembleEmpireQuestBehavior.AssembleEmpireQuest, StoryMode.Quests.SecondPhase.ConspiracyProgressQuest, StoryMode.Quests.SecondPhase.ConspiracyQuestBase, StoryMode.Quests.SecondPhase.WeakenEmpireQuestBehavior.WeakenEmpireQuest, StoryMode.Quests.ThirdPhase.DefeatTheConspiracyQuestBehavior.DefeatTheConspiracyQuest, StoryMode.Quests.TutorialPhase.FindHideoutTutorialQuest, StoryMode.Quests.TutorialPhase.LocateAndRescueTravellerTutorialQuest, StoryMode.Quests.TutorialPhase.TalkToTheHeadmanTutorialQuest, StoryMode.Quests.TutorialPhase.TravelToVillageTutorialQuest, TaleWorlds.CampaignSystem.Issues.ArmyNeedsSuppliesIssueBehavior.ArmyNeedsSuppliesIssueQuest, TaleWorlds.CampaignSystem.Issues.ArtisanCantSellProductsAtAFairPriceIssueBehavior.ArtisanCantSellProductsAtAFairPriceIssueQuest, TaleWorlds.CampaignSystem.Issues.BettingFraudIssueBehavior.BettingFraudQuest, TaleWorlds.CampaignSystem.Issues.CapturedByBountyHuntersIssueBehavior.CapturedByBountyHuntersIssueQuest, TaleWorlds.CampaignSystem.Issues.CaravanAmbushIssueBehavior.CaravanAmbushIssueQuest, TaleWorlds.CampaignSystem.Issues.EscortMerchantCaravanIssueBehavior.EscortMerchantCaravanIssueQuest, TaleWorlds.CampaignSystem.Issues.ExtortionByDesertersIssueBehavior.ExtortionByDesertersIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsSpecialWeaponsIssueBehavior.GangLeaderNeedsSpecialWeaponsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsToOffloadStolenGoodsIssueBehavior.GangLeaderNeedsToOffloadStolenGoodsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsWeaponsIssueQuestBehavior.GangLeaderNeedsWeaponsIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanNeedsGrainIssueBehavior.HeadmanNeedsGrainIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanNeedsToDeliverAHerdIssueBehavior.HeadmanNeedsToDeliverAHerdIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanVillageNeedsDraughtAnimalsIssueBehavior.HeadmanVillageNeedsDraughtAnimalsIssueQuest, TaleWorlds.CampaignSystem.Issues.LadysKnightOutIssueBehavior.LadysKnightOutIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordCompanyOfTroubleIssueBehavior.LandLordCompanyOfTroubleIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordNeedsAccessToVillageCommonsIssueBehavior.LandlordNeedsAccessToVillageCommonsIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordNeedsManualLaborersIssueBehavior.LandLordNeedsManualLaborersIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordTheArtOfTheTradeIssueBehavior.LandLordTheArtOfTheTradeIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordTrainingForRetainersIssueBehavior.LandlordTrainingForRetainersIssueQuest, TaleWorlds.CampaignSystem.Issues.LesserNobleRevoltIssueBehavior.LesserNobleRevoltIssueQuest, TaleWorlds.CampaignSystem.Issues.LordNeedsGarrisonTroopsIssueQuestBehavior.LordNeedsGarrisonTroopsIssueQuest, TaleWorlds.CampaignSystem.Issues.LordNeedsHorsesIssueBehavior.LordNeedsHorsesIssueQuest, TaleWorlds.CampaignSystem.Issues.LordsNeedsTutorIssueBehavior.LordsNeedsTutorIssueQuest, TaleWorlds.CampaignSystem.Issues.LordWantsRivalCapturedIssueBehavior.LordWantsRivalCapturedIssueQuest, TaleWorlds.CampaignSystem.Issues.MerchantArmyOfPoachersIssueBehavior.MerchantArmyOfPoachersIssueQuest, TaleWorlds.CampaignSystem.Issues.MerchantNeedsHelpWithOutlawsIssueQuestBehavior.MerchantNeedsHelpWithOutlawsIssueQuest, TaleWorlds.CampaignSystem.Issues.NearbyBanditBaseIssueBehavior.NearbyBanditBaseIssueQuest, TaleWorlds.CampaignSystem.Issues.RaidAnEnemyTerritoryIssueBehavior.RaidAnEnemyTerritoryQuest, TaleWorlds.CampaignSystem.Issues.RevenueFarmingIssueBehavior.RevenueFarmingIssueQuest, TaleWorlds.CampaignSystem.Issues.ScoutEnemyGarrisonsIssueBehavior.ScoutEnemyGarrisonsQuest, TaleWorlds.CampaignSystem.Issues.SmugglersIssueBehavior.SmugglersIssueQuest, TaleWorlds.CampaignSystem.Issues.TheConquestOfSettlementIssueBehavior.TheConquestOfSettlementIssueQuest, TaleWorlds.CampaignSystem.Issues.VillageNeedsCraftingMaterialsIssueBehavior.VillageNeedsCraftingMaterialsIssueQuest, and TaleWorlds.CampaignSystem.Issues.VillageNeedsToolsIssueBehavior.VillageNeedsToolsIssueQuest.

◆ OnStartQuest()

◆ OnCompleteWithSuccess()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnCompleteWithSuccess ( )
protectedvirtual

Reimplemented in SandBox.Issues.RuralNotableInnAndOutIssueBehavior.RuralNotableInnAndOutIssueQuest, StoryMode.Quests.FirstPhase.AssembleTheBannerQuest, StoryMode.Quests.FirstPhase.BannerInvestigationQuest, StoryMode.Quests.FirstPhase.MeetWithArzagosQuest, StoryMode.Quests.FirstPhase.MeetWithIstianaQuest, StoryMode.Quests.PlayerClanQuests.RebuildPlayerClanQuest, StoryMode.Quests.PlayerClanQuests.RescueFamilyQuestBehavior.RescueFamilyQuest, StoryMode.Quests.SecondPhase.ConspiracyQuestBase, StoryMode.Quests.TutorialPhase.FindHideoutTutorialQuest, StoryMode.Quests.TutorialPhase.LocateAndRescueTravellerTutorialQuest, StoryMode.Quests.TutorialPhase.TalkToTheHeadmanTutorialQuest, StoryMode.Quests.TutorialPhase.TravelToVillageTutorialQuest, TaleWorlds.CampaignSystem.Issues.ArmyNeedsSuppliesIssueBehavior.ArmyNeedsSuppliesIssueQuest, TaleWorlds.CampaignSystem.Issues.ArtisanCantSellProductsAtAFairPriceIssueBehavior.ArtisanCantSellProductsAtAFairPriceIssueQuest, TaleWorlds.CampaignSystem.Issues.ArtisanOverpricedGoodsIssueBehavior.ArtisanOverpricedGoodsIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanNeedsToDeliverAHerdIssueBehavior.HeadmanNeedsToDeliverAHerdIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanVillageNeedsDraughtAnimalsIssueBehavior.HeadmanVillageNeedsDraughtAnimalsIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordNeedsAccessToVillageCommonsIssueBehavior.LandlordNeedsAccessToVillageCommonsIssueQuest, TaleWorlds.CampaignSystem.Issues.LordNeedsHorsesIssueBehavior.LordNeedsHorsesIssueQuest, and TaleWorlds.CampaignSystem.Issues.LordsNeedsTutorIssueBehavior.LordsNeedsTutorIssueQuest.

◆ OnFinalize()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnFinalize ( )
protectedvirtual

Reimplemented in SandBox.Issues.FamilyFeudIssueBehavior.FamilyFeudIssueQuest, SandBox.Issues.NotableWantsDaughterFoundIssueBehavior.NotableWantsDaughterFoundIssueQuest, SandBox.Issues.ProdigalSonIssueBehavior.ProdigalSonIssueQuest, SandBox.Issues.RivalGangMovingInIssueBehavior.RivalGangMovingInIssueQuest, SandBox.Issues.RuralNotableInnAndOutIssueBehavior.RuralNotableInnAndOutIssueQuest, SandBox.Issues.SnareTheWealthyIssueBehavior.SnareTheWealthyIssueQuest, StoryMode.Quests.FirstPhase.ArzagosBannerPieceQuest, StoryMode.Quests.FirstPhase.IstianasBannerPieceQuest, StoryMode.Quests.PlayerClanQuests.RescueFamilyQuestBehavior.RescueFamilyQuest, StoryMode.Quests.SecondPhase.ConspiracyProgressQuest, TaleWorlds.CampaignSystem.Issues.ArtisanCantSellProductsAtAFairPriceIssueBehavior.ArtisanCantSellProductsAtAFairPriceIssueQuest, TaleWorlds.CampaignSystem.Issues.CapturedByBountyHuntersIssueBehavior.CapturedByBountyHuntersIssueQuest, TaleWorlds.CampaignSystem.Issues.EscortMerchantCaravanIssueBehavior.EscortMerchantCaravanIssueQuest, TaleWorlds.CampaignSystem.Issues.ExtortionByDesertersIssueBehavior.ExtortionByDesertersIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsToOffloadStolenGoodsIssueBehavior.GangLeaderNeedsToOffloadStolenGoodsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsWeaponsIssueQuestBehavior.GangLeaderNeedsWeaponsIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanNeedsToDeliverAHerdIssueBehavior.HeadmanNeedsToDeliverAHerdIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanVillageNeedsDraughtAnimalsIssueBehavior.HeadmanVillageNeedsDraughtAnimalsIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordCompanyOfTroubleIssueBehavior.LandLordCompanyOfTroubleIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordNeedsAccessToVillageCommonsIssueBehavior.LandlordNeedsAccessToVillageCommonsIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordNeedsManualLaborersIssueBehavior.LandLordNeedsManualLaborersIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordTheArtOfTheTradeIssueBehavior.LandLordTheArtOfTheTradeIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordTrainingForRetainersIssueBehavior.LandlordTrainingForRetainersIssueQuest, TaleWorlds.CampaignSystem.Issues.LesserNobleRevoltIssueBehavior.LesserNobleRevoltIssueQuest, TaleWorlds.CampaignSystem.Issues.LordNeedsHorsesIssueBehavior.LordNeedsHorsesIssueQuest, TaleWorlds.CampaignSystem.Issues.LordsNeedsTutorIssueBehavior.LordsNeedsTutorIssueQuest, TaleWorlds.CampaignSystem.Issues.MerchantArmyOfPoachersIssueBehavior.MerchantArmyOfPoachersIssueQuest, TaleWorlds.CampaignSystem.Issues.MerchantNeedsHelpWithOutlawsIssueQuestBehavior.MerchantNeedsHelpWithOutlawsIssueQuest, and TaleWorlds.CampaignSystem.Issues.RevenueFarmingIssueBehavior.RevenueFarmingIssueQuest.

◆ OnFailed()

◆ OnTimedOut()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnTimedOut ( )
protectedvirtual

Reimplemented in SandBox.Issues.FamilyFeudIssueBehavior.FamilyFeudIssueQuest, SandBox.Issues.NotableWantsDaughterFoundIssueBehavior.NotableWantsDaughterFoundIssueQuest, SandBox.Issues.ProdigalSonIssueBehavior.ProdigalSonIssueQuest, SandBox.Issues.RivalGangMovingInIssueBehavior.RivalGangMovingInIssueQuest, SandBox.Issues.RuralNotableInnAndOutIssueBehavior.RuralNotableInnAndOutIssueQuest, SandBox.Issues.SnareTheWealthyIssueBehavior.SnareTheWealthyIssueQuest, SandBox.Issues.TheSpyPartyIssueQuestBehavior.TheSpyPartyIssueQuest, StoryMode.Quests.PlayerClanQuests.RescueFamilyQuestBehavior.RescueFamilyQuest, StoryMode.StoryModeQuestBase, TaleWorlds.CampaignSystem.Issues.ArmyNeedsSuppliesIssueBehavior.ArmyNeedsSuppliesIssueQuest, TaleWorlds.CampaignSystem.Issues.ArtisanCantSellProductsAtAFairPriceIssueBehavior.ArtisanCantSellProductsAtAFairPriceIssueQuest, TaleWorlds.CampaignSystem.Issues.ArtisanOverpricedGoodsIssueBehavior.ArtisanOverpricedGoodsIssueQuest, TaleWorlds.CampaignSystem.Issues.BettingFraudIssueBehavior.BettingFraudQuest, TaleWorlds.CampaignSystem.Issues.CapturedByBountyHuntersIssueBehavior.CapturedByBountyHuntersIssueQuest, TaleWorlds.CampaignSystem.Issues.CaravanAmbushIssueBehavior.CaravanAmbushIssueQuest, TaleWorlds.CampaignSystem.Issues.EscortMerchantCaravanIssueBehavior.EscortMerchantCaravanIssueQuest, TaleWorlds.CampaignSystem.Issues.ExtortionByDesertersIssueBehavior.ExtortionByDesertersIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsRecruitsIssueBehavior.GangLeaderNeedsRecruitsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsSpecialWeaponsIssueBehavior.GangLeaderNeedsSpecialWeaponsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsToOffloadStolenGoodsIssueBehavior.GangLeaderNeedsToOffloadStolenGoodsIssueQuest, TaleWorlds.CampaignSystem.Issues.GangLeaderNeedsWeaponsIssueQuestBehavior.GangLeaderNeedsWeaponsIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanNeedsGrainIssueBehavior.HeadmanNeedsGrainIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanNeedsToDeliverAHerdIssueBehavior.HeadmanNeedsToDeliverAHerdIssueQuest, TaleWorlds.CampaignSystem.Issues.HeadmanVillageNeedsDraughtAnimalsIssueBehavior.HeadmanVillageNeedsDraughtAnimalsIssueQuest, TaleWorlds.CampaignSystem.Issues.LadysKnightOutIssueBehavior.LadysKnightOutIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordNeedsAccessToVillageCommonsIssueBehavior.LandlordNeedsAccessToVillageCommonsIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordNeedsManualLaborersIssueBehavior.LandLordNeedsManualLaborersIssueQuest, TaleWorlds.CampaignSystem.Issues.LandLordTheArtOfTheTradeIssueBehavior.LandLordTheArtOfTheTradeIssueQuest, TaleWorlds.CampaignSystem.Issues.LandlordTrainingForRetainersIssueBehavior.LandlordTrainingForRetainersIssueQuest, TaleWorlds.CampaignSystem.Issues.LesserNobleRevoltIssueBehavior.LesserNobleRevoltIssueQuest, TaleWorlds.CampaignSystem.Issues.LordNeedsGarrisonTroopsIssueQuestBehavior.LordNeedsGarrisonTroopsIssueQuest, TaleWorlds.CampaignSystem.Issues.LordNeedsHorsesIssueBehavior.LordNeedsHorsesIssueQuest, TaleWorlds.CampaignSystem.Issues.LordsNeedsTutorIssueBehavior.LordsNeedsTutorIssueQuest, TaleWorlds.CampaignSystem.Issues.LordWantsRivalCapturedIssueBehavior.LordWantsRivalCapturedIssueQuest, TaleWorlds.CampaignSystem.Issues.MerchantArmyOfPoachersIssueBehavior.MerchantArmyOfPoachersIssueQuest, TaleWorlds.CampaignSystem.Issues.MerchantNeedsHelpWithOutlawsIssueQuestBehavior.MerchantNeedsHelpWithOutlawsIssueQuest, TaleWorlds.CampaignSystem.Issues.NearbyBanditBaseIssueBehavior.NearbyBanditBaseIssueQuest, TaleWorlds.CampaignSystem.Issues.RaidAnEnemyTerritoryIssueBehavior.RaidAnEnemyTerritoryQuest, TaleWorlds.CampaignSystem.Issues.RevenueFarmingIssueBehavior.RevenueFarmingIssueQuest, TaleWorlds.CampaignSystem.Issues.ScoutEnemyGarrisonsIssueBehavior.ScoutEnemyGarrisonsQuest, TaleWorlds.CampaignSystem.Issues.SmugglersIssueBehavior.SmugglersIssueQuest, TaleWorlds.CampaignSystem.Issues.TheConquestOfSettlementIssueBehavior.TheConquestOfSettlementIssueQuest, TaleWorlds.CampaignSystem.Issues.VillageNeedsCraftingMaterialsIssueBehavior.VillageNeedsCraftingMaterialsIssueQuest, and TaleWorlds.CampaignSystem.Issues.VillageNeedsToolsIssueBehavior.VillageNeedsToolsIssueQuest.

◆ OnBeforeTimedOut()

◆ OnBetrayal()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnBetrayal ( )
protectedvirtual

◆ OnCanceled()

◆ QuestPreconditions()

virtual bool TaleWorlds.CampaignSystem.QuestBase.QuestPreconditions ( )
virtual

◆ OnHeroCanHaveQuestOrIssueInfoIsRequested()

◆ OnHeroCanMarryInfoIsRequested()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnHeroCanMarryInfoIsRequested ( Hero hero,
ref bool result )
virtual

◆ OnHeroCanLeadPartyInfoIsRequested()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnHeroCanLeadPartyInfoIsRequested ( Hero hero,
ref bool result )
virtual

◆ OnHeroCanHavePartyRoleOrBeGovernorInfoIsRequested()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnHeroCanHavePartyRoleOrBeGovernorInfoIsRequested ( Hero hero,
ref bool result )
virtual

◆ OnHeroCanDieInfoIsRequested()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnHeroCanDieInfoIsRequested ( Hero hero,
KillCharacterAction.KillCharacterActionDetail causeOfDeath,
ref bool result )
virtual

◆ OnHeroCanBecomePrisonerInfoIsRequested()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnHeroCanBecomePrisonerInfoIsRequested ( Hero hero,
ref bool result )
virtual

◆ OnHeroCanBeSelectedInInventoryInfoIsRequested()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnHeroCanBeSelectedInInventoryInfoIsRequested ( Hero hero,
ref bool result )
virtual

◆ OnHeroCanMoveToSettlementInfoIsRequested()

virtual void TaleWorlds.CampaignSystem.QuestBase.OnHeroCanMoveToSettlementInfoIsRequested ( Hero hero,
ref bool result )
virtual

Member Data Documentation

◆ OfferDialogFlow

DialogFlow TaleWorlds.CampaignSystem.QuestBase.OfferDialogFlow
protected

◆ DiscussDialogFlow

DialogFlow TaleWorlds.CampaignSystem.QuestBase.DiscussDialogFlow
protected

◆ QuestCharacterDialogFlow

DialogFlow TaleWorlds.CampaignSystem.QuestBase.QuestCharacterDialogFlow
protected

◆ RewardGold

readonly int TaleWorlds.CampaignSystem.QuestBase.RewardGold

Property Documentation

◆ QuestDueTime

CampaignTime TaleWorlds.CampaignSystem.QuestBase.QuestDueTime
getprotected set

◆ TaskList

MBReadOnlyList<QuestTaskBase> TaleWorlds.CampaignSystem.QuestBase.TaskList
get

◆ JournalEntries

MBReadOnlyList<JournalLog> TaleWorlds.CampaignSystem.QuestBase.JournalEntries
get

◆ IsTrackEnabled

bool TaleWorlds.CampaignSystem.QuestBase.IsTrackEnabled
get

◆ IsOngoing

bool TaleWorlds.CampaignSystem.QuestBase.IsOngoing
get

◆ IsFinalized

bool TaleWorlds.CampaignSystem.QuestBase.IsFinalized
get

◆ IsThereDiscussDialogFlow

bool TaleWorlds.CampaignSystem.QuestBase.IsThereDiscussDialogFlow
get

◆ QuestGiver

Hero TaleWorlds.CampaignSystem.QuestBase.QuestGiver
get

◆ Title

TextObject TaleWorlds.CampaignSystem.QuestBase.Title
getabstract

◆ IsRemainingTimeHidden

bool TaleWorlds.CampaignSystem.QuestBase.IsRemainingTimeHidden
getabstract

◆ RelationshipChangeWithQuestGiver

virtual int TaleWorlds.CampaignSystem.QuestBase.RelationshipChangeWithQuestGiver = 0
getprotected set

◆ IsSpecialQuest

virtual bool TaleWorlds.CampaignSystem.QuestBase.IsSpecialQuest
get

◆ TargetHeroDisappearedLogText

virtual TextObject TaleWorlds.CampaignSystem.QuestBase.TargetHeroDisappearedLogText
getprotected

◆ TargetHeroDiedLogText

virtual TextObject TaleWorlds.CampaignSystem.QuestBase.TargetHeroDiedLogText
getprotected