24 lines
684 B
Plaintext
24 lines
684 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName at_027
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 19/02/2005 3:24:43 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Give the speaker the items
|
||
|
CreateItemOnObject("divine_talisman2", GetPCSpeaker(), 1);
|
||
|
object oItem3, oItem2;
|
||
|
oItem3 = GetItemPossessedBy(oPC, "divine_note");
|
||
|
oItem2 = GetItemPossessedBy(oPC, "div_key");
|
||
|
|
||
|
if (GetIsObjectValid(oItem2))
|
||
|
DestroyObject(oItem2);
|
||
|
if (GetIsObjectValid(oItem3))
|
||
|
DestroyObject(oItem3);
|
||
|
|
||
|
}
|