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

32 lines
908 B
Plaintext

//::///////////////////////////////////////////////
//:: Name: AT_SaltMill_001
//:: Copyright (c) 2012 Athas Reborn
//:://////////////////////////////////////////////
/*
Detects if the PC has an Elven Rapier in
their inventory.
*/
//:://////////////////////////////////////////////
//:: Created By: DM Heatstroke
//:: Created On: June 18 2012
//:://////////////////////////////////////////////
void main()
{
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget(OBJECT_SELF);
location lLoc = GetLocation(oTarget);
object oRapier = GetItemPossessedBy(oClicker,"AR_WSWRP_ELVEN");
if(GetIsObjectValid(oRapier) != 0)
{
SetLocalInt(oClicker,"thievesquests",4);
SetLocalInt(oClicker,"pickpocket",1);
AddJournalQuestEntry ("thievesquests", 6, oClicker);
}
AssignCommand(oClicker,JumpToLocation(lLoc));
}