mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-05 15:55:45 +00:00
Add persuasion GMST to ensureNeededRecords (Fixes #1817)
This commit is contained in:
parent
322480862b
commit
e508450c1c
@ -290,6 +290,9 @@ namespace MWDialogue
|
||||
std::string title;
|
||||
if (dialogue.mType==ESM::Dialogue::Persuasion)
|
||||
{
|
||||
// Determine GMST from dialogue topic. GMSTs are:
|
||||
// sAdmireSuccess, sAdmireFail, sIntimidateSuccess, sIntimidateFail,
|
||||
// sTauntSuccess, sTauntFail, sBribeSuccess, sBribeFail
|
||||
std::string modifiedTopic = "s" + topic;
|
||||
|
||||
modifiedTopic.erase (std::remove (modifiedTopic.begin(), modifiedTopic.end(), ' '), modifiedTopic.end());
|
||||
|
@ -372,6 +372,14 @@ namespace MWWorld
|
||||
gmst["sHard"] = ESM::Variant("Hard");
|
||||
gmst["sDeleteNote"] = ESM::Variant("Delete Note");
|
||||
gmst["sEditNote"] = ESM::Variant("Edit Note");
|
||||
gmst["sAdmireSuccess"] = ESM::Variant("Admire Success");
|
||||
gmst["sAdmireFail"] = ESM::Variant("Admire Fail");
|
||||
gmst["sIntimidateSuccess"] = ESM::Variant("Intimidate Success");
|
||||
gmst["sIntimidateFail"] = ESM::Variant("Intimidate Fail");
|
||||
gmst["sTauntSuccess"] = ESM::Variant("Taunt Success");
|
||||
gmst["sTauntFail"] = ESM::Variant("Taunt Fail");
|
||||
gmst["sBribeSuccess"] = ESM::Variant("Bribe Success");
|
||||
gmst["sBribeFail"] = ESM::Variant("Bribe Fail");
|
||||
|
||||
// Werewolf (BM)
|
||||
gmst["fWereWolfRunMult"] = ESM::Variant(1.f);
|
||||
|
Loading…
Reference in New Issue
Block a user