20 lines
350 B
Plaintext
20 lines
350 B
Plaintext
#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);
|
|
|
|
}
|