Mercurial > parpg-core
annotate src/parpg/components/equip.py @ 78:c25c734bd2a7
Modifications to make talking with npcs possible again. Special actions won't work yet though.
author | KarstenBock@gmx.net |
---|---|
date | Thu, 08 Sep 2011 15:18:39 +0200 |
parents | 9aebbf4e02f7 |
children | 0319dcc47603 |
rev | line source |
---|---|
72
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
1 # This program is free software: you can redistribute it and/or modify |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
2 # it under the terms of the GNU General Public License as published by |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
3 # the Free Software Foundation, either version 3 of the License, or |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
4 # (at your option) any later version. |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
5 # |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
6 # This program is distributed in the hope that it will be useful, |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
7 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
8 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
9 # GNU General Public License for more details. |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
10 # |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
11 # You should have received a copy of the GNU General Public License |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
12 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
13 |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
14 from bGrease.component import Component |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
15 |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
16 class Equip(Component): |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
17 """ |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
18 Component that stores the equipment (what is being worn/wieled). |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
19 """ |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
20 |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
21 def __init__(self): |
9aebbf4e02f7
Added equip component, wich stores the equipment data of an entity.
KarstenBock@gmx.net
parents:
diff
changeset
|
22 Component.__init__(self, head=str, body=str, leg=str, feet=str, l_arm=str, r_arm=str) |