WoR_PRC8/_module/nss/xp_kobold.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

21 lines
684 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName xp_bugbear
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 3/24/2003 11:07:37 AM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
RewardPartyXP(25, GetPCSpeaker());
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "KoboldSlaveKey");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
AdjustReputation(GetPCSpeaker(), GetObjectByTag("faction_kobold"), 2);
SetIsDestroyable(TRUE);
DestroyObject(OBJECT_SELF);
}