31 lines
674 B
Plaintext
31 lines
674 B
Plaintext
|
|
#include "nw_i0_tool"
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
|
|
RewardPartyGP(50, oPC, FALSE);
|
|
|
|
// Give the speaker the items
|
|
CreateItemOnObject("lankhmarbanded", GetPCSpeaker(), 1);
|
|
CreateItemOnObject("lankhmarmorning", GetPCSpeaker(), 1);
|
|
CreateItemOnObject("lankhshield", GetPCSpeaker(), 1);
|
|
CreateItemOnObject("lankhmrlightxbow", GetPCSpeaker(), 1);
|
|
CreateItemOnObject("nw_wambo001", GetPCSpeaker(), 99);
|
|
CreateItemOnObject("lankhmartorch", GetPCSpeaker(), 1);
|
|
|
|
|
|
}
|
|
|
|
|