2025/07/20 Update

Updated PEPS AI.
Full compile.
This commit is contained in:
Jaysyn904
2025-07-20 16:17:47 -04:00
parent d2a9c50615
commit b4f69b222a
100 changed files with 925 additions and 655 deletions

View File

@@ -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)