REO-EE/_module/nss/lcs_clklea1_prev.nss
Jaysyn904 f82740bbbd Initial commit
Initial commit
2024-02-22 13:22:03 -05:00

16 lines
519 B
Plaintext

//:://////////////////////////////////////////////
//:: Created By: Cuprius
//:: Created On: 12/20/2007
//:: Based on similar original LCS scripts by Lilista
//:://////////////////////////////////////////////
#include "lcs_clk_include"
void main()
{
object oPC = GetPCSpeaker();
object oItem = GetItemInSlot(INVENTORY_SLOT_CLOAK, oPC);
int nNewLine = lcs_GetPreviousValidColor(oItem, ITEM_APPR_ARMOR_COLOR_LEATHER1);
lcs_ModifyColorandEquipNewCloak(oItem, ITEM_APPR_ARMOR_COLOR_LEATHER1, nNewLine);
}