Skip to main content

Character Generator for the Tiny Dungeon RPG (1st Edition)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiny_dungeon-0.9.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

tiny_dungeon-0.9.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file tiny_dungeon-0.9.0.tar.gz.

File metadata

  • Download URL: tiny_dungeon-0.9.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for tiny_dungeon-0.9.0.tar.gz
Algorithm Hash digest
SHA256 f1ec7247530b9557f186388f6b1a13a60170ad861390570f9a4ab1c74fdd5d25
MD5 96c858171f6d187ede4e9b62d16e2534
BLAKE2b-256 510c72d787c193e5daa18f6756a7889e91e6acf6d52da5a32167b0bda3931029

See more details on using hashes here.

File details

Details for the file tiny_dungeon-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tiny_dungeon-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77b627366be6d5ab78fb98695db4816a4f3ce197d1938fa51281d43f348a937a
MD5 4b378766cfa987ae8d9c1810cc29a11a
BLAKE2b-256 d4c7fa06513a40476c2bbabd1eb092301ea75e5c63890356c67ca43bdd0da58c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page