Skip to content

✨ Feature Request: Modify CLI Item template to create properties #836

@TheProfessor76

Description

@TheProfessor76

I'm attempting to create a Base for Items imported through the CLI UI tool and sort them by their properties (eg. Wonderous Item or by Rarity).

While it was possible to create a Bestiary Base sorting by CR, HP, AC, ect. by modifying the monster2md-yamlStatblock-body template to create properties by adding AC: {resource.ac} to the template.

However, adding Rarity {resource.rarity} to the images-item2.md fails with the error: "property 'rarity' not found on the base object.

It is possible to create a property with all details of the item by using {resource.detail} however this creates a property with the full string (eg. Wonderous Item, Uncommon), however in order to use it in the base, I'm looking for a way to seperate this out into different properties (eg. Wonderous Item: True & Rarity: Uncommon)

Is this possible to do? Thank you either way ebullient!

images-item2md.-.TEMPLATE.DETAILS.PROPERTY(1).txt

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions