PWE_PRC8/_module/nss/at_052.nss

25 lines
722 B
Plaintext
Raw Normal View History

2025-04-03 10:29:41 -04:00
//::///////////////////////////////////////////////
//:: FileName at_052
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 3/28/2003 3:32:35 AM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
// Give the speaker some XP
RewardPartyXP(10000, GetPCSpeaker());
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "impthing");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Modify the player's reputation
AdjustReputation(GetPCSpeaker(), OBJECT_SELF, 100);
}