LoT_PRC8/_module/nss/takerodaway.nss
Jaysyn904 ec287507a1 Initial upload
Initial upload.
2023-09-25 21:32:17 -04:00

26 lines
766 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName takerodaway
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 10/7/2003 1:50:54 AM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 500);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 500);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "rodofjohnson");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
SetLocalInt(GetPCSpeaker(), "quest", 30);
}