I found out that instead of the 2 options to advance 5 and 20 days you can change it to move back in time for a certain amout of days. The original code for 20 days is:
string descF30 = "add 20 days";
void CalculateInfoDataF30()
{
totalInfo = descF30;
// -->
LAi_Fade("", "");
AddDataToCurrent(0, 0, 20);
// <--
totalInfo = totalInfo + NewStr() + NewStr() +
"The command is executed successfully!";
SetFormatedText("INFO_TEXT",totalInfo);
}
You can change it to the follow:
string descF30 = "Back 5 day";
void CalculateInfoDataF30()
{
idLngFile = LanguageOpenFile("ItemsDescribe.txt");
totalInfo = descF30;
LAi_Fade("", "");
AddDataToCurrent(0, 0, -5);
totalInfo = totalInfo + NewStr() + NewStr() + "The command is executed successfully!";
SetFormatedText("INFO_TEXT",totalInfo);
}
If you start getting out of time to complete a quest, just get back on time
string descF30 = "add 20 days";
void CalculateInfoDataF30()
{
totalInfo = descF30;
// -->
LAi_Fade("", "");
AddDataToCurrent(0, 0, 20);
// <--
totalInfo = totalInfo + NewStr() + NewStr() +
"The command is executed successfully!";
SetFormatedText("INFO_TEXT",totalInfo);
}
You can change it to the follow:
string descF30 = "Back 5 day";
void CalculateInfoDataF30()
{
idLngFile = LanguageOpenFile("ItemsDescribe.txt");
totalInfo = descF30;
LAi_Fade("", "");
AddDataToCurrent(0, 0, -5);
totalInfo = totalInfo + NewStr() + NewStr() + "The command is executed successfully!";
SetFormatedText("INFO_TEXT",totalInfo);
}
If you start getting out of time to complete a quest, just get back on time
