Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2023-09-21 19:51:32 -04:00
parent 65b5bd7fd3
commit 102ba7dab6
6400 changed files with 5741850 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
void main()
{
object oPC = GetPCSpeaker();
object oModule = GetModule();
string sDB = GetLocalString(oModule, "DB");
string sDiff = "COMMONER";
string sDiffChosenLocal = GetLocalString(oPC, "DiffChosenLocal");
string sDiffChosenCamp = GetLocalString(oPC, "DiffChosenCamp");
if(GetLocalString(oPC, "DiffChosenLocal") == "all")
{
SetCampaignString(sDB, "difficulty_death", sDiff);
SetCampaignString(sDB, "difficulty_explo", sDiff);
SetCampaignString(sDB, "difficulty_enemy", sDiff);
SetCampaignString(sDB, "difficulty_adven", sDiff);
SetCampaignString(sDB, "difficulty_commu", sDiff);
SetLocalString(oModule, "mDiffDeath", sDiff);
SetLocalString(oModule, "mDiffExplo", sDiff);
SetLocalString(oModule, "mDiffEnemy", sDiff);
SetLocalString(oModule, "mDiffAdven", sDiff);
SetLocalString(oModule, "mDiffCommu", sDiff);
}
else
{
SetCampaignString(sDB, sDiffChosenCamp, sDiff);
SetLocalString(oModule, sDiffChosenLocal, sDiff);
}
}