Make the resources not unique, then bootstrap a copy from each class. Put a tag on each one to name the class it's for, and write a script on the resource that takes that tag to build a new name for itself, incorporating the tag name into its own name.
If the tag on the resource is the same one as the tag on the spells, to mark this one as bard, and that one as druid, then you can have each one add to the copy of the generic resource that has the tag for that particular type of spells.
|