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

11 lines
315 B
Plaintext

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