Skip to content

Non-official plugin for importing characters from Hephaistos.online to Obsidian.md

License

Notifications You must be signed in to change notification settings

Skallaturi/hephaistos-importer

Repository files navigation

Hephaistos Importer for Obsidian.md

For Game Masters of the Starfinder RPG.

A plugin for Obsidian allowing for import of characters from Hephaistos.

It is completely unaffiliated with either program and all thanks go to the dedicated programmers of those.

Features

Given the public ID for a number of Hephaistos characters (the number at the end of the public share link), clicking on the hammer icon will populate the selected Obsidian folder with a note for each character, filling the frontmatter with data for:

  • Name
  • Hit Points, Stamina Points, and temporary HP
  • Initiative
  • KAC and EAC
  • Ability scores and modifiers
  • conditions
  • Link to public version of the character on Hephaistos

If there is already a note with a character's name, the plugin wil update the frontmatter while leaving the rest of the note untouched.

Creating a frontmatter entry with the name of another entry and ending in _override will cause the program to use that value instead.

For instance, you can force a character's KAC to be 15 by adding the frontmatter KAC_override: 15. Delete the override frontmatter to use the plugin's value again.

Installation

From the Releases link, download main.js and manifest.json. Put them in a new folder in your vault's .obsidian/plugins folder.

Limitations

This plugin is not intended to replace Hephaistos in any way. It is merely importing the most important data for convenience's sake -- probably most useful for Game Masters.

Bugs

Since I am essentially reverse-engineering Hephaistos' calculations, I am absolutely sure that I haven't caught every variable that might influence the stats. Bug reports on specific combinations that don't work (such as a feat that should add to KAC but doesn't) would be very welcome. For now, I just know that it works with my group's characters.

Roadmap

This is still a rough WIP, and my intended improvements are:

  • Refinement of the existing data
  • Other methods of stat allocation than Point Buy
  • Any other ideas?

About

Non-official plugin for importing characters from Hephaistos.online to Obsidian.md

Resources

License

Stars

Watchers

Forks

Packages

No packages published