Mercurial > parpg-core
view src/parpg/components/__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 | 7c9b7efc0f11 |
children |
line wrap: on
line source
from character_statistics import CharacterStatistics from containable import Containable from container import Container from description import Description from dialogue import Dialogue from fifeagent import FifeAgent from lockable import Lockable from usable import Usable from change_map import ChangeMap from equipable import Equipable from equip import Equip from general import General from behaviour import Behaviour from graphics import Graphics components = { "general": General(), "characterstats": CharacterStatistics(), "containable": Containable(), "container": Container(), "description": Description(), "dialogue": Dialogue(), "fifeagent": FifeAgent(), "lockable": Lockable(), "usable": Usable(), "change_map": ChangeMap(), "equipable": Equipable(), "equip": Equip(), "behaviour": Behaviour(), "graphics": Graphics(), }