26 lines
435 B
Plaintext
26 lines
435 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.3
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
#include "prc_inc_racial"
|
|
|
|
//Put this OnUsed
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastUsedBy();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if ((MyPRCGetRacialType(oPC)!=RACIAL_TYPE_DWARF))
|
|
return;
|
|
|
|
object oTarget;
|
|
oTarget = OBJECT_SELF;
|
|
|
|
AssignCommand(oTarget, ActionStartConversation(oPC, "anvil_speak"));
|
|
|
|
}
|
|
|