10 lines
253 B
Plaintext
10 lines
253 B
Plaintext
// uc_a_gcset - Set the amount of gold carrying
|
|
void main()
|
|
{
|
|
object oMe=OBJECT_SELF;
|
|
int nGold=GetGold(oMe);
|
|
SetLocalInt(oMe,"nStartingGold",nGold);
|
|
SetLocalInt(GetPCSpeaker(),"nGoldGiven",0);
|
|
SetCustomToken(55001,IntToString(nGold));
|
|
}
|