Git Product home page Git Product logo

monsterblocks's Introduction

Forge Installs Latest Release Download Count

Monster Blocks

An NPC sheet for FoundryVTT designed to faithfully reproduce the apperance of D&D 5e monster statblocks.

A few quick settings can be toggled from the special cog menu in the upper left corner. This includes enabling and disabling certain features, themes, and a toggle for editing.

Ancient Red Dragon

Features

  • Generate attack descriptions including hit bonus, damage formula, and average damage.
  • Generate spellcasting features for regular and innate casters based on the actor's spellbook data.
  • Promote the Multiattack action to be displayed first, even if it isn't the first in the actor's list.
  • Show a concise view of all the relavant game statistics as in oficial 5e books.
  • Optionally display an image of the creature for reference.
  • Optionally display the "secret" blocks of feature descriptions inline rather than in boxes (useful for SRD monsters as they come with descriptions in secret boxes).
  • Automatically set the size of the window to fit the content of the statblock, simple creatures automatically take up less space!
  • Show or hide lair actions, standard statblocks don't really include those, but since you can add them to the actor I made it possible to display them.
  • Settings cog to toggle some features in the upper left corner.
  • Made it so that the [X Close] button can't get overflown off of the control bar (this effects all windows, not just this sheet).
  • Rolls for ability checks, saving throws, skills, features, actions, and spells.
  • Open and edit features, spells, and other items by right-clicking their description.
  • Drag and drop items from the sheet to elsewhere.
  • Set default options in settings, and per-actor settings from the settings cog.
  • Supports rolls from Better Rolls for 5e if installed.
  • Themes: You can pick different themes for each monster to help differentiate.
    • Custom themes: You may specifcy a custom CSS class name to be used as a theme, you can use a module like Custom CSS or a browser extension like Stylish to target .monsterblock.your-class-name and modify the apperance however you like. The following CSS variables are used to define the most important values:
       --heading-color: rgb(89 23 13);
       --roll-hover-color: hsl(8 70% 14% / 1);
       --divider-color: rgba(140, 42, 42, 1);
       --background-filter: hsl(39deg 100% 60% / 80%);
       --background-blend: hard-light;
       --main-text-color: black;
       --inline-link-color: #ff6400;
  • Clicking on the creature's artwork will open an image pop-up that can be shown to the players.
  • Editing, adding features and items, changing skill and save proficiencies.
  • You can now roll skills and saves that are not proficient (or hide this feature)
  • Supports Quick Insert

Languages

  • English
  • 日本語 (Thanks to @Brother Sharp)
  • Français (Thanks to @eolias78)

FAQ

Q: How do I change settings for a given monster?

A: You can adjust the default settings in the Foundry macro settings menu. To adjust settings for each individual monster, there is a settings cog located in the upper left corner of the sheet next to the creature's name. These options toggle various features on and off.

Q. How do I edit spells and features?

A: Right click on any feature, item, or spell to edit it.

Q. How do I edit the avatar/character art?

A: Right click on the image.

Q: Why can't a resize the window?

A: Simple answer? Because getting it to automatically size itself to neatly contain the stats without being too large/small was challenging, and letting users adjust it might lead to unexpected behaviour. The long answer is that, because it automatically calculates its own size, any time the data in the sheet changes, the size might need to change - even a few extra words in a description might mean it needs more space. To avoid situations where a user has custom-sized the window, and then it either resizes itself, or content becomes invisible, I decided to just disable manual sizing. I may revisit this in the future.

Q: What are "secret blocks" and how do those settings work?

A: Secret blocks are a feature of Foundry that allows some text to be "secret" for only the GM to see. Typically, this text is displayed a bit differently, in its own special box. The SRD monsters included with Foundry 5e use this feature for all their attack descriptions, such that text like:

Melee Weapon Attack, +17 to hit, reach 15 ft., one target. Hit: 21 (2d10+10) piercing damage.

Is contained in the secret block. Monster Blocks has three ways to handle this type of text: normally, inline, or hidden. You can configure this on a per-actor basis, and set the default under module settings. As an example, this SRD entry for a Silver Dragon looks like this by default:

Block Secrets

The text in the offset blocks is "secret" text. The text above it is generated by Monster Blocks, and the text below is part of the description that is not a secret. Displayed inline we get this:

Block Secrets

We lose the clear indication of what is or isn't a secret, but it looks more like a statblock. Of course, in this case, that text is repetative. We can either hide the generated text that we don't need:

Block Secrets

Or we can hide the secrets themselves:

Block Secrets

You can choose how you want the sheet to appear for each actor, depending on need/preference. By default, I leave secrets "normal" though my recommendation is to hide the ones for SRD monsters and use the generated text. You can of course edit your monster to have/not have secret text in the description at all if that works better for you. For monsters you create, you can just let Monster Blocks do all the work, and not bother typing out the attack and damage info yourself.

Q: How can I roll from the sheet?

A: To ensure varisamilitude, the sheet doesn't show rollables in a big obvious way. Inline rolls in feature descriptions are still marked with the d20 icon, but the built-in rolls of Monster Blocks are only indicated when moused over. Monster Blocks supports rolling of abilities, saves, and skills, as well as the ability to send chat cards for features, spells, and actions. Simply click on the name of any feature, action, or spell to send its chat card. Monster Blocks also has "quick rolls" for attacks and damage in the generated descriptions. The text such as "+17 to hit" and "Hit: 21 (2d10 + 10)" are rollables, and will directly roll 1d20+17, or 2d10+10 respectively. Feature recharges, likewise, can be clicked to roll a d6 and the chat card will indicate whether or not the roll was high enough to charge the ability. At this time, there isn't a semantic way to roll a save or skill that the creature is not proficient with, as these are not listed on the sheet. In this case, you can simply roll the corrisponding abillity check.

If you have Better Rolls installed, most rolls from this sheet will use BRs custom rolls.

Q: When I use [insert creature] something displays wrong!

A: Please let me know! I'm on the lookout for creatures that break the mold, so if you find something that doesn't work right plase report it and I'll try to figure out how to handle it.

Q: Does Monster Blocks support Lair Actions?

A: Yes! I have Lair Actions disabled by default, but you can configure this either by changing the default, or per-creature. Technically, Lair Actions aren't part of monster statblocks, but since Foundry 5e treats them as monster features rather than location features, I did make it possible to show them. They appear in their own section after Legendary Actions, in a bulleted list.

Q: Some of the buttons on the title bar are missing! What do I do?

A: When the sheet only needs to be one column wide, the titlebar may not be able to fit the name of the monster and all the buttons. This is much more of a problem if you have lots of other modules installed. A quick fix is to hide the labels on those buttons with Custom CSS:

.window-app.monsterblock .window-header { font-size: 0px; padding-right: 30px; }
.window-app.monsterblock .window-header i { font-size: 14px; }

This will show only icons, which should help as long as you remember what they all do.

monsterblocks's People

Contributors

akrigline avatar dependabot[bot] avatar jeremyregnerus avatar vexofp avatar zeel01 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.