Skip to content

Commit

Permalink
docs: president samuel davis character block
Browse files Browse the repository at this point in the history
  • Loading branch information
qthequartermasterman committed Jan 7, 2024
1 parent 171debc commit fbfe929
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 8 deletions.
46 changes: 46 additions & 0 deletions docs/denizens_of_the_wasteland/characters/lonestarrepublic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
character_president_davis:
name: President Samuel Davis
level: 10
img: ../../../../Assets/characters/president.png
exp: 38
type: Notable
keywords:
- Human
description: President Samuel Davis is a rugged and imposing figure in the post-apocalyptic wasteland. Standing at 6 feet tall, he possesses a commanding presence with broad shoulders and a well-maintained physique that reflects his military background. Samuel's deep-set, steel-blue eyes radiate an air of authority, often leaving an indelible impression on those who meet him. His grizzled, salt-and-pepper hair and well-trimmed beard add to his distinguished appearance. Although the wasteland has aged him, it has also toughened him, and his weathered features tell the tale of a man who has faced the harsh realities of the new world.
special:
strength: 7
perception: 6
endurance: 8
charisma: 9
intelligence: 6
agility: 6
luck: 5
skills:
athletics:
tag: false
rank: 1
barter:
tag: false
rank: 1
sneak:
tag: true
rank: 2
speech:
tag: true
rank: 3
survival:
tag: true
rank: 3
melee_weapons:
tag: false
rank: 1
small_guns:
tag: false
rank: 1
special_abilities:
- name: Stratagem and Espionage
description: With his long military background, President Davis is a master of strategy and espionage. He can plan and execute covert operations, gather intelligence, and conduct reconnaissance. He can also train others in these skills, allowing them to perform more effectively in the field. When President Davis is present, Sneak-based skill checks have one less difficulty for all members of the party.
- name: Diplomatic Insight
description: The elder is a skilled diplomat and mediator. Their ability to read people and situations allows them to negotiate more effectively, make wise decisions, and find common ground during diplomatic discussions. They can also defuse tense situations and foster cooperation with other factions. Once per short rest, they can subtract 1 {CD} difficulty from a single Charisma-based skill check. If an Effect is rolled, then they can optionally re-roll one d20 dice used for the skill check.
- name: Politician's Charm
description: President Davis is a skilled orator and a master of persuasion. He can sway the opinions of others and convince them to see things his way. He can also train others in these skills, allowing them to perform more effectively in the field. On any Charisma-based skill check, President Davis can re-roll one d20 die.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ Under the Davis Administration, Vault 117 was fast-tracked to annexation and bei
## Characters
### President Samuel Davis
#### Appearance
![Samuel Davis](president.png)

[//]: # (![Samuel Davis](president.png))

{{ render_character_block(character_president_davis) }}

President Samuel Davis is a rugged and imposing figure in the post-apocalyptic wasteland. Standing at 6 feet tall, he possesses a commanding presence with broad shoulders and a well-maintained physique that reflects his military background. Samuel's deep-set, steel-blue eyes radiate an air of authority, often leaving an indelible impression on those who meet him. His grizzled, salt-and-pepper hair and well-trimmed beard add to his distinguished appearance. Although the wasteland has aged him, it has also toughened him, and his weathered features tell the tale of a man who has faced the harsh realities of the new world.

Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ plugins:
- macros:
include_yaml:
- docs/denizens_of_the_wasteland/characters/bayoubrotherhood.yaml
- docs/denizens_of_the_wasteland/characters/lonestarrepublic.yaml
- docs/denizens_of_the_wasteland/creatures/corerulebook.yaml
- docs/denizens_of_the_wasteland/creatures/new_creatures.yaml
modules: [render_blocks]
Expand Down
12 changes: 5 additions & 7 deletions render_blocks/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,17 +293,15 @@ def validate_special(self) -> "Character":
raise ValueError(f"Invalid character type {self.type}")
if self.type == Type.normal and special_sum != math.ceil(35 + self.level / 2):
raise ValueError(
f"Normal characters must have a total of ceil(35 + level/2) SPECIAL points, but this character has {special_sum} points."
f"Normal characters must have a total of {math.ceil(35 + self.level/2)} SPECIAL points, but this character has {special_sum} points."
)
elif self.type == Type.notable and special_sum != math.ceil(
42 + self.level / 2
):
elif self.type == Type.notable and special_sum != math.ceil(42 + self.level / 2):
raise ValueError(
f"Notable characters must have a total of ceil(42 + level/2) SPECIAL points, but this character has {special_sum} points."
f"Notable characters must have a total of {math.ceil(42 + self.level/2)=} SPECIAL points, but this character has {special_sum} points."
)
elif self.type == Type.major and special_sum != math.ceil(49 + self.level / 2):
elif self.type == Type.major and special_sum != math.ceil(49 + self.level/2):
raise ValueError(
f"Major characters must have a total of ceil(49 + level/2) SPECIAL points, but this character has {special_sum} points."
f"Major characters must have a total of {math.ceil(49 + self.level/2)=} SPECIAL points, but this character has {special_sum} points."
)
return self

Expand Down

0 comments on commit fbfe929

Please sign in to comment.