Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2024-10-09 14:17:22 -04:00
parent a13073fd78
commit e51634d39b
2354 changed files with 658510 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include "x2_inc_itemprop"
void main()
{
object oPC = GetPCSpeaker();
int iSlot = GetLocalInt(oPC, "iSlot");
int iColorType = GetLocalInt(oPC, "iItemAppr");
int iColor = GetLocalInt(oPC, "iColor" + IntToString(iColorType));
//white
int iNewColor = 62;
object oItem = IPDyeArmor(GetItemInSlot(iSlot, oPC), iColorType, iNewColor);
SetLocalInt(oPC, "iColor" + IntToString(iColorType), iNewColor);
FloatingTextStringOnCreature("Color " + IntToString(iNewColor), oPC, FALSE);
AssignCommand(oPC, ActionEquipItem(oItem, iSlot));
}