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

35 lines
1.2 KiB
Plaintext

//::///////////////////////////////////////////////
//:: vat_getprevarmor
//:: Conversation Action Taken
//:: Change armor appearance
//:://////////////////////////////////////////////
#include "inc_changearmor"
void main()
{
int iItemAppr = GetLocalInt(GetPCSpeaker(),"iItemAppr");
armorModelPrev(iItemAppr);
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LBICEP)
DelayCommand(0.2, armorModelPrev(ITEM_APPR_ARMOR_MODEL_RBICEP));
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LFOOT)
DelayCommand(0.2, armorModelPrev(ITEM_APPR_ARMOR_MODEL_RFOOT));
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LFOREARM)
DelayCommand(0.2, armorModelPrev(ITEM_APPR_ARMOR_MODEL_RFOREARM));
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LHAND)
DelayCommand(0.2, armorModelPrev(ITEM_APPR_ARMOR_MODEL_RHAND));
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LSHIN)
DelayCommand(0.2, armorModelPrev(ITEM_APPR_ARMOR_MODEL_RSHIN));
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LSHOULDER)
DelayCommand(0.2, armorModelPrev(ITEM_APPR_ARMOR_MODEL_RSHOULDER));
if (iItemAppr == ITEM_APPR_ARMOR_MODEL_LTHIGH)
DelayCommand(0.2, armorModelPrev(ITEM_APPR_ARMOR_MODEL_RTHIGH));
}