Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
This commit is contained in:
25
nwnds_module/at_022.nss
Normal file
25
nwnds_module/at_022.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName at_022
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 7/29/02 7:23:25 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 30);
|
||||
|
||||
// Give the speaker some XP
|
||||
GiveXPToCreature(GetPCSpeaker(), 250);
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "qst_arrowcrate");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
// Set the variables
|
||||
SetLocalInt(GetPCSpeaker(), "nGrikQuest", 2);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user