21 lines
538 B
Plaintext
21 lines
538 B
Plaintext
|
//Created by Esreyr Fears
|
||
|
//on February 2nd, 2006
|
||
|
|
||
|
//Change the PC's Head [37]
|
||
|
|
||
|
#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, 37);
|
||
|
SetLocalInt(oAltshapeWidget, "change_face", head_value );
|
||
|
|
||
|
//Change the PC's Race appearance
|
||
|
makeChanges(oPC, oAltshapeWidget);
|
||
|
}
|