annotate components/__init__.py @ 99:6e4daff93e7d

If Items in containers or being equipped have no type the game will now try to get the object using the ID.
author KarstenBock@gmx.net
date Wed, 28 Sep 2011 12:58:18 +0200
parents 84b5808d995c
children 8d87e1203402
rev   line source
65
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
1 from CharacterStatistics import CharacterStatistics
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
2 from containable import Containable
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
3 from container import Container
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
4 from description import Description
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
5 from dialogue import Dialogue
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
6 from fifeagent import FifeAgent
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
7 from lockable import Lockable
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
8 from usable import Usable
e856b604b650 Changed "import bGrease" to "import parpg.bGrease".
KarstenBock@gmx.net
parents: 63
diff changeset
9 from change_map import ChangeMap
67
1a450a764817 Added the Equip component to the __init__.py of the components package.
KarstenBock@gmx.net
parents: 65
diff changeset
10 from equipable import Equipable
86
a9cc5559ec2a Move the identifier field from the FifeAgent component to the new General component.
KarstenBock@gmx.net
parents: 67
diff changeset
11 from equip import Equip
87
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
12 from general import General
90
4a8a0cd7f79a Added Behaviour component.
KarstenBock@gmx.net
parents: 87
diff changeset
13 from behaviour import Behaviour
92
84b5808d995c Added Graphics component.
KarstenBock@gmx.net
parents: 90
diff changeset
14 from graphics import Graphics
87
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
15
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
16 components = {
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
17 "general": General(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
18 "characterstats": CharacterStatistics(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
19 "containable": Containable(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
20 "container": Container(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
21 "description": Description(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
22 "dialogue": Dialogue(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
23 "fifeagent": FifeAgent(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
24 "lockable": Lockable(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
25 "usable": Usable(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
26 "change_map": ChangeMap(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
27 "equipable": Equipable(),
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
28 "equip": Equip(),
90
4a8a0cd7f79a Added Behaviour component.
KarstenBock@gmx.net
parents: 87
diff changeset
29 "behaviour": Behaviour(),
92
84b5808d995c Added Graphics component.
KarstenBock@gmx.net
parents: 90
diff changeset
30 "graphics": Graphics(),
87
aed2e094e0c7 Changed way of setting the possible components of the world.
KarstenBock@gmx.net
parents: 86
diff changeset
31 }