Skip to main content

tiny-dungeon-chargen

Python package to generate player characters for the Tiny Dungeon tabletop roleplaying game (1st edition) by Brandon McFaddon.

Installation

This package may be installed from pypi via pip:

python -m pip install tiny-dungeon

Usage

Instantiate a character

>>> from tiny_dungeon.char import TinyDungeonPC
>>>
>>> pc = TinyDungeonPC()
>>>
>>> # view as dictionary
>>> pc.as_dict()
{'race': 'Fey', 'hp': 6, 'race_trait': 'Bow Mastery', 'race_trait_desc': 'You have Mastered bows and have Advantage when using them. This is in addition to the Mastered weapon chosen at Adventurer Creation.', 'trait1': 'Acrobat', 'trait1_desc': 'You gain Advantage when Testing to do acrobatic tricks such as tumbling, long-distance jumps, climbing, and maintaining balance.', 'trait2': 'Marksman', 'trait2_desc': 'When you Focus, your next attack with a ranged weapon is successful on a Test of 3, 4, 5, or 6.', 'trait3': 'Nimble Fingers', 'trait3_desc': 'You gain Advantage when Testing to pick locks, pick pockets, or steal.', 'weapon_proficiency': 'Ranged', 'weapon': 'Throwing Knives', 'gold_pieces': 10, 'equipment': ['bedroll', 'flint and steel', 'belt pouch', 'rucksack', 'lantern', 'empty waterskin', 'oil (3 pints)', "50' rope", 'rations (7 days)', 'torch', 'cloak'], 'family_trade': ''}
>>>
>>> # print character to STDOUT
>>> pc.print_char()


NAME: _________________________________

RACE: Fey

HIT POINTS: 6

WEAPON PROFICIENCY: Ranged

WEAPON: Throwing Knives

MASTERED WEAPON: ______________________

TRAITS
------------
Bow Mastery: You have Mastered bows and have Advantage when using them. This is in addition to the Mastered weapon chosen at Adventurer Creation.
Acrobat: You gain Advantage when Testing to do acrobatic tricks such as tumbling, long-distance jumps, climbing, and maintaining balance.
Marksman: When you Focus, your next attack with a ranged weapon is successful on a Test of 3, 4, 5, or 6.
Nimble Fingers: You gain Advantage when Testing to pick locks, pick pockets, or steal.

EQUIPMENT
------------
bedroll
flint and steel
belt pouch
rucksack
lantern
empty waterskin
oil (3 pints)
50' rope
rations (7 days)
torch
cloak

GOLD PIECES: 10

Release files for tiny-dungeon 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tiny-dungeon 0.9.0
File Size Uploaded
tiny_dungeon-0.9.0.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tiny-dungeon 0.9.0
File Interpreter ABI Platform
tiny_dungeon-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / tiny_dungeon-0.9.0.tar.gz

Download URL tiny_dungeon-0.9.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f1ec7247530b9557f186388f6b1a13a60170ad861390570f9a4ab1c74fdd5d25
BLAKE2b-256 checksum
How to use checksums
510c72d787c193e5daa18f6756a7889e91e6acf6d52da5a32167b0bda3931029
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / tiny_dungeon-0.9.0-py3-none-any.whl

Download URL tiny_dungeon-0.9.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77b627366be6d5ab78fb98695db4816a4f3ce197d1938fa51281d43f348a937a
BLAKE2b-256 checksum
How to use checksums
d4c7fa06513a40476c2bbabd1eb092301ea75e5c63890356c67ca43bdd0da58c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page