NWNDS/nwnds_module/ds_shodowkey.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

12 lines
361 B
Plaintext

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"))));
}
}