mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-06 21:01:26 +02:00
Tweaked inspiration, and added example of cascading sheets.
This commit is contained in:
@@ -146,7 +146,7 @@ class Character(Entity):
|
|||||||
xp = 0
|
xp = 0
|
||||||
# Extra hit points info, for characters only
|
# Extra hit points info, for characters only
|
||||||
hp_current = None
|
hp_current = None
|
||||||
hp_temp = None
|
hp_temp = 0
|
||||||
# Base stats (ability scores)
|
# Base stats (ability scores)
|
||||||
inspiration = False
|
inspiration = False
|
||||||
attacks_and_spellcasting = ""
|
attacks_and_spellcasting = ""
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ def create_character_pdf_template(character, basename, flatten=False):
|
|||||||
"Race ": str(character.race),
|
"Race ": str(character.race),
|
||||||
"Alignment": character.alignment,
|
"Alignment": character.alignment,
|
||||||
"XP": str(character.xp),
|
"XP": str(character.xp),
|
||||||
"Inspiration": str("Yes" if character.inspiration else "No"),
|
"Inspiration": str("Yes" if character.inspiration else ""),
|
||||||
# Abilities
|
# Abilities
|
||||||
"ProfBonus": mod_str(character.proficiency_bonus),
|
"ProfBonus": mod_str(character.proficiency_bonus),
|
||||||
"STRmod": str(character.strength.value),
|
"STRmod": str(character.strength.value),
|
||||||
@@ -87,8 +87,8 @@ def create_character_pdf_template(character, basename, flatten=False):
|
|||||||
# Hit points
|
# Hit points
|
||||||
"HDTotal": character.hit_dice,
|
"HDTotal": character.hit_dice,
|
||||||
"HPMax": str(character.hp_max),
|
"HPMax": str(character.hp_max),
|
||||||
"HPCurrent": str(character.hp_current),
|
"HPCurrent": str(character.hp_current) if character.hp_current is not None else "",
|
||||||
"HPTemp": str(character.hp_temp),
|
"HPTemp": str(character.hp_temp) if character.hp_temp > 0 else "",
|
||||||
# Personality traits and other features
|
# Personality traits and other features
|
||||||
"PersonalityTraits ": text_box(character.personality_traits),
|
"PersonalityTraits ": text_box(character.personality_traits),
|
||||||
"Ideals": text_box(character.ideals),
|
"Ideals": text_box(character.ideals),
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ alignment = "Lawful evil"
|
|||||||
|
|
||||||
xp = 0
|
xp = 0
|
||||||
hp_max = 54
|
hp_max = 54
|
||||||
inspiration = 0 # integer inspiration value
|
inspiration = True # integer inspiration value
|
||||||
|
|
||||||
# Ability Scores
|
# Ability Scores
|
||||||
strength = 15
|
strength = 15
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
"""This file describes game-manager notes.
|
|
||||||
|
|
||||||
It's used for creating notes for the GM to keep track of various
|
|
||||||
monsters, etc.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
dungeonsheets_version = "0.14.0"
|
|
||||||
|
|
||||||
sheet_type = "gm"
|
|
||||||
|
|
||||||
session_title = "Objects in Space"
|
|
||||||
|
|
||||||
party = ["rogue1.py", "paladin2.py"]
|
|
||||||
|
|
||||||
monsters = ["aboleth", "wolf", "giant eagle", "Vashta Nerada"]
|
|
||||||
Reference in New Issue
Block a user