AOC_PRC8/_module/nss/evil_rollplay.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

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);
}
}