WoR_PRC8/_module/nss/pot_polymphuman.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

24 lines
446 B
Plaintext

void main()
{
object oPC;
oPC = GetItemActivator();
int oAppearance;
oAppearance = GetAppearanceType (oPC);
if (GetGender(oPC)==GENDER_MALE)
{
SetCreatureAppearanceType(oPC, APPEARANCE_TYPE_HUMAN_NPC_MALE_01);
}
if (GetGender(oPC)==GENDER_FEMALE)
SetCreatureAppearanceType(oPC, APPEARANCE_TYPE_HUMAN_NPC_FEMALE_01);
AssignCommand( oPC, DestroyObject( OBJECT_SELF ) );
DelayCommand (600.0, SetCreatureAppearanceType (oPC, oAppearance));
}