codyshepherd / dm-tools Goto Github PK
View Code? Open in Web Editor NEWPython tools for the lazy DM
Python tools for the lazy DM
Sample errors:
$ dm-tools.plebs -g pet
Usage: plebs [OPTIONS]
Try "plebs --help" for help.
Error: Invalid value for "-c" / "--config-yaml": Path "plebs/default-config.yaml" does not exist.
and:
$ dm-tools.plebs -g pet -c <path/to/config.yaml>
Traceback (most recent call last):
File "/snap/dm-tools/3/bin/plebs", line 11, in <module>
load_entry_point('dm-tools==0.1.0', 'console_scripts', 'plebs')()
File "/snap/dm-tools/3/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/snap/dm-tools/3/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/snap/dm-tools/3/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/snap/dm-tools/3/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/snap/dm-tools/3/lib/python3.6/site-packages/plebs/plebs.py", line 206, in plebs
p = pleb(race, **config)
File "/snap/dm-tools/3/lib/python3.6/site-packages/plebs/plebs.py", line 135, in pleb
val = func(**kwargs)
File "/snap/dm-tools/3/lib/python3.6/site-packages/plebs/plebs.py", line 99, in gen_name
with open(os.path.join(OUT_DIR, 'names_generated.txt'), 'a+') as fh:
OSError: [Errno 30] Read-only file system: '/snap/dm-tools/3/lib/python3.6/site-packages/plebs/names_generated.txt'
when adding the 8th or 9th unique combatant type, the performance of live-game during the "Add Character" action begins to suffer.
I've seen this on just my local machine; I need to verify it on another system.
This is probably a unicode font issue, might want to pick a double-width emoji
If a creature has enough items in it's immunities list (e.g. a Ghost), the emojis representing these can overrun the status box borders
This would alleviate the known issue where a crash occurs if the window is too small
steps to repro:
r
12<enter>
Currently, setting max HP with a float value, e.g. 55.0
sets the maximum HP, but the temp HP value remains at whatever it was at prior to the new setting. Temp hp should be set to max hp whenever max HP is set.
Currently two items of the same type can be selected by pockets. In most cases this is not really an issue, but there are a few magic items in the pockets content list (such as Bag of Tricks) that should really only be selected once.
It seems like intended behavior (short of dividing up items.txt into multiple files) should be to sample without replacement.
When editing HP in the Status column in live-game, something like -2.0
causes a crash.
This input should be checked instead, and the change applied to max HP.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.