crnormand / gurps

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

Improve GurpsActor error messsage when importing prefabs from Moulinette #1867

Open Xain3 opened 10 months ago

Xain3 commented 10 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:

Moulinette Compendiums (module) v 11.2.1; Moulinette Core v11.6.4; Moulinette Game Icons (module) v11.1.1; Moulinette Image Search (module) v11.0.1; Moulinette Scenes (module) v11.1.3; Moulinette Scribe v1.0.0; Moulinette Sounds & SoundPad (module) v11.8.2; Moulinette Tiles (module) v11.1.0; The Forge v1.14.8; Tidy UI - Game Settings v0.1.52;

Description

When trying to add a prefab asset from Moulinette with the default settings I have a GurpsActor error:

Screenshot 2023-12-29 at 12 17 45

However, if I check the "Clear prefabs data" option in the moulinette tiles module settings, the import works as intended:

Screenshot 2024-01-03 at 13 44 55

Steps to Reproduce

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

Suggested behaviour

The error message should include a mention such a suggestion to check "Clear prefabs data" if importing from Moulinette for ease of use.

Additional Context

Related to issue #1866 .