brunosardinepi / dungeonomics

Other
17 stars 5 forks source link

character templates #132

Open brunosardinepi opened 5 years ago

brunosardinepi commented 5 years ago

From email with a user:

I understand that Player/Monster/NPC entities will be merging and there will be a flag to set what each is along with a common set of stat fields, so this might be the time to add it. The ability to import common information from another entity (possibly with standard @ tagging) would be nice when creating a character or NPC. This might require a different entity type ("template"?) or another section, but an example:

I want to create a number of new Dwarf NPCs, which have fairly standard attributes throughout. Rather than creating one and copying it multiple times, I click through to create a new one each time. When I get to the "Race" field, I simply use "@Dwarf". Assuming that there is a "Dwarf" template assigned somewhere, it auto-fills certain fields (like resistances, abilities, etc) for me. No need to keep it coupled to the template at that point (e.g. if I decide all Dwarves need to get the ability to fly, it doesn't change existing ones that I've already created automatically) Bonus points for only changing fields that are currently empty so if I've overridden something it doesn't change.

Extra bonus points if this allows automatic appending to the Notes section, even if I have to rearrange or clean it up afterwards. (If there is a template for, say, the "Rogue" character class, then putting "@Rogue" in the template would auto-append the contents of the "Rogue" template to the entity's "Notes" section so that I wouldn't have to hand-add abilities each time)