Merged redundant hak files

Merged redundant hak files.  Moved hak scripts into module.  Updated gitignore.  Full Compile.  Added release folder & archive.
This commit is contained in:
Jaysyn904
2024-12-12 15:02:17 -05:00
parent f58f9a29b4
commit e2f4ba74d5
3227 changed files with 52239 additions and 55 deletions

View File

@@ -0,0 +1,14 @@
// npcact_cms_cag - Set Mode for Give
void main()
{
object oPC=GetPCSpeaker();
object oItem=GetLocalObject(oPC,"oCMSItem");
int nCurr=GetLocalInt(oItem,"nCurrency");
int nCoins=GetLocalInt(oItem,"nCoins");
string sS;
SetLocalInt(oPC,"nCMSMax",nCoins); // must leave at least one coin original stack
sS="You have "+IntToString(nCoins)+" of those coins that you can give to "+GetName(GetLocalObject(oPC,"oCMSTarget"))+".";
SetLocalString(oPC,"sCMSSelection",sS);
DeleteLocalInt(oPC,"nCMSSelection");
SetLocalInt(oPC,"nCMSMode",2);
}