*Descriere:
Mai jos aveti adaptarea de la Highlight Slot System pentru Inventar Special by Sanii.
Atentie! Aveti nevoie sa bagati sistemul de Highlight inainte: highlight-iteme-inventar-pickup-effect-t1144.html
*Poze / Video:
Deschidem uiinventory.py si cautam:
Adaugam:
Cautam:
Adaugam:
Adaugam jos de tot in class InventoryTypeTabWindow(ui.ScriptWindow):
Cautam:
Adaugam:
Cautam:
Adaugam:
Cautam:
Adaugam deasupra:
Adaugam in Locale_inc.h:
Deschidem PythonApplicationModule.cpp si adaugam:
Mai jos aveti adaptarea de la Highlight Slot System pentru Inventar Special by Sanii.
by @OberstIt is highlighted whenever the item mark system applies—unless you are in the same category, in which case highlighting wouldn’t make sense
In this case, the highlighting is simply the hover over image
Atentie! Aveti nevoie sa bagati sistemul de Highlight inainte: highlight-iteme-inventar-pickup-effect-t1144.html
*Poze / Video:
- 01-12-2026, 16-56-05.png (222.99 KiB) Vizualizat de 737 ori
*Link download / Code:
Deschidem uiinventory.py si cautam:
Cod: Selectaţi tot
class InventoryTypeTabWindow(ui.ScriptWindow):Cod: Selectaţi tot
self.buttonTab = []
self.isLoaded = FalseAdaugam:
Conținut: Ascuns
Reacționează
la acest mesaj și conținutul se va afișa automat.
la acest mesaj și conținutul se va afișa automat.Cautam:
Cod: Selectaţi tot
self.buttonTab.append(tab)
i += 1 Conținut: Ascuns
Reacționează
la acest mesaj și conținutul se va afișa automat.
la acest mesaj și conținutul se va afișa automat.Adaugam jos de tot in class InventoryTypeTabWindow(ui.ScriptWindow):
Conținut: Ascuns
Reacționează
la acest mesaj și conținutul se va afișa automat.
la acest mesaj și conținutul se va afișa automat.Cautam:
Cod: Selectaţi tot
def SetInventoryType(self, type):
self.wndInventoryTypeTab.SetUp(self.inventoryTypeIndex)
self.inventoryTypeIndex = int(type)
self.wndInventoryTypeTab.Down(self.inventoryTypeIndex)
if self.inventoryTypeIndex == player.INVENTORY_TYPE_INVENTORY:
self.RefreshBagSlotWindow()
else:
self.RefreshSpecialInventory()Adaugam:
Conținut: Ascuns
Reacționează
la acest mesaj și conținutul se va afișa automat.
la acest mesaj și conținutul se va afișa automat.Cautam:
Cod: Selectaţi tot
def HighlightSlot(self, slot):
if not slot in self.liHighlightedItems:
self.liHighlightedItems.append(slot)Adaugam:
Conținut: Ascuns
Reacționează
la acest mesaj și conținutul se va afișa automat.
la acest mesaj și conținutul se va afișa automat.Cautam:
Cod: Selectaţi tot
def __RefreshHighlights(self):Adaugam deasupra:
Conținut: Ascuns
Reacționează
la acest mesaj și conținutul se va afișa automat.
la acest mesaj și conținutul se va afișa automat.Adaugam in Locale_inc.h:
Cod: Selectaţi tot
#define ENABLE_HIGHLIGHT_INV_CATEGORY // Inventory category highlightCod: Selectaţi tot
#ifdef ENABLE_HIGHLIGHT_INV_CATEGORY
PyModule_AddIntConstant(poModule, "ENABLE_HIGHLIGHT_INV_CATEGORY", 1);
#else
PyModule_AddIntConstant(poModule, "ENABLE_HIGHLIGHT_INV_CATEGORY", 0);
#endif



