The One Ring 2E Statblocks
approvedby Michael Hansen
Render NPC and adversary statblocks for The One Ring 2E roleplaying game.
The One Ring 2E Statblocks
This plugin renders adversary statblocks for The One Ring, Second Edition.
Many thanks to @ben for creating the 13th Age statblocks plugin from which this plugin is adapted.
Thanks to @vehrka for their styling contributions.
Development
- Clone this repo.
npm ioryarnto install dependenciesnpm run devto start compilation in watch mode.
Manually installing the plugin
- Copy over
main.js,styles.css,manifest.jsonto your vaultVaultFolder/.obsidian/plugins/tor2e-statblocks/.- If you ran
npm run dev, these will be in the root folder. - Pre-built versions of these files can be found in the releases.
- If you ran
- In Obsidian, navigate to Preferences > Community plugins. Toggle
The One Ring 2E Statblockson.
Create a statblock
A statblock may be defined in a note using this syntax. Fields are mostly optional. If the stat block "disappears" it is because there is a field in the wrong format. Try adding fields one at a time.
The parameters in the statblock are parsed as YAML. Certain Obsidian conventions (for example, double brackets: [[]]) may not work as YAML has its own interpretation of what this means. Try wrapping these in double quotes "".
Fields
name- Adversary nameblurbordescription- The flavor-text description about the adversary.- This field is rendered as Markdown: Obsidian links
[[]]will work here.
- This field is rendered as Markdown: Obsidian links
features- A list of distinctive featureslevel- The attribute level of the adversaryendurance- Endurance pointsmight- Might ratinghateorresolve- Use either of these, the right label will appearparry- Parry ratingarmourorarmor- Armour ratingproficiencies- Combat proficiencies. These are represented by a list of YAML dictionaries in the following format:name- The attack namerating- The attack ratingdamage- The damage ratinginjury- The injury thresholdspecial- Special damage opportunities- This field is rendered as Markdown: Obsidian links
[[]]will work here. If they are not rendering as links, try wrapping the brackets in double quotes.
- This field is rendered as Markdown: Obsidian links
abilities- A list of Fell Abilities- This field is rendered as Markdown: Obsidian links
[[]]will work here. If they are not rendering as links, try wrapping the brackets in double quotes.
- This field is rendered as Markdown: Obsidian links
Example
```tor2e
name: The Covetous Lurker
description: The Covetous Lurker is a worm-like creature that lives underground. It has great grasping claws which clash against cave walls as it pulls itself around its territory, searching for invaders which seek to steal its treasure.
features:
- Greedy
level: 7
endurance: 70
might: 2
hate: 7 # or resolve
parry: 0
armour: 3 # or armor
proficiencies:
- name: Rend
rating: 3
damage: 5
injury: 16
special: "[[Special Damage Options#Seize|Seize]]"
- name: Crush
rating: 3
damage: 7
injury: 12
special: "[[Special Damage Options#Break Shield|Break Shield]]"
abilities:
- "[[Fell Abilities#Fear of Fire|Fear of Fire]]"
- "[[Fell Abilities#Thing of Terror|Thing of Terror]]"
- "[[Fell Abilities#Thick Hide|Thick Hide]]"
```
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.