HiddenTradition_PRC8/_module/nss/at_smithtakering.nss
2024-06-20 15:47:42 -04:00

31 lines
822 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName at_smithtakering
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 4/12/2003 10:03:45 AM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
#include "nw_j_assassin"
void main()
{
// Give the speaker some gold
RewardPartyGP(200, GetPCSpeaker());
// Give the speaker some XP
RewardPartyXP(100, GetPCSpeaker());
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "it_WeddingRing");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
aSetPLocalInt(GetPCSpeaker(), "smithquest", 1);
}