//Created by Esreyr Fears
//on February 2nd, 2006

//Change the PC's Head [47]

#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;

    //Change the head
    int head_value = getMinHead(oPC, 47);
    SetLocalInt(oAltshapeWidget, "change_face",  head_value );

    //Change the PC's Race appearance
    makeChanges(oPC, oAltshapeWidget);
}