24 lines
465 B
Plaintext
24 lines
465 B
Plaintext
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 2.1
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetModuleItemAcquiredBy();
|
||
|
|
||
|
object oItem;
|
||
|
oItem = GetModuleItemAcquired();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetLocalInt(GetModule(), "ac_"+GetTag(oItem))) return;
|
||
|
|
||
|
SetLocalInt(GetModule(), "ac_"+GetTag(oItem), TRUE);
|
||
|
|
||
|
AdjustAlignment(oPC, ALIGNMENT_EVIL, 100);
|
||
|
|
||
|
}
|