Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
//Created by Esreyr Fears
//on February 2nd, 2006
//Change to an Elf
#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, "change_shape", APPEARANCE_TYPE_ELF );
//Change the PC's Race appearance
int playable_race =isPlayableRace(oPC);
makeChanges(oPC, oAltshapeWidget);
if ( !playable_race ) {
SetCreatureBodyPart( CREATURE_PART_RIGHT_FOOT, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_LEFT_FOOT, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_RIGHT_SHIN, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_LEFT_SHIN, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_RIGHT_THIGH, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_LEFT_THIGH, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_PELVIS, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_TORSO, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_NECK, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_RIGHT_FOREARM, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_LEFT_FOREARM, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_RIGHT_BICEP, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_LEFT_BICEP, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_RIGHT_HAND, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_LEFT_HAND, CREATURE_MODEL_TYPE_SKIN, oPC );
SetCreatureBodyPart( CREATURE_PART_HEAD, 1, oPC );
}
}