generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
36
_module/nss/vat_getprevright.nss
Normal file
36
_module/nss/vat_getprevright.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: vat_getnextright
|
||||
//:: Conversation Action Taken
|
||||
//:: Change armor appearance
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "inc_changearmor"
|
||||
|
||||
void main()
|
||||
{
|
||||
//change the armor item
|
||||
int iItemAppr = GetLocalInt(GetPCSpeaker(),"iItemAppr");
|
||||
|
||||
//modify the right piece instead of left
|
||||
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LBICEP)
|
||||
armorModelPrev(ITEM_APPR_ARMOR_MODEL_RBICEP);
|
||||
|
||||
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LFOOT)
|
||||
armorModelPrev(ITEM_APPR_ARMOR_MODEL_RFOOT);
|
||||
|
||||
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LFOREARM)
|
||||
armorModelPrev(ITEM_APPR_ARMOR_MODEL_RFOREARM);
|
||||
|
||||
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LHAND)
|
||||
armorModelPrev(ITEM_APPR_ARMOR_MODEL_RHAND);
|
||||
|
||||
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LSHIN)
|
||||
armorModelPrev(ITEM_APPR_ARMOR_MODEL_RSHIN);
|
||||
|
||||
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LSHOULDER)
|
||||
armorModelPrev(ITEM_APPR_ARMOR_MODEL_RSHOULDER);
|
||||
|
||||
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LTHIGH)
|
||||
armorModelPrev(ITEM_APPR_ARMOR_MODEL_RTHIGH);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user