PGCC_PRC8/_module/nss/vat_getnextright.nss
Jaysyn904 e51634d39b Initial upload
Initial upload.
2024-10-09 14:17:22 -04:00

37 lines
1.1 KiB
Plaintext

//::///////////////////////////////////////////////
//:: 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)
armorModelNext(ITEM_APPR_ARMOR_MODEL_RBICEP);
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LFOOT)
armorModelNext(ITEM_APPR_ARMOR_MODEL_RFOOT);
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LFOREARM)
armorModelNext(ITEM_APPR_ARMOR_MODEL_RFOREARM);
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LHAND)
armorModelNext(ITEM_APPR_ARMOR_MODEL_RHAND);
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LSHIN)
armorModelNext(ITEM_APPR_ARMOR_MODEL_RSHIN);
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LSHOULDER)
armorModelNext(ITEM_APPR_ARMOR_MODEL_RSHOULDER);
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LTHIGH)
armorModelNext(ITEM_APPR_ARMOR_MODEL_RTHIGH);
}