Skip to content

Adding new Detection Modes #171

@Blacklands

Description

@Blacklands

What would be the correct way to add a new Detection Mode in my own module/world script code?
I need a slight variation of an existing one (it's for a specific campaign and it wouldn't make sense to request this as a generic new Detection Mode to be implemented in the module).

I don't want to modify your module's files, of course, since that would be overwritten with each new update.

Would I just be copying code from the detection-modes folder and add a new one to my own module/world script code?
Is there a way to "register" such a new Detection Mode with your module?
I also couldn't immediately see where you add the Active Effects keys for the Detection Modes in your code, so that they can actually be added to an actor in Foundry. Is that done automatically somewhere, or would I need to do that manually, too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions