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

23 lines
685 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName quest_rang_c
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 2003-10-01 12:42:32 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 100);
// Give the speaker the items
CreateItemOnObject("branchofadeida", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "RHUN_RNGR_QST1");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}