//Created by Esreyr Fears //on February 2nd, 2006 //Save the current configuration to SLOT 1 #include "alt_shape_inc" void main() { //Get the PC & widget to store the information on object oPC = GetPCSpeaker(); object oAltshapeWidget = GetItemPossessedBy(oPC, "alt_shape_conv"); if (oAltshapeWidget == OBJECT_INVALID) return; //Set the appropriate 'Change-to' variable SetLocalInt(oAltshapeWidget, "is_original", 1); SetLocalInt(oAltshapeWidget, "slot1_face", GetLocalInt(oAltshapeWidget, "change_face" ) ); SetLocalInt(oAltshapeWidget, "slot1_shape", GetLocalInt(oAltshapeWidget, "change_shape" ) ); SetLocalInt(oAltshapeWidget, "slot1_pheno", GetLocalInt(oAltshapeWidget, "change_pheno" ) ); SetLocalInt(oAltshapeWidget, "slot1_tail", GetLocalInt(oAltshapeWidget, "change_tail" ) ); SetLocalInt(oAltshapeWidget, "slot1_wing", GetLocalInt(oAltshapeWidget, "change_wing" ) ); }