Lankhmar_PRC8/_module/nss/give_mnk_itms2.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

31 lines
672 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("physiciansrobe", GetPCSpeaker(), 1);
CreateItemOnObject("lankhmarkama", GetPCSpeaker(), 1);
CreateItemOnObject("lankhmarthrowng", GetPCSpeaker(), 2);
// CreateItemOnObject("lankhmarsling", GetPCSpeaker(), 1);
// CreateItemOnObject("nw_wambu001", GetPCSpeaker(), 99);
CreateItemOnObject("lankhmartorch", GetPCSpeaker(), 1);
}