Godot Version
Godot Version v4.5.stable.official [876b29033]
Question
I’ve been working on my game for a few weeks now, and resources are becoming a very integral part to pretty much all the inner workings of my game. I’m using resources for each of the little characters you collect, each having properties like Name, Sprite Texture, Damage, Speed, etc. But I’d like some of the characters to have more specific/individual abilities like: On chance hit effects, or if another effect is active trigger another effect, stuff like that.
I’m wondering if there’s a way to attach scripts to specific resources, if I should use groups to tell a script that a resource has that ability, if there’s a better way to do this that I am missing, or if I should even be using resources in the first place!
Any sort of advice, documentation, or anything like that would be appreciated.