20 lines
546 B
Plaintext
20 lines
546 B
Plaintext
#include "mn_i_checkrank"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetItemActivator();
|
|
object oTarget = GetItemActivatedTarget();
|
|
|
|
if ( oTarget != oPC)
|
|
{
|
|
FloatingTextStringOnCreature( "// This functionality is not finished yet. You can only use this item on yourself", oPC, FALSE );
|
|
}
|
|
else
|
|
{
|
|
string out = "You currently hold the rank of ";
|
|
int rank = GetLocalInt( GetItemActivated(), "mn_rank" );
|
|
out += RankName( rank ) + " in the Aidbringer guild.";
|
|
FloatingTextStringOnCreature( out, oPC, FALSE );
|
|
}
|
|
}
|