Initial commit. Updated release archive.
This commit is contained in:
18
_module/nss/at_damasc_longsw.nss
Normal file
18
_module/nss/at_damasc_longsw.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("damascanlongswor", oPC, 1);
|
||||
|
||||
|
||||
// Remove some gold from the player
|
||||
TakeGoldFromCreature(15000, oPC, TRUE);
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(oPC, "NW_IT_MSMLMISC17");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
}
|
Reference in New Issue
Block a user