20 lines
349 B
Plaintext
20 lines
349 B
Plaintext
|
#include "nw_i0_generic"
|
||
|
//Put this on action taken in the conversation editor
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
AssignCommand(oPC, TakeGoldFromCreature(200, oPC, TRUE));
|
||
|
|
||
|
object oTarget;
|
||
|
object oSpawn;
|
||
|
location lTarget;
|
||
|
oTarget = oPC;
|
||
|
|
||
|
lTarget = GetLocation(oTarget);
|
||
|
|
||
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "pz_dog1", lTarget);
|
||
|
|
||
|
}
|