Aantioch_Infernum/_module/nss/asg_tes_mics1str.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

35 lines
1.2 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Name Frank P Emergency CFG Config
//:: FileName
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
I wish to thank Frank P for inpsiring me to write this
script. Just incase the "asg_cfg_mics" was not run the
research desk will give all sorts of errors and a show
stopper that causes as "Divide by 0" error in the
"asg_rul_testopre" and causes it to crash. So if the
ASG_XPCOST is setting at 0, this script will kick in as
a safety net and run the Config script as a back up. This
should be okay as for the fact that you can not do anything
until you go through the research desk first. Thanks.
*/
//:://////////////////////////////////////////////
//:: Created By: Donny Wilbanks
//:: Created On: 5/19/03
//:://////////////////////////////////////////////
void main()
{
int rXpCost = GetLocalInt(GetModule(),"ASG_MICS_XPCOST");
if (rXpCost == 0)
{
ExecuteScript("asg_cfg_mics",GetModule());
PrintString("(!) ASG MICS Error, Module Builder Should include the script:");
PrintString(" > asg_cfg_mics");
PrintString(" into the modules > Events > OnModuleLoad. Thanks.");
}
}