Amon_PRC8/_module/nss/pz_sp2000.nss

20 lines
350 B
Plaintext
Raw Normal View History

2025-04-03 19:00:46 -04:00
#include "nw_i0_generic"
//Put this on action taken in the conversation editor
void main()
{
object oPC = GetPCSpeaker();
AssignCommand(oPC, TakeGoldFromCreature(1000, oPC, TRUE));
object oTarget;
object oSpawn;
location lTarget;
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "pz_dog4", lTarget);
}