From d6b9d63fa26271de099ddc4c08cdc6b5587f37ec Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 5 Feb 2005 09:48:36 +0000 Subject: Few formatting updates mostly. --- docs/items.txt | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'docs/items.txt') 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. -- cgit v1.2.3-70-g09d2