LoD_PRC8/_module/nss/lcs_wpn_mc_prev.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

11 lines
319 B
Plaintext

#include "lcs_wpn_include"
void main()
{
object oPC = GetPCSpeaker();
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
int nNewLine = lcs_GetPreviousValidWeaponColor(oItem, ITEM_APPR_WEAPON_COLOR_MIDDLE);
lcs_ModifyColorandEquipNewWeapon(oItem, ITEM_APPR_WEAPON_COLOR_MIDDLE, nNewLine);
}