Lankhmar_PRC8/_module/nss/thrd_trentor_1.nss

26 lines
396 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
object oTarget;
object oSpawn;
object oPC = GetPCSpeaker();
// Give 5 experience (to party) to the PC.
GiveXPToAll(oPC, 5);
SetLocalString(oPC, "trentor", "1");
FadeToBlack(oPC);
FadeFromBlack(oPC);
// Spawn "trentor".
oTarget = GetWaypointByTag("WP_SPn_trentor");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "trentor", GetLocation(oTarget));
}