29 lines
600 B
Plaintext
29 lines
600 B
Plaintext
|
int nInt;
|
||
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 1.6
|
||
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 1.6
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://www.lilacsoul.revility.com */
|
||
|
|
||
|
//Put this on action taken in the conversation editor
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
if (GetGold(oPC) >= 200)
|
||
|
{
|
||
|
AssignCommand(oPC, TakeGoldFromCreature(300, oPC, TRUE));
|
||
|
|
||
|
CreateItemOnObject("ar_it_contain001", oPC);
|
||
|
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
AssignCommand(GetObjectByTag("Teren"), ActionSpeakString("Do not try and cheat me fool! I am wise to such tricks!"));
|
||
|
|
||
|
}
|
||
|
}
|