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.8.tar.gz
(4.1 kB
view details)
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 MonsterLab-1.2.8.tar.gz.
File metadata
- Download URL: MonsterLab-1.2.8.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ce83ea27266b166e80c3bac610781dc711be71477d08aad5ef6ddf6858bb64b
|
|
| MD5 |
01b57b8ba0aee74862801993a1e2d8f0
|
|
| BLAKE2b-256 |
de21061afc809393e2c057bb1b8a0bcf64922e0d1c2b4ae4f692c42f97c06e0a
|
File details
Details for the file MonsterLab-1.2.8-py3-none-any.whl.
File metadata
- Download URL: MonsterLab-1.2.8-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aa93d2e08fbfb3c0a7a292e53f8d1987b60366ac2c9668a8f5bb0a883bac90e
|
|
| MD5 |
f22915975d661b5e02414ba4adbffff5
|
|
| BLAKE2b-256 |
80e0a9b833d58ce03146002224b6b571b759ed41c81d424d5750095dbe3ab807
|