Added PnP Dire Rat.

Added PnP Dire Rat.
This commit is contained in:
Jaysyn904
2021-07-21 17:48:43 -04:00
parent 552f1686c8
commit b01c5cc7db
10849 changed files with 171143 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
//::///////////////////////////////////////////////
//:: 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));
}