Initial commit

Initial commit [v9.7]
This commit is contained in:
Jaysyn904
2025-04-03 12:54:47 -04:00
parent ff5835fcc7
commit ebc0c6a9b2
11298 changed files with 9432842 additions and 2 deletions

21
_module/nss/give2k.nss Normal file
View File

@@ -0,0 +1,21 @@
#include "x0_i0_partywide"
void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Give 50 gold (to party) to the PC.
GiveGoldToAll(oPC, 2000);
GiveXPToAll(oPC, 50);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "magiceye");
if(GetIsObjectValid(oItemToTake) != 0)
ActionTakeItem(oItemToTake, GetPCSpeaker());
}