HoS_PRC8/_mod/_module/nss/uc_c_gcset.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

12 lines
292 B
Plaintext

// uc_c_gcset
int StartingConditional()
{
object oMe=OBJECT_SELF;
object oPC=GetPCSpeaker();
int nHave=GetLocalInt(oMe,"nStartingGold");
int nGiven=GetLocalInt(oPC,"nGoldGiven");
int nAmount=nHave+nGiven;
SetCustomToken(55001,IntToString(nAmount));
return TRUE;
}