Ask before destroy items - Adauga un dialog (uicommon) de confirmare pentru sistemul de "Distruge Item" (Destroy Item Dialog)
Astfel, putem preveni jucatorii sa stearga din greseala vreun item

Nota! Compatibil cu acest sistem de distruge item: destroy-item-system-distruge-obiect-t48 ... rsa-python
*Poze / Video:
*Link download / Code:
Adaugam in localeinterface.txt:
Code:
ASK_DESTROY You're sure you want to destroy this object?
Deschidem uicommon.py si la sfarsit adaugam:
Deschidem game.py si cautam:
Code:
def RequestDropItem(self, answer):
Cautam:
Code:
def __DropItem(self, attachedType, attachedItemIndex, attachedItemSlotPos, attachedItemCount):
Pentru uiscript (question_dialog_destroy.py):
Pentru a mentine si dialog de destroy afisat: (vezi poza mai jos)