AOC_PRC8/_module/nss/final_conv4.nss

26 lines
880 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:24:16 -04:00
#include "in_g_cutscene"
void main()
{
object oPC = GetLastSpeaker();
int iScore = GetLocalInt(oPC, "a_score");
int iFs;
if (iScore<=2999) { iFs=1;}
if ((iScore>3000)&&(iScore<=5999)) { iFs=2;}
if ((iScore>6000)&&(iScore<=8999)) { iFs=3;}
if ((iScore>9000)&&(iScore<=11999)) { iFs=4;}
if ((iScore>12000)&&(iScore<=14999)) { iFs=5;}
if ((iScore>15000)&&(iScore<=17999)) { iFs=6;}
if ((iScore>18000)&&(iScore<=20999)) { iFs=7;}
if ((iScore>21000)&&(iScore<=23999)) { iFs=8;}
if ((iScore>24000)&&(iScore<=26999)) { iFs=9;}
if (iScore>27000) { iFs=10;}
GestaltSpeak(0.0, OBJECT_SELF,
"Your character build and player performance rating on a scale of 1 to 10 is ** "
+IntToString(iFs)+" **"
,ANIMATION_FIREFORGET_VICTORY2);
}