Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
27
_module/nss/jw_takeyas_loot.nss
Normal file
27
_module/nss/jw_takeyas_loot.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
#include "nw_i0_tool"
|
||||
|
||||
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName jw_takeyas_loot
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 12/08/2002 01:48:56
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
object oPC=GetPCSpeaker();
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "jw_yasdin_loot");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
|
||||
RewardPartyGP(20, GetPCSpeaker());
|
||||
// Give the speaker some XP
|
||||
RewardPartyXP(30, GetPCSpeaker());
|
||||
AdjustAlignment(oPC,ALIGNMENT_CHAOTIC,2);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user