Hello, I’m using Godot 4.2.2 and I’m working on a custom ResourceImporter for skills in my game.
I’ve made each skill its own file (because that makes it easy to edit), but I’d like to import all skills into a single SkillDatabase resource.
Mainly this is to help assigning a unique id to each skill to make them easier to reference at runtime.
What would be the best way to do this? Ideally if I import a new skill the SkillDatabase should automatically update/reimport. I want to avoid doing that manually if possible.
A thought I had was to add a “refresh_skill_database” method at the end of the _import method for the skillimporter, but if I import 100 skills at once, I don’t want that method to trigger 100 times.
Thanks in advance