Call of Cthulhu character generator
Project description
Call Of Cthulhu Character Generator
Fast way of creating a random character for Chall of Cthulhu RPG 7th ed.
Summary
cochar stands fo Call of Cthulhu Character. It's a python module desing to create a full characters for Call of Cthulgu RPG 7th ed.
Table of Contents
- Project Title
- Summary
- Table of Contents
- Installation
- Usage
- Dependencies
- Documentation
- Contribution
- Authors & Contributors
- To Do
- License
Installation
pip3 install cochar
Usage
Basic
Example:
from cochar import Character
c = Character()
Character(age=30, sex='M', first_name='Kelvin', last_name='Burlingame', country='US', occupation='antiquarian', characteristics={'str': 57, 'con': 23, 'siz': 75, 'dex': 23, 'app': 80, 'edu': 87, 'int': 48, 'pow': 18, 'move_rate': 7}, luck=33, skills={'appraise': 64, 'history': 90, 'library use': 90, 'spot hidden': 90, 'listen': 27, 'persuade': 89, 'pilot': 9, 'sleight of hand': 12, 'credit rating': 69, 'doge': 11}, weights=True, damage_bonus='+1K4', build=1, doge=11)
Avanced
You can set any of the following parameters to create Character object:
year (int, optional) – year when character born, defaults to 1925
age (str, optional) – character age, defaults to None
sex (str, optional) – character sex, defaults to None
first_name (str, optional) – character name, random if not set, defaults to None
last_name (str, optional) – character last name, random if not set, defaults to None
country (str, optional) – country to generate name and last name, defaults to “US”
occupation (str, optional) – character occupation, optimal occupation (base on max skill points) if not set, defaults to “optimal”
occupation_points (int, optional) – occupation point, max if not set, defaults to None
hobby_points (int, optional) – hobby points, 2*intelligence if not set, defaults to None
skills (dict, optional) – character skills, random if not set, defaults to None
strength (int, optional) – character strength, random if not set, defaults to 0
condition (int, optional) – character condition, random if not set, defaults to 0
size (int, optional) – character size, random if not set, defaults to 0
dexterity (int, optional) – character dexterity, random if not set, defaults to 0
apperance (int, optional) – character apperance, random if not set, defaults to 0
edducation (int, optional) – character edducation, random if not set, defaults to 0
intelligence (int, optional) – character intelligence, random if not set, defaults to 0
power (int, optional) – character power, random if not set, defaults to 0
move_rate (int, optional) – character move_rate, random if not set, defaults to 0
sanity_points (int, optional) – character sanity_points, random if not set, defaults to 0
magic_points (int, optional) – character magic_points, random if not set, defaults to 0
hit_points (int, optional) – character hit_points, random if not set, defaults to 0
luck (int, optional) – character luck, random if not set, default to 0
Dependencies
cochar depends on randname module for generating random names.
For more details please see:
Documentation
Detailed documentation of module can by found here: cochar documentation
Contribution
If you want to contribute to cochar projcet read contribution for more information.
Authors & Contributors
Author: Adam Walkiewicz
Contributors: Be first!
To do
Basic improvements
- Move occupation to extrnal files
- Write more thorough unit tests
- Save characters feature
- Simple GUI
- Add custom Errors
- Add more suited occupations for NPC's
Dream improvements
Realisticaly those improvement probably will never be introduced.
- Generating PDF's
- Interactive and advance graphical GUI
License
Cochar is licensed under the terms of the GNU GPLv3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cochar-0.2.4.tar.gz.
File metadata
- Download URL: cochar-0.2.4.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e04087a8b840db9716dc16e488dcff27fe1c7686efac90023efdf6b4afdbd10
|
|
| MD5 |
7e79e4bcf6ac487fab3398b678491cc1
|
|
| BLAKE2b-256 |
27f27517fc5a3189770dba7efeec2be7c2a6e4a902bfeabb3c3aa02ba5f0bb47
|
File details
Details for the file cochar-0.2.4-py3-none-any.whl.
File metadata
- Download URL: cochar-0.2.4-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
934a0cbeff245287e6bca5d922fc51c29bedb39153bfdd3015e80ab558a4b6aa
|
|
| MD5 |
be05968fa18030a6adbc3f0a6272b81a
|
|
| BLAKE2b-256 |
43ff615c26ce4d256c6dd3f2119275f61fb9cdfa76d3691d33634787907d5077
|