HiddenTradition_PRC8/_module/nss/at_damasc_longsw.nss
2024-06-20 15:47:42 -04:00

19 lines
439 B
Plaintext

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);
}