Added PnP Dire Rat.
Added PnP Dire Rat.
This commit is contained in:
11
nwn_dark_sun/ds_shodowkey.nss
Normal file
11
nwn_dark_sun/ds_shodowkey.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC);
|
||||
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(oPC, "ShadowKey");
|
||||
if(GetIsObjectValid(oItemToTake) != 0) {
|
||||
FloatingTextStringOnCreature("The Key glows softly.", oPC, FALSE);
|
||||
AssignCommand(oPC,ActionJumpToLocation(GetLocation(GetObjectByTag("WP_Shadow"))));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user