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

23 lines
712 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName mn_bank_001
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 01-02-2005 19:36:26
//:://////////////////////////////////////////////
#include "nw_i0_tool"
#include "mn_checkinv"
int StartingConditional()
{
// Make sure the PC speaker has these items in their inventory
if(!HasItem(GetPCSpeaker(), "MN_MISC_BANKTOK"))
return FALSE;
object bankToken = findItem( GetPCSpeaker(), "MN_MISC_BANKTOK" );
int balance = GetLocalInt( bankToken, "BALANCE" );
SetCustomToken ( 100, IntToString( balance ) );
return TRUE;
}