RATDOG/_module/nss/at_ghoulchest2.nss

18 lines
594 B
Plaintext
Raw Permalink Normal View History

void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
object oSelf = OBJECT_SELF;
string sPlacableTag = GetTag(oSelf);
// Give stuff to the PC.
GiveXPToCreature(oPC, 50);
CreateItemOnObject("x1_it_spdvscr301", oPC); //:: Scroll of Continual Flame
CreateItemOnObject("prc_scr_936", oPC); //:: Scroll of Jump
CreateItemOnObject("nw_it_sparscr305", oPC); //:: Scroll of Stinking Cloud
SetLocalInt(oPC, "PlayerSearched_" + sPlacableTag, 1);
SetLocalInt(oSelf, "BeenLooted2_" + sPlacableTag, 1);
}