TWiki Home Tharsis . Design . BodyAllocationDaemon (r1.7 vs. r1.8) Tharsis webs:
Design | Guilds | Combat | Website
Design . { Home | Changes | Index | Search | Go }
 <<O>>  Difference Topic BodyAllocationDaemon (r1.8 - 11 Mar 2005 - FreD)
Changed:
<
<

UPDATED Reconstructing this. I'm pondering the all sorts of uses for it. Some things to ponder:

>
>

Reconstructing this. I'm pondering the all sorts of uses for it. Some things to ponder:

Added:
>
>

        • Making a list of things bodies need to be able to do (and not), so I know what the code will look like. I have lots of even wilder ideas, I'll keep these for myself for my own safety :) -- FreD
Added:
>
>

      • To be a smart ass, I think its the other way around with ogres.. most good gear belong to large sized monsters, which puts humans and smaller in the problem spot. I see what you mean. It would be nice with perks from races. The more different the better aye? I think it should still be possible to dress up in clothes within a certain range. What effects that would have (illfitting armour vs clothes) could be hardcoded if the effect is desired. -- FreD
Changed:
<
<

  • etc
>
>

    • No it isn't, [ticked box] I want to save mud memory. -- FreD

This is leaning towards scrapping this below and use recorded info raw. Now I'm giving you an example from combat. BECASE THIS IS WHAT I'M CODING RIGHT NOW DOESNT MEAN BODIES ARE COMBAT EXCLUSIVE.

action[Fred hits Prodigy]
| fred->hitTarget(prodigy, with_what)
| | lookup_body_part(prodigy) from daemon
| | | prodigy == human, returned "humanoid"
| | | roll_to_hit("humanoid", with_what)
| | | scored head
| | | | what_is_worn(head)
| | | < returned {helmet of vigour}
| | | calculate_dmg(with_what, {helmet of vigour})
| | | | lookup damage dealt, what happened with the head and helmet
| | | < return it.
| | < return
| < return
| fred->damage(prodigy)
< return message
Fred clouts Prodigy over the head with a spiked club. 
  Prodigy's helmet of vigour cracks in two and the hit causes him to see stars.
Might be slightly more complicated that it would look like in the end, but its straight from my head.

Topic BodyAllocationDaemon . { View | Diffs | r1.8 | > | r1.7 | > | r1.6 | More }
Revision r1.7 - 11 Mar 2005 - 09:45 GMT - FantoM
Revision r1.8 - 11 Mar 2005 - 13:06 GMT - FreD
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.