TWiki Home Tharsis . Combat . IncreasedArmourSlots (r1.8 vs. r1.9) Tharsis webs:
Design | Guilds | Combat | Website
Combat . { Home | Changes | Index | Search | Go }
 <<O>>  Difference Topic IncreasedArmourSlots (r1.9 - 15 Sep 2006 - FantoM)
Changed:
<
<

Structure of the hierarchy:

>
>

Keeps track of all the types of wearable and how they fit together. Provides methods for rapid querying. Will build the datastructure described below during its construction.

Datastructure
The possible types of wearable, and the things they cover, go under, and where they fit on the body are all stored in an n-dimensional map.

key
type (equivalent to location)
value
[description, over, under, bodypart ]
description
One or two word description of the type
over
Array of the types of wearable that this covers
under
Array of the types of wearable that this goes under
bodypart
Array of the body parts that the person must have to be able to wear the item

Methods
  • status is_valid( type )
  • string get_description( type )
  • string *get_goes_over( type )
  • string *get_goes_under( type )
  • string *get_required_bodyparts( type )
Deleted:
<
<

n-dimensional map.

Changed:
<
<

- What about things that are not worn that provide protection? is armour not a wearable with ac, but perhaps a wearable with protection, and protection is something that provides an ac?
- Does wearing one thing over the top of another make the one underneath provide less protection?

>
>

  • What about things that are not worn that provide protection? is armour not a wearable with ac, but perhaps a wearable with protection, and protection is something that provides an ac?
  • Does wearing one thing over the top of another make the one underneath provide less protection?
  • How do we handle that a human can wear two rings, but a 4 armed being an wear 4, and a snake can wear none.

Topic IncreasedArmourSlots . { View | Diffs | r1.9 | > | r1.8 | > | r1.7 | More }
Revision r1.8 - 14 Sep 2006 - 03:16 GMT - FantoM
Revision r1.9 - 15 Sep 2006 - 12:30 GMT - FantoM
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding Tharsis? Send feedback.