Database Layout
From Zangshin
Environment
The environment consists of rooms on a X,Z,Y grid space. At a later stage we may add a fourth dimension, the map or world space, specifically to enable some rooms to "contain" detailed maps of their own (such as a one room house having a complex interior layout).
Rooms generally have a base type which defines the minimap colour and defualt values for all other aspects. Text fields of the default type can contain scriptswhich create randomly varied text data in the final rooms. these should be seeded by coordinate that each room maintains the same text dertails. Furthermore, these base types can be used to auto-generate rooms acording to area information.
Room details:
- Player Comments [text]
- Builder Notes [text]
- Title [text]
- Short Description [text]
- Long Description [text]
- Illustration [image]
- 10 exits [boolean]
- Other flags and tags to indicate rooms status, such as outdoors/indoors, path or build up area an so on
Individual rooms mostly modify teh base text parts from the room types, while the notes and comments are not applicable to base types at all.
Mobiles
usernameid Name Class Race STR DEX CON INT WIS CHR KARMA HP MANA POW FAME AC REF FORT WILL
