Aantioch_Infernum/_module/nss/drowdm_take2.nss

21 lines
666 B
Plaintext
Raw Permalink Normal View History

2023-08-08 16:22:17 -04:00
//::///////////////////////////////////////////////
//:: FileName drowdm_take1
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 24/01/2004 14:44:47
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 2000);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "dungeon_token");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
DeleteLocalInt(GetPCSpeaker(),"drow_dm");
}