2025/07/21 Update
Updated PEPS AI. Full compile.
This commit is contained in:
@@ -285,6 +285,7 @@ void main()
|
||||
if(nChange) nColorId = GetColorIDChange(oItem, ITEM_APPR_TYPE_ARMOR_COLOR, nMaterialSelected, nChange);
|
||||
oNewItem = CopyItemAndModify(oItem, ITEM_APPR_TYPE_ARMOR_COLOR, nMaterialSelected, nColorId, TRUE);
|
||||
DestroyObject(oItem);
|
||||
SetColorPalletPointer(oPC, nToken, oNewItem);
|
||||
}
|
||||
// Lock the new item so they can't change it on the character.
|
||||
LockItemInCraftingWindow(oPC, oNewItem, oTarget, nToken);
|
||||
@@ -643,6 +644,7 @@ void main()
|
||||
int nSelected = StringToInt(GetStringRight(sElem, 1));
|
||||
SetMaterialButtons(oPC, nToken, nSelected);
|
||||
jCraft = JsonObjectSet(jCraft, CRAFT_MATERIAL_SELECTION, JsonInt(nSelected));
|
||||
SetLocalJson(oPC, CRAFT_JSON, jCraft);
|
||||
// Change the pallet for the correct material.
|
||||
string sColorPallet;
|
||||
if(nSelected < 4)
|
||||
|
Reference in New Issue
Block a user