2025/05/11 Update

Added confirmation to Cohort creation conversation.
Fixed Hound Archon's Aura of Menace.
Added Swarm of Arrows epic feat.
Fixed HiPS on Brownie & Naz Rakshasa.
Fixed 2DA Name error for Epic Weapon Focus: Maul.
Clarified human only feats in TLK.
Added new web enhancement Adventure Locale.
This commit is contained in:
Jaysyn904
2025-05-11 23:03:04 -04:00
parent f384d43821
commit 66de6daa94
106 changed files with 49918 additions and 47779 deletions

View File

@@ -78,6 +78,10 @@ const int STAGE_SPELL_SHOPS_ALPHABETICAL_FILTER = 49;
const int STAGE_PLANTSHAPE_SLOTS = 50;
const int STAGE_PLANTSHAPE_SHAPE = 51;
// Confirmation stage for registering cohort
const int STAGE_REGISTER_CONFIRM = 200;
const int STAGE_CDKEY_ADD = 509;
const int STAGE_APPEARANCE = 510;
const int STAGE_HEAD = 520;
@@ -713,7 +717,15 @@ void main()
MarkStageSetUp(nStage, oPC);
}
else if(nStage == STAGE_LEADERSHIP_ADD_STANDARD)
else if(nStage == STAGE_REGISTER_CONFIRM)
{
SetHeader("Are you sure you want to register this character as a cohort?");
AddChoice("Yes", 1);
AddChoice("No", CHOICE_RETURN_TO_PREVIOUS);
MarkStageSetUp(nStage, oPC);
SetDefaultTokens();
}
else if(nStage == STAGE_LEADERSHIP_ADD_STANDARD)
{
SetHeader("Select a cohort:");
@@ -1344,11 +1356,17 @@ void main()
}
else if(nChoice == 5)
nStage = STAGE_TEFLAMMAR_SHADOWLORD;
else if(nChoice == 6)
else if(nChoice == 6)
{
// Redirect to confirmation stage
nStage = STAGE_REGISTER_CONFIRM;
MarkStageNotSetUp(nStage, oPC);
}
/* else if(nChoice == 6)
{
RegisterAsCohort(oPC);
AllowExit(DYNCONV_EXIT_FORCE_EXIT);
}
} */
else if(nChoice == 7)
nStage = STAGE_LEADERSHIP;
else if(nChoice == 8)
@@ -1375,7 +1393,20 @@ void main()
if(nStage != STAGE_ENTRY)
MarkStageNotSetUp(nStage, oPC);
}
else if(nStage == STAGE_SWITCHES)
else if(nStage == STAGE_REGISTER_CONFIRM)
{
if(nChoice == 1) // Yes
{
RegisterAsCohort(oPC);
AllowExit(DYNCONV_EXIT_FORCE_EXIT);
}
else if(nChoice == CHOICE_RETURN_TO_PREVIOUS) // No
{
nStage = STAGE_ENTRY;
}
MarkStageNotSetUp(nStage, oPC);
}
else if(nStage == STAGE_SWITCHES)
{
if(nChoice == CHOICE_RETURN_TO_PREVIOUS)
nStage = STAGE_ENTRY;
@@ -2064,4 +2095,4 @@ void main()
// Store the stage value. If it has been changed, this clears out the choices
SetStage(nStage, oPC);
}
}
}