Alangara_PRC8/_module/nss/mn_aidb_convstas.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

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;
}