Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local development #1

Open
Gazook89 opened this issue Jan 19, 2022 · 0 comments
Open

Local development #1

Gazook89 opened this issue Jan 19, 2022 · 0 comments

Comments

@Gazook89
Copy link
Contributor

I gave this a spin and noticed some places where there could be improvement in the output, but hate to be the guy who nitpicks without offering to do some of the work. However, I'm not very familiar with python, and couldn't figure out how to run this just locally on my machine (macOS, using VS Code). Any quick tips on doing that?

Otherwise, the big suggestion I have is to update the output to reflect Homebrewery's new v3 Renderer requirements for a stat block. Here is an example of that new output:

{{monster,frame
## Angel Pigeon
*Medium annoyance, chaotic sloppy*
___
**Armor Class** :: 11 (chain mail, shield)
**Hit Points**  :: 57(1d4 + 5)
**Speed**       :: 29ft.
___
|  STR  |  DEX  |  CON  |  INT  |  WIS  |  CHA  |
|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|
|7 (-1)|7 (-1)|3 (-3)|6 (-2)|8 (-1)|7 (-1)|
___
**Condition Immunities** :: None
**Senses**               :: darkvision 60 ft., passive Perception 14
**Languages**            :: Latin
**Challenge**            :: 8 (8447 XP)
___
***Enormous Nose.*** This creature gains advantage on any check involving putting things in its nose.
:
***Fowl Appearance.*** While the creature remains motionless, it is indistinguishable from a normal chicken.
:
***Enormous Nose.*** This creature gains advantage on any check involving putting things in its nose.
:
***Pack Tactics.*** These guys work together like peanut butter and jelly.
:
***Hangriness.*** This creature is angry, and hungry. It will refuse to do anything with you until its hunger is satisfied.

When in visual contact with this creature, you must purchase an extra order of fries, even if they say they aren't hungry.
### Actions
***Team Elbow.*** *Melee Weapon Attack:* +4 to hit, reach 5ft., one target. *Hit* 5 (1d6 + 2) 
:
***Gory Body Sweep.*** *Melee Weapon Attack:* +4 to hit, reach 5ft., one target. *Hit* 5 (1d6 + 2) 
:
***Turnbuckle Roll.*** *Melee Weapon Attack:* +4 to hit, reach 5ft., one target. *Hit* 5 (1d6 + 2) 
}}

Basically it removes the need for an <hr> followed by a <blockquote> and instead just uses a new custom markdown token {{ ... }} to create <div></div>, with a few other changes.

I can likely provide this new parsing but just need to get a local app up and running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant