Initial commit
Initial commit [v9.7]
This commit is contained in:
24
_module/nss/cnv_spn_qtch.nss
Normal file
24
_module/nss/cnv_spn_qtch.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
|
||||
// Get the PC who is in this conversation.
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Give 5 experience (to party) to the PC.
|
||||
GiveXPToAll(oPC, 5);
|
||||
|
||||
SetLocalString(oPC, "qtch", "1");
|
||||
|
||||
// Spawn "quatch".
|
||||
oTarget = GetWaypointByTag("WP_SPn_Quatch");
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "quatch", GetLocation(oTarget));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user