27 lines
588 B
Plaintext
27 lines
588 B
Plaintext
#include "mn_i_checkrank"
|
|
#include "mn_aidb_persist"
|
|
|
|
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
object oPC = GetPCSpeaker();
|
|
iResult = ( CheckRank( oPC ) == 4);
|
|
|
|
if (iResult)
|
|
{
|
|
string prime = IntToString( GetChaGold() );
|
|
SetCustomToken( 230, prime );
|
|
|
|
prime = IntToString( GetOpGold() );
|
|
SetCustomToken( 231, prime );
|
|
|
|
int energy = GetEnergy();
|
|
prime = "weak";
|
|
if (energy >= 2500) { prime = "moderate"; }
|
|
if (energy >= 5000) { prime = "strong"; }
|
|
SetCustomToken( 232, prime );
|
|
}
|
|
|
|
return iResult;
|
|
}
|