19 lines
439 B
Plaintext
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);
|
|
}
|