How to set animations with custom resource in godot

Godot Version

4.3

Question

YO! Im trying to make a lot of different animal NPCs. I have a BaseAnimal script and scene that have all functionality, i can add my custom resource and set all vars. The only thing i cant set is the different animations (i have 4 per animal: sleep, asleep, walk, idle). Anyone ideas on how to set the different animations via my custom resource?

animations are also resources. You can save these animations inside your custom resource