Monster Generator
Project description
MonsterLab
by Robert Sharp
Monster Class
Optional Inputs
It is recommended to pass all the optional arguments or none of them. For example, a custom type requires a custom name.
- Name: Compound Gaussian Distribution -> String
- Derived from Type
- Multidimensional distribution of types and subtypes
- Type: Wide Flat Distribution -> String
- Demonic
- Devilkin
- Dragon
- Undead
- Elemental
- Fey
- Undead
- Level: Poisson Distribution -> Integer
- Range: [1..20]
- Most Common: [4..7] ~64%
- Mean: 6.001
- Median: 6
- Rarity: Linear Distribution [Rank 0..Rank 5] -> String
- Rank 0: 30.5% Very Common
- Rank 1: 25.0% Common
- Rank 2: 19.4% Uncommon
- Rank 3: 13.8% Rare
- Rank 4: 8.3% Epic
- Rank 5: 2.7% Legendary
Derived Fields
- Damage: Compound Geometric Distribution with Linear Noise -> String
- Derived from Level and Rarity
- Health: Geometric Distribution with Gaussian Noise -> Float
- Derived from Level and Rarity
- Energy: Geometric Distribution with Gaussian Noise -> Float
- Derived from Level and Rarity
- Sanity: Geometric Distribution with Gaussian Noise -> Float
- Derived from Level and Rarity
- Time Stamp: The Monster's Birthday -> String
Example Monster
- Name: Revenant
- Type: Undead
- Level: 3
- Rarity: Rank 0
- Damage: 3d2+1
- Health: 6.35
- Energy: 5.78
- Sanity: 6.0
- Time Stamp: 2021-08-09 14:23:23
Code Example
$ pip install MonsterLab
$ python3
>>> from MonsterLab import Monster
>>> Monster()
Name: Imp
Type: Demonic
Level: 10
Rarity: Rank 0
Damage: 10d2+1
Health: 20.89
Energy: 20.55
Sanity: 20.79
Time Stamp: 2021-08-09 14:23:23
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
MonsterLab-1.2.2.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file MonsterLab-1.2.2.tar.gz
.
File metadata
- Download URL: MonsterLab-1.2.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.0.3 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e55ecae543824dbcc78669a738bbb0db4125b3d7b54da04b7222a66be32ceb |
|
MD5 | 87f04f52b05695b80574a69e207d2cfa |
|
BLAKE2b-256 | f9e218e062254902fd7b4981237458a2bdf4ad95a09a8e34fb0f886680502c3d |
File details
Details for the file MonsterLab-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: MonsterLab-1.2.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.0.3 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc52a01687df429bc031c6cb2f8080bf3edfd5590017e35c7dd9229b953a4a8 |
|
MD5 | 1149bf4487d28054ec32ebfd37f88ab1 |
|
BLAKE2b-256 | 91827ff4126855d17a83a8e23db7cfbf0790df2319d3d8c83f532b4b956f5bad |