Rune_PRC8/_module/nss/alt_shape_wing04.nss

20 lines
498 B
Plaintext
Raw Permalink Normal View History

2024-09-13 09:10:39 -04:00
//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);
}