|
|
|
@ -61,9 +61,10 @@ MWDialogue::SelectWrapper::Function MWDialogue::SelectWrapper::decodeFunction()
|
|
|
|
|
|
|
|
|
|
switch (index)
|
|
|
|
|
{
|
|
|
|
|
// 0, 1
|
|
|
|
|
case 0: return Function_RankLow;
|
|
|
|
|
case 1: return Function_RankHigh;
|
|
|
|
|
case 2: return Function_RankRequirement;
|
|
|
|
|
// 3
|
|
|
|
|
case 3: return Function_Reputation;
|
|
|
|
|
case 4: return Function_HealthPercent;
|
|
|
|
|
case 5: return Function_PCReputation;
|
|
|
|
|
case 6: return Function_PcLevel;
|
|
|
|
@ -82,20 +83,24 @@ MWDialogue::SelectWrapper::Function MWDialogue::SelectWrapper::decodeFunction()
|
|
|
|
|
case 44: return Function_SameGender;
|
|
|
|
|
case 45: return Function_SameRace;
|
|
|
|
|
case 46: return Function_SameFaction;
|
|
|
|
|
// 47-49
|
|
|
|
|
case 47: return Function_FactionRankDiff;
|
|
|
|
|
case 48: return Function_Detected;
|
|
|
|
|
case 49: return Function_Alarmed;
|
|
|
|
|
case 50: return Function_Choice;
|
|
|
|
|
case 51: case 52: case 53: case 54: case 55: case 56: case 57: return Function_PcAttribute;
|
|
|
|
|
case 58: return Function_PcCorprus;
|
|
|
|
|
// 59
|
|
|
|
|
case 59: return Function_Weather;
|
|
|
|
|
case 60: return Function_PcVampire;
|
|
|
|
|
case 61: return Function_Level;
|
|
|
|
|
// 62
|
|
|
|
|
case 62: return Function_Attacked;
|
|
|
|
|
case 63: return Function_TalkedToPc;
|
|
|
|
|
case 64: return Function_PcDynamicStat;
|
|
|
|
|
// 65
|
|
|
|
|
case 65: return Function_CreatureTargetted;
|
|
|
|
|
case 66: return Function_FriendlyHit;
|
|
|
|
|
case 67: case 68: case 69: case 70: return Function_AiSetting;
|
|
|
|
|
// 71
|
|
|
|
|
case 71: return Function_ShouldAttack;
|
|
|
|
|
case 72: return Function_PCWerewolf;
|
|
|
|
|
case 73: return Function_WerewolfKills;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Function_False;
|
|
|
|
@ -204,6 +209,10 @@ MWDialogue::SelectWrapper::Type MWDialogue::SelectWrapper::getType() const
|
|
|
|
|
Function_PcCrimeLevel,
|
|
|
|
|
Function_RankRequirement,
|
|
|
|
|
Function_Level, Function_PCReputation,
|
|
|
|
|
Function_Weather,
|
|
|
|
|
Function_Reputation, Function_FactionRankDiff,
|
|
|
|
|
Function_WerewolfKills,
|
|
|
|
|
Function_RankLow, Function_RankHigh,
|
|
|
|
|
Function_None // end marker
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -223,6 +232,10 @@ MWDialogue::SelectWrapper::Type MWDialogue::SelectWrapper::getType() const
|
|
|
|
|
Function_PcCommonDisease, Function_PcBlightDisease, Function_PcCorprus,
|
|
|
|
|
Function_PcExpelled,
|
|
|
|
|
Function_PcVampire, Function_TalkedToPc,
|
|
|
|
|
Function_Alarmed, Function_Detected,
|
|
|
|
|
Function_Attacked, Function_ShouldAttack,
|
|
|
|
|
Function_CreatureTargetted,
|
|
|
|
|
Function_PCWerewolf,
|
|
|
|
|
Function_None // end marker
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -261,6 +274,9 @@ bool MWDialogue::SelectWrapper::isNpcOnly() const
|
|
|
|
|
Function_PcVampire,
|
|
|
|
|
Function_PcCrimeLevel,
|
|
|
|
|
Function_RankRequirement,
|
|
|
|
|
Function_Reputation, Function_FactionRankDiff,
|
|
|
|
|
Function_PCWerewolf, Function_WerewolfKills,
|
|
|
|
|
Function_RankLow, Function_RankHigh,
|
|
|
|
|
Function_None // end marker
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|