15 lines
355 B
Plaintext
15 lines
355 B
Plaintext
#include "nw_i0_plot"
|
|
|
|
void main()
|
|
{
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "it_NorthlandChiefsHead");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
// Set the variables
|
|
SetPLocalInt(GetPCSpeaker(), "DwarfCaravanQuest", 9);
|
|
|
|
}
|