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

function: is_wearable() returns true.

>
>

Backwards compatibility
The existing /std/modules/m_wearable defines the following which we must maintain:
is_wearable()
query_worn()
query_worn_by()
set_type() - just an alias for set_armour_type in current version
Hook - HOOK_ITEM_WEAR_CHECK
Hook - HOOK_ITEM_WORN
Hook - HOOK_ITEM_REMOVAL_CHECK
Hook - HOOK_ITEM_REMOVED

The following are also defined - but we'll probably have to break them:
query_armour_type()
set_armour_type()
test_armour_type()
restored()
remove() - triggers on the 'prepare_destruct' hook.
drop_armour() - triggers on the object being moved

It also defines these and hopefully we can remove them
worn_attributes()
wear() - this becomes a verb
init() - all replaced by verbs
do_remove() - this becomes a verb

Changed:
<
<

-- have to call it a night. thoughts for the next time: - 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?

>
>

Thoughts for the next time:

- 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?

Topic IncreasedArmourSlots . { View | Diffs | r1.9 | > | r1.8 | > | r1.7 | More }
Revision r1.7 - 12 Sep 2006 - 23:53 GMT - FantoM
Revision r1.8 - 14 Sep 2006 - 03:16 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.