dmn 0.0.2

CLI and library for DMs and other players of Advanced Dungeons & Dragons (AD&D)
Documentation
npc_alignment:
  formula: d10
  rows:
    - roll: 1
      steps:
        - text: "Lawful Good"
    - roll: 2
      steps:
        - text: "Lawful Neutral"
    - roll: 3
      steps:
        - text: "Lawful Evil"
    - roll: 4
      steps:
        - text: "Neutral Evil"
    - roll: 5
      steps:
        - text: "Chaotic Evil"
    - roll: 6
      steps:
        - text: "Chaotic Neutral"
    - roll: 7
      steps:
        - text: "Chaotic Good"
    - roll: 8
      steps:
        - text: "Neutral Good"
    - roll: 9-10
      steps:
        - text: "Neutral"

npc_general_appearance:
  formula: d10
  rows:
    - roll: 1
      steps:
        - text: "dirty"
    - roll: 2
      steps:
        - text: "clean"
    - roll: 3
      steps:
        - text: "unkept"
    - roll: 4
      steps:
        - text: "immaculate"
    - roll: 5
      steps:
        - text: "rough"
    - roll: 6
      steps:
        - text: "ragged"
    - roll: 7
      steps:
        - text: "dandyish"
    - roll: 8
      steps:
        - text: "foppish"
    - roll: 9
      steps:
        - text: "non-descript"
    - roll: 10
      steps:
        - text: "imposing"

npc_general_tendencies:
  formula: d24
  rows:
    - roll: 1
      steps:
        - text: "optimist"
    - roll: 2
      steps:
        - text: "pessimist"
    - roll: 3
      steps:
        - text: "hedonist"
    - roll: 4
      steps:
        - text: "altruist"
    - roll: 5
      steps:
        - text: "helpful/kindly"
    - roll: 6
      steps:
        - text: "careless"
    - roll: 7
      steps:
        - text: "capricious/mischievous"
    - roll: 8
      steps:
        - text: "sober"
    - roll: 9
      steps:
        - text: "curious/inquisitive"
    - roll: 10
      steps:
        - text: "moody"
    - roll: 11
      steps:
        - text: "trusting"
    - roll: 12
      steps:
        - text: "suspicious/cautious"
    - roll: 13
      steps:
        - text: "precise/exacting"
    - roll: 14
      steps:
        - text: "perceptive"
    - roll: 15
      steps:
        - text: "opinionated/contrary"
    - roll: 16
      steps:
        - text: "violent/warlike"
    - roll: 17
      steps:
        - text: "studious"
    - roll: 18
      steps:
        - text: "foul/barbaric"
    - roll: 19
      steps:
        - text: "cruel/callous"
    - roll: 20
      steps:
        - text: "practical joker/prankster"
    - roll: 21
      steps:
        - text: "servile/obsequious"
    - roll: 22
      steps:
        - text: "fanatical/obsessive"
    - roll: 23
      steps:
        - text: "malevolent"
    - roll: 24
      steps:
        - text: "loquacious"

npc_personality:
  formula: d8
  rows:
    - roll: 1-5
      steps:
        - table: npc_average_personality
    - roll: 6-7
      steps:
        - table: npc_extroverted_personality
    - roll: 8
      steps:
        - table: npc_introverted_personality

npc_average_personality:
  formula: d8
  rows:
    - roll: 1
      steps:
        - text: "modest"
    - roll: 2
      steps:
        - text: "egoist/arrogant"
    - roll: 3
      steps:
        - text: "friendly"
    - roll: 4
      steps:
        - text: "aloof"
    - roll: 5
      steps:
        - text: "hostile"
    - roll: 6
      steps:
        - text: "well-spoken"
    - roll: 7
      steps:
        - text: "diplomatic"
    - roll: 8
      steps:
        - text: "abrasive"

npc_extroverted_personality:
  formula: d8
  rows:
    - roll: 1
      steps:
        - text: "forceful"
    - roll: 2
      steps:
        - text: "overbearing"
    - roll: 3
      steps:
        - text: "friendly"
    - roll: 4
      steps:
        - text: "blustering"
    - roll: 5
      steps:
        - text: "antagonistic"
    - roll: 6
      steps:
        - text: "rude"
    - roll: 7
      steps:
        - text: "rash"
    - roll: 8
      steps:
        - text: "diplomatic"

npc_introverted_personality:
  formula: d8
  rows:
    - roll: 1
      steps:
        - text: "retiring"
    - roll: 2
      steps:
        - text: "taciturn"
    - roll: 3
      steps:
        - text: "friendly"
    - roll: 4
      steps:
        - text: "aloof"
    - roll: 5
      steps:
        - text: "hostile"
    - roll: 6
      steps:
        - text: "rude"
    - roll: 7
      steps:
        - text: "courteous"
    - roll: 8
      steps:
        - text: "solitary/secretive"

npc_disposition:
  formula: d10
  rows:
    - roll: 1
      steps:
        - text: "cheerful"
    - roll: 2
      steps:
        - text: "morose"
    - roll: 3
      steps:
        - text: "compassionate/sensitive"
    - roll: 4
      steps:
        - text: "unfeeling/insensitive"
    - roll: 5
      steps:
        - text: "humble"
    - roll: 6
      steps:
        - text: "proud/haughty"
    - roll: 7
      steps:
        - text: "even tempered"
    - roll: 8
      steps:
        - text: "hot tempered"
    - roll: 9
      steps:
        - text: "easy going"
    - roll: 10
      steps:
        - text: "harsh"