generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
19
_module/nss/alt_shape_wing04.nss
Normal file
19
_module/nss/alt_shape_wing04.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
//Created by Esreyr Fears
|
||||
//on February 2nd, 2006
|
||||
|
||||
//Change the Wing to Butterfly
|
||||
|
||||
#include "alt_shape_inc"
|
||||
|
||||
void main() {
|
||||
//Get the PC & widget to store the information on
|
||||
object oPC = OBJECT_SELF;
|
||||
object oAltshapeWidget = GetItemPossessedBy(oPC, "alt_shape_conv");
|
||||
if (oAltshapeWidget == OBJECT_INVALID) return;
|
||||
|
||||
//Change the Wing
|
||||
SetLocalInt(oAltshapeWidget, "change_wing", CREATURE_WING_TYPE_BUTTERFLY );
|
||||
|
||||
//Make the Changes
|
||||
makeChanges(oPC, oAltshapeWidget);
|
||||
}
|
||||
Reference in New Issue
Block a user