drdplus/health

Body and soul harms, afflictions and their treatment of a being for Drd+

3.0.0 2022-01-03 14:11 UTC

This package is auto-updated.

Last update: 2024-04-29 04:06:13 UTC


README

Build Status Test Coverage License

Wounds

  • aggregates every single not-yet healed wound
  • knows number of serious injuries (six means death)
  • knows malus caused by wounds and roll on will
  • knows if person is still alive
  • note: sum of wounds (its points) is kept by Grid of wounds

Grid of wounds

  • its three-rows size is determined by wounds limit (filled rows have effect on malus)
  • knows sum of Wounds (their points of wound respectively)
  • knows remaining health
  • knows filled "rows" count (useful for roll on will to get malus caused by wounds)
  • knows Treatment boundary
Wound
  • has Origin
  • has size (expressed by number of point of wound)
  • has severity
    • ordinary
    • serious, which has detail about its origin, see Wounds origin, also serious wound is automatically considered as old injury (see Treatment boundary)
Wounds origin
Mechanical wounds
  • stab
  • cut
  • crush
Psychical wounds
  • Ψ [ˈpsiː]
Elemental wounds
  • ± fire
  • ± air
  • ± water
  • ± earth
Treatment boundary
  • splits wounds in grid of wounds into two parts
    • "old" injuries, which are those not healed by last treatment (native regeneration per day, or by a healer) and all serious injuries
    • new injuries

Affliction (handicap caused by body or soul damage)

Knows its

  • domain
  • virulence
  • source
  • property
  • dangerousness
  • size
  • elemental pertinence
  • effect
  • outbreak period

Affliction knows from what wound it comes from, but wound itself does not know all the afflictions it caused - it is one-way knowledge. But health knows all afflictions it is suffering now.

Affliction effect

  • it just keeps the effect
  • the Person itself is responsible to ask its Health for its AfflictionsByWounds for its AfflictionEffects and apply them on self

Healing

Mitigation of wounds

Treatment of ordinary wounds
Treatment of serious wounds
Native healing of wounds

Healing of affliction

Treatment of affliction

Native cure of affliction