32 lines
780 B
Plaintext
32 lines
780 B
Plaintext
/* 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 (GetAlignmentGoodEvil(oPC) == ALIGNMENT_EVIL)
|
|
{
|
|
FloatingTextStringOnCreature("You have been awarded for good rollplay", oPC);
|
|
CreateItemOnObject("faithdrink", oPC);
|
|
return;
|
|
}
|
|
else if (GetAlignmentGoodEvil(oPC) == ALIGNMENT_GOOD)
|
|
{
|
|
FloatingTextStringOnCreature("You have been penalised for poor rollplay", oPC);
|
|
AdjustAlignment(oPC, ALIGNMENT_EVIL, 10);
|
|
return;
|
|
}
|
|
else
|
|
{
|
|
FloatingTextStringOnCreature("Alignment shifted towards evil", oPC);
|
|
AdjustAlignment(oPC, ALIGNMENT_EVIL, 10);
|
|
}
|
|
}
|
|
|