diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-05 09:48:36 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-05 09:48:36 +0000 |
commit | d6b9d63fa26271de099ddc4c08cdc6b5587f37ec (patch) | |
tree | e0663b6aa8ecc0b2448538d2c141c1de40c3c773 /docs/items.txt | |
parent | 5e5b2bb1db22d1611a6b897d21e2c3427fea1f19 (diff) | |
download | mana-d6b9d63fa26271de099ddc4c08cdc6b5587f37ec.tar.gz mana-d6b9d63fa26271de099ddc4c08cdc6b5587f37ec.tar.bz2 mana-d6b9d63fa26271de099ddc4c08cdc6b5587f37ec.tar.xz mana-d6b9d63fa26271de099ddc4c08cdc6b5587f37ec.zip |
Few formatting updates mostly.
Diffstat (limited to 'docs/items.txt')
-rw-r--r-- | docs/items.txt | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/docs/items.txt b/docs/items.txt index a56d8708..7301c6ad 100644 --- a/docs/items.txt +++ b/docs/items.txt @@ -6,20 +6,28 @@ THE MANA WORLD INVENTORY SYSTEM 2. DATABASE 3. EQUIPMENT + 1. INTRODUCTION -The inventory system will be based client side on a database realized by an XML document. The database will contain a list of all the items available ingame. +The inventory system will be based client side on a database realized by an XML +document. The database will contain a list of all the items available ingame. + 2. DATABASE -The XML document (name to be defined, suggested items.xml) will contain a list of items. -- itemId a progressive integer (will be used also to show the correct item picture). -- itemImage (used if same images are used for different items) -- itemName. -- itemDescription (a brief description to be shown in shops, or in the inventory). -- itemType (weapon, food, armor, stone, and so on...). -- itemProperties (probably a series of flags). +The XML document (name to be defined, suggested items.xml) will contain a list +of items. An item can have the following properties: + +- id (a positive integer uniquely identifying an item) +- image (used if same images are used for different items) +- name +- description (a brief description shown in shops, or in the inventory) +- type (weapon, food, armor, stone, and so on...) +- properties (probably a series of flags) + 3. EQUIPMENT -Every being will have a variable number of slots to equip items. For a player we will have 6 slots: head, upper body, lower body, feet, left hand, right hand. +Every being will have a variable number of slots to equip items. For a player +we will have 6 slots: head, upper body, lower body, feet, left hand, right +hand. |