Files
Anphillia_PRC8/_module/nss/anph_take_fbb.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

21 lines
470 B
Plaintext

void main()
{
object oItem;
object oPC = GetPCSpeaker();
string sTag;
int iReward = 20;// + (GetAbilityModifier(ABILITY_CHARISMA, oPC) * 3);
oItem = GetFirstItemInInventory (oPC);
while(GetIsObjectValid(oItem))
{
sTag = GetTag (oItem);
if (sTag == "NW_IT_MSMLMISC08")
{
DestroyObject (oItem);
GiveGoldToCreature (oPC, iReward);
}
oItem = GetNextItemInInventory (oPC);
}
}