2025/07/20 Afternoon Update

Updated PEPS AI.
This commit is contained in:
Jaysyn904
2025-07-20 12:36:58 -04:00
parent df58b1a133
commit ac076efc50
77 changed files with 981 additions and 703 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)