12 lines
292 B
Plaintext
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;
|
||
|
}
|