crnormand / gurps

Implementing a GURPS 4e game aid for Foundry VTT
MIT License
102 stars 47 forks source link

Issue when importing prefabs from Moulinette #1866

Closed Xain3 closed 7 months ago

Xain3 commented 7 months ago

Environment

GURPS Game Aid Version: 0.16.7 Foundry VTT Version: 11.315 Operating System: macOS (hosted on The Forge) Browser: Chrome Active modules:

  1. Moulinette Compendiums (module) v 11.2.1;
  2. Moulinette Core v11.6.4;
  3. Moulinette Game Icons (module) v11.1.1;
  4. Moulinette Image Search (module) v11.0.1;
  5. Moulinette Scenes (module) v11.1.3;
  6. Moulinette Scribe v1.0.0;
  7. Moulinette Sounds & SoundPad (module) v11.8.2;
  8. Moulinette Tiles (module) v11.1.0;
  9. The Forge v1.14.8;
  10. Tidy UI - Game Settings v0.1.52;

Description

When trying to add a prefab asset from Moulinette I have a GurpsActor error:

Screenshot 2023-12-29 at 12 17 45

Steps to Reproduce

  1. Install the above modules
  2. Launch Foundry VTT)
  3. Select the "prefabs" tab and look for a prefab, e.g. "cart"
  4. Drag and drop the prefab onto the map

Expected Behaviour

The prefab is imported into the map and in the actors list as an attached token

Actual Behaviour

The GurpsActor error above is shown and nothing happens

Additional Context

If I try to import the token via the Baileywiki compendium it is imported correctly.

Xain3 commented 7 months ago

My bad, I found out I had to check the "Clear prefabs data" option in the moulinette tiles module settings, preventing it to import some dnd5e stat blocks that did not sit well with gurps. Closing issue and reopening it as a suggestion to improve the error message ( #1867 ).