Added PnP Dire Rat.
Added PnP Dire Rat.
This commit is contained in:
26
nwn_dark_sun/at_hendelcbon.nss
Normal file
26
nwn_dark_sun/at_hendelcbon.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName at_hendelcbon
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 8/21/2002 1:54:47 AM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("AR_ITMRNG_PORIUS", GetPCSpeaker(), 1);
|
||||
object oPC=GetPCSpeaker();
|
||||
AdjustAlignment(oPC,ALIGNMENT_CHAOTIC, 3);
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QST_SCRLBINDING");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QST_ITBK_FORTOME");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
{
|
||||
SetLocalInt(GetPCSpeaker(), "Hendel", 7);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user