generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
20
_module/nss/alt_shape_face38.nss
Normal file
20
_module/nss/alt_shape_face38.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
//Created by Esreyr Fears
|
||||
//on February 2nd, 2006
|
||||
|
||||
//Change the PC's Head [38]
|
||||
|
||||
#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, 38);
|
||||
SetLocalInt(oAltshapeWidget, "change_face", head_value );
|
||||
|
||||
//Change the PC's Race appearance
|
||||
makeChanges(oPC, oAltshapeWidget);
|
||||
}
|
||||
Reference in New Issue
Block a user