Skip to content

Commit

Permalink
Add full compendium unlock option
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrineFox committed Jul 9, 2018
1 parent 27f523b commit 762b9ac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
11 changes: 11 additions & 0 deletions ModMenu.flow
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ void PersonaEditorOpen()
case 2:
PersonaAddSkillMenuOpen();
break;
case 3:
PersonaAddAllToCompendium();
break;
}
}
}
Expand Down Expand Up @@ -245,6 +248,14 @@ void PersonaAddSkillSelect( bool useNumberInput )
FLD_END_FLASHBACK();
}

void PersonaAddAllToCompendium()
{
for (int i = 0; i < 463; i++) {
ADD_PERSONA_STOCK( i );
CLEAR_PERSONA_STOCK();
}
}

// Stat Editor
void StatEditorDisplay()
{
Expand Down
6 changes: 5 additions & 1 deletion ModMenu.msg
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ Persona Options[w][e]
Add Persona[f 4 26 0 108][e]
Delete Personas[f 4 26 1 109][e]
Add Skill[f 4 26 2 110][e]
Unlock Full Compendium[f 4 26 3 204][e]

[dlg GENERIC_HELP_108]
[s]Input a Persona's name or ID[n]to add it to your stock.[e]
Expand Down Expand Up @@ -911,4 +912,7 @@ Enter the last half of the[n]model's ID from data.cpk/model/field_tex/object.[n]
Enter the start of the[n]range to narrow down.[n](Max 4 digits, press Circle to end).[w][e]

[dlg FlagRangePrompt2]
Enter the end of the[n]range to narrow down.[n](Max 4 digits, press Circle to end).[w][e]
Enter the end of the[n]range to narrow down.[n](Max 4 digits, press Circle to end).[w][e]

[dlg GENERIC_HELP_204]
Unlocks all Personas in the[n]Compendium. [clr 9]This will delete all[n]Personas in your current stock![clr 0][w][e]

0 comments on commit 762b9ac

Please sign in to comment.