11 lines
327 B
Plaintext
11 lines
327 B
Plaintext
#include "x4_inc_functions"
|
|
int StartingConditional()
|
|
{
|
|
string sMessage = GetLastPCChatMessage(GetPCSpeaker());
|
|
int nGold = StringToInt(sMessage);
|
|
SetCustomToken(920, IntToString(nGold));
|
|
SetCustomToken(921, IntToString(9*nGold/10));
|
|
SetCustomToken(922, IntToString(nGold - 9*nGold/10));
|
|
return TRUE;
|
|
}
|