Alangara_PRC8/_module/nss/transformera.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

28 lines
573 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;
if (!GetIsPC(GetItemActivatedTarget())
|| (GetObjectType(GetItemActivatedTarget())!=OBJECT_TYPE_CREATURE)
){
SendMessageToPC(GetItemActivator(), "Improper use of item!");
return;}
object oTarget;
oTarget = GetItemActivatedTarget();
effect eEffect;
eEffect = EffectPolymorph(POLYMORPH_TYPE_PENGUIN);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
}