21 lines
400 B
Plaintext
21 lines
400 B
Plaintext
|
|
#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);
|
|
|
|
// Spawn "shelling".
|
|
oTarget = GetWaypointByTag("WP_SPn_Shelling");
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "shelling", GetLocation(oTarget));
|
|
}
|
|
|