Mercurial > parpg-core
view src/parpg/gui/__init__.py @ 173:fadc02e77ae1
get_equipable now checks if wearer is valid and returns None if it is not. This will fix a falsely raised SlotInvalidError.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 09 Oct 2011 19:23:59 +0200 |
parents | d60f1dab8469 |
children |
line wrap: on
line source
from fife.extensions import pychan from .inventorygui import EquipmentSlot, InventoryGrid from .spinners import Spinner, IntSpinner from .tabwidget import TabWidget pychan.registerWidget(EquipmentSlot) pychan.registerWidget(InventoryGrid) pychan.registerWidget(Spinner) pychan.registerWidget(IntSpinner) pychan.registerWidget(TabWidget)