PWE_PRC8/_module/nss/benz_rat_pay.nss

20 lines
615 B
Plaintext
Raw Permalink Normal View History

2025-04-03 10:29:41 -04:00
//::///////////////////////////////////////////////
//:: FileName benz_rat_pay
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 12/2/2002 8:14:15 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 2);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "Ratwhisker");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}