Lehona, here is script published by Shothic regarding changing color of the chests.
I had placed this to TICKTock and the game after few seconds of running informs about the error : do stack.
func void FocusColor() {
var oCNpc her;
her = Hlp_GetNpc (hero);
var int ptr;
var oCMobLockable Zamek;
Zamek = MEM_PtrToInst (her.focus_vob);
var int col;
const int zCView__SetFontColor = 7339392; //0x6FFD80 Changed
if (!her.focus_vob) {
col = RGBA(255,255,255,255); //Weiß
ptr = MEM_Alloc(4);
MEM_WriteInt(ptr, col);
CALL_IntParam(ptr);
CALL__thiscall(MEM_ReadInt(screen_offset), zCView__SetFontColor);
MEM_Free(ptr);
return;
};
if (!Hlp_Is_oCMobLockable(her.focus_vob))
{
return;
} else
{
};
if (Zamek.bitfield & oCMobLockable_bitfield_locked)
{
col = RGBA(255,180,0,255); //Orange
} else
{
col = RGBA(255,255,255,255); //Weiß
};
ptr = MEM_Alloc(4);
MEM_WriteInt(ptr, col);
CALL_IntParam(ptr);
CALL__thiscall(MEM_ReadInt(screen_offset), zCView__SetFontColor);
MEM_Free(ptr);
};