summaryrefslogblamecommitdiff
path: root/docs/items.txt
blob: 7301c6ad54723735a6c60e64dd644868238fea27 (plain) (tree)
1
2
3
4
5
6
7
8
9







                               
 

               


                                                                               


           









                                                                              


            


                                                                             
-------------------------------
THE MANA WORLD INVENTORY SYSTEM
-------------------------------

1. INTRODUCTION
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.


2. DATABASE

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.