Code Monkey home page Code Monkey logo

obsidian-rpg-manager's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsidian-rpg-manager's Issues

PCs and NPCs pronouns

Character elements need to have a line for pronouns in the frontmatter so that they appear in the summary block together with their portrait, goals, etc,

campaignId undefined after 1.1 update

I get a "TypeError: Cannot read properties of undefined (reading 'campaignId') when attempting to open notes after the 1.1 patch. The following note was fine before the patch.


alias: []
tags: [rpgm/outline/session/1/7/2]
synopsis: "A local tavern seems like a seedy bar but is actually the lair of a notorious gang of thieves - and maybe Vampires"
dates:
session:
irl:
completed: false

sessionNavigation

Body of note

Timeline is broken

The issue stems from the change of definition of the tags defining the belonging to a campaign.

Feature Request: Specify Root Folder

It would be nice to be able to specify the root folder for where the new notes and folders are automatically organized. Currently this seems to be the root of the Obsidian Vault or No auto-organization are the two options.

PC: Duplicate Question

On creating a new player character and following the generated questionnaire, this is the 6th question:
"Do you have any allergies, diseases or other physical or mental weaknesses?"

Later on in the questionnaire, this last question is asked.
"Do you have any allergy?"

Based on its positioning, it feels like it was meant to be "Do you have an enemy" or similar.

Auto creation of adventures and sessions based on the ABT information

Add the ability to generate adventures and session from ABT/Story Circle information:

Campaigns

  • add a button to generate adventures from the Story Circle information, copying the information in the Story Circle structure to the synopsis of the adventure

Adventures

  • add a button to generate sessions from the ABT information, copying the information in the ABT structure to the synopsis of the session.

Date agnostic or optional age

Sometimes the age of a character is not relevant, uncertain, or outright unknowable. Also, there are many reasons why an in-campaign calendar may be unnecessary, unreliable, or shifting.

In any case, I suppose that birth/death dates could be optional. Additionally, we could be able to simply add an age number or descriptor (17, 357, unknown, unknowable, etc).

Fill or create commands give blank prompt, no buttons, no results. (bug)

All commands are working as intended on a clean vault, but in my working D&D vault, I can't use any of the commands to create or fill notes with templates. They result in a blank pop up with no buttons (except the x button in top right), and there's no output.

Console:
Uncaught (in promise) TypeError: (metadata.frontmatter.tags || []).forEach is not a function
at eval (plugin:obsidian-rpg-manager:912:43)
at Array.forEach ()
at ClueModal.initialiseCampaigns (plugin:obsidian-rpg-manager:909:35)
at ClueModal.onOpen (plugin:obsidian-rpg-manager:840:10)
at ClueModal.e.open (app.js:1:1128457)
at FileFactory.eval (plugin:obsidian-rpg-manager:1362:85)
at Generator.next ()
at eval (plugin:obsidian-rpg-manager:43:61)
at new Promise ()
at __async (plugin:obsidian-rpg-manager:27:10)
eval @ plugin:obsidian-rpg-manager:912
initialiseCampaigns @ plugin:obsidian-rpg-manager:909
onOpen @ plugin:obsidian-rpg-manager:840
e.open @ app.js:1
eval @ plugin:obsidian-rpg-manager:1362
eval @ plugin:obsidian-rpg-manager:43
__async @ plugin:obsidian-rpg-manager:27
initialise @ plugin:obsidian-rpg-manager:1356
callback @ plugin:obsidian-rpg-manager:2642
yH @ app.js:1
t.onChooseItem @ app.js:1
t.onChooseSuggestion @ app.js:1
t.selectSuggestion @ app.js:1
e.useSelectedItem @ app.js:1
(anonymous) @ app.js:1
e.handleKey @ app.js:1
e.onKeyEvent @ app.js:1

Suggestion: "Parties" for multiple group campaigns

Whether there is a dynamic world where multiple game groups meet, or you use the same campaign for multiple groups, I would say that there could be a "Party" element where we assign PCs into.

Currently, I am using the Faction element but I guess a dedicated element for that would be useful.

Theme Song/Playlist Spot

Adding a place to slap in a song or playlist link would be great for those characters we like to add theme songs for.

Add possibility to use own templates

For each RPGM type (Campaign, Adventure, Session ...) allow the user to define his/her/their own template files. I foresee this as a setup option where the file (or folder to files with a specific name) could be used to append to the main RPGM Frontmatter (for the tool itself). This way it could also be possible to use other tools like obsidian-templater and CustomJS to create more dynamic templates.

Please keep in mind that not only the content of the note would be in the template but also more frontmatter (RPG specific frontmatter used by tools like initiative tracker, or others)

Improper Tag Array in Unrelated Notes Breaking RPG Manager

I finally located this issue.

In one of my older notes, specifically for a "timeline" style note. I had a template with YAML tags that had a tag array in the form of:


tags: key 1, key 2, key 3

Obsidian itself works despite it not being a proper array, as shown in the following screenshot.

tagerror

The array should be.


tags: [key 1, key 2, key 3]

Once corrected, then Obsidian changes to look like so.

tagfixed

I checked other variations of tags in YAML, with the exception of tags: #tag as it is hopefully well known to not use hashtags in YAML, but it may be worth to investigate that as well.

Attached also is the console log that is created when the error occurs.

obsidian.md-1662854035885.log

Modal forms for Outlines and Elements creation

Create Modal forms to collect the minimal information to create the frontmatter meta correctly:

  • campaignId
  • adventureId
  • sessionId
  • sceneId

Just use an HTML form in a Modal before triggering the creation of the Notes.

HTML...

An Element creator/styler

I would love to have the ability to create new elements and change the ones that exist in a simple manner, like adding stat block templates for certain games, or adding different nested options and so on.

Unlinked Relationships

It would be great to show unlinked relationships. For example:

alias: []
tags: [rpgm/element/character/npc/1]
synopsis: "A resourceful teenager who runs errands for Ibis."
goals: "To become a FastDev. And to punch that asshole Becky in the face."
pronoun: she/her
dates:
 dob: 
 death: 
relationships: 
 characters: 
  Ibis: "A kind of older sister to Telma. Not that Telma will ever admit it."
  Parents: "Mother is AWOL."
 factions: 
 locations: 
completed: false

In the case above, Ibis is a character with their own page. But "parents" definitely are not, being a kind of "relationship" note that I find relevant in this character's presentation. Ibis appears in the display block, with a link to her page, but "Parents" won't appear at all unless I create a page for that, which is unnecessary.

I believe that allowing un-linked relationships to appear is useful both to add extra bits of info in a handy, intuitive location, and it's a cue for relationships you intend to create notes for later.

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.