Skip to content

🐞 Event Conditions aren't Imported Properly #206

Open
@Ninjawolf0007

Description

@Ninjawolf0007

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

I have several events that occur based on the phases of two moons, or occur on a specific day of a season, or occur by random chance according to Fantasy Calendar, and the conditions for these events are not imported into calendarium.

Here is the original json file:

vacilian-calendar.json

and the post-import calendarium json file

data.json

Event that should occur when both moons are the same phase:

Image

Event that should occur at a random chance (between 1/13024020 and 10/1869270172)

Image

Event that should occur on a specific day of a season: (day 55 of the season Thumaer)

Image

Current behaviour

The events have no data about the days they occur and don't have the options to set their occurrence with respect to the phase of the moons or by random chance.

Imported Events

Event that should occur when both moons are the same phase:

Same Moon Phase Event

Event that should occur at a random chance (between 1/13024020 and 10/1869270172)

Random Chance Event

Event that should occur on a specific day of a season: (day 55 of the season Thumaer)

Event on a Specific Season Day

Reproduction

  1. Open a New Obsidian Vault (Obsidian 1.8.10)
  2. Install Javalent Calendarium Plugin v2.0.0
  3. Go to Calendarium Settings
  4. Import from Fantasy Calendar
  5. Import the vacilian-calendar json file (above) Note: I receive "There was an error while importing the calendar" error message, but no further detail
  6. Next to "Vacilian Calendar", go to "Open Custom Creator"
  7. Go to "Events"
  8. Note that season events are missing their occurrence criteria, as well as any astrological events dependent on the phases of the moon or random chance.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

Obsidian v1.8.10 and Installer v1.8.10

Plugin Version

2.0.0

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

It looks like the logic for events in Calendarium is built to handle specific days and not for more complex event criteria. So events that are chance based, span more than 1 month, are dependent on moon phases, or are dependent on other events that have or have not occurred don't import properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions