Initial commit. Updated release archive.
This commit is contained in:
30
_module/nss/at_smithtakering.nss
Normal file
30
_module/nss/at_smithtakering.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user