Giter Site home page Giter Site logo

condition-automation's People

Contributors

kandashi avatar mclemente avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

condition-automation's Issues

Configuration for other languages

Hello,

Thx for that module!
Do you think it's possible to create some configuration to map English conditions to translated conditions?

Settings for: Bulge, Shadow

Hi there,

I really like the mod, although I was hoping you might consider a few changes to settings. There are a few reasons for this.

In our campaign, our tokens look a little like this:
image

And, to be honest, it's a really cool flying effect. Down to 50ft here:
image

The problem starts to occur:
image

As you get lower to the ground:
image

And generally looks pretty funky:
image

I was hoping if maybe you would consider:

  • Adding an option to disable the Bulge Effect entirely?
  • More drastically changing the shadow distance? So it's very close to the token at 5ft, but far away (like it currently is) at 100ft?

Thank you for any consideration!

condition macros?

Are there supposed to be condition macros to go with the conditions (outside of blindness)?

Bug - Token Vision is Set as if Blinded When Any Condition is Applied

Disabled all other modules?: Yes

After updating to the latest version of Condition Automation, setting any condition on any PC Token causes the Token's Vision to be updated as if it is effected by the Blinded condition. NPC tokens are not effected even when they have the Blinded condition set.

Cannot use non- .svg images for conditions

This is an undocumented constraint of Condition Automation (and, I would argue, a serious design problem).

I have replaced all *.svg condition artwork with my own combo of .png and .webp artwork using CUB Condition Lab. This breaks Condition Automation as it assumes all artwork is named .svg. Can support be added to EITHER:

  1. Ignore the name of the artwork entirely and use the condition name defined in CUB's Condition Lab, or
  2. Ignore the filename extension of the artwork when resolving the condition name.

From a design standpoint, I personally think deriving the condition name from the artwork filename is not a good choice. The true condition name is whatever the user defined in Condition Lab. There's zero requirement (in Condition Lab) that the filename have any relationship to the condition name. I can (and should be able to) define a condition called MyCondition and associate that with artwork with a random name like blue-bolt.png. If I use Condition Automation I'm forced to rename my artwork mycondition.svg or it won't work. Further, it "breaks" Condition Lab because it puts undocumented restraints on Condition Lab. I can't go back later and decide to associate yellow-square.webp to MyCondition [as Condition Lab both allows and expects me to do]...I'm again forced to rename yellow-square.webp -> mycondition.svg.

PF2E System Error Toast Warning

When starting Foundry v 9 using Pathfinder 2E system version 3.12.2.10, this module causes a yellow toast warning which says the module does not indicate that it is compatible with Foundry v. 9. The warning states, "this module is unmaintained and may introduce stability issues into your game." Please update the manifest if the module is compatible. Thanks.

v1.1.2 still IDs as v1.1.0

I attempted to update to 1.1.2 as per the release announcement today (Sept 25, 2020). It still identifies as 1.1.0. (Version incorrectly set in module.json.)

Could you explain the settings in the README please?

Could you explain the settings in the README please? (Or better yet in the config settings themselves).

There are configuration settings available for this module but it's not readily clear from the label of the checkboxes what precisely these settings will do. i.e. Blinding Setting and Shadow Setting

tokenFX macro applies to source instead of target on death macro call

I set a death macro from tokenfx
34 - T02 - Dead (splash)
Instead of applying it the mob that just hit zero it applies the macro on the player.

To Reproduce
Set death macro
Macro calls tokenfx effect
apply damage to mob from a source (if you just reduce the mobs hit points to zero the right thing happens).

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
splatwrong

Environment:
AWS nix server
window chrome client

Additional context
Add any other context about the problem here.

No disadvantage

Several of the conditions should force attacks and skill checks to all roll disadvantaged. If intended I don't see it working, if planned awesome. If not, consider this an enhancement request :) MQoL roll compatible.

Not working in v9

Describe the bug
Height hides the token picture and doesn't properly display the shadow

To Reproduce
Steps to reproduce the behavior:

  1. Activate module
  2. Edit Token Height
  3. See error

Expected behavior
To work like described

Screenshots

token.height.shadows.mp4

Environment:

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Chrome
  • Foundry Version [e.g. 0.8.8] 9.255
  • Module Version [e.g 0.1.42] 3.0.2
  • All Modules Disabled: Yes
  • Module List if no:

Additional context

[Enhancement] Provide API to opt out of (or in to?) hover+shadow effect when changing elevation?

Hey Kandashi, love your work. I really dig the effect you have here for flying/levitating tokens, but I had to disable it the other day and I'm trying to think through how I could keep it and still solve my use case (which I don't think is unique to me?). Let me explain the case and tell you what I'm thinking and we'll see if it makes sense.

I'm using the Wall Height module to set the elevation of various walls in a scene. In some cases, namely city walls, it is possible for players to get on top of these walls and look over them. I have macros set up to automatically set the token's elevation to the elevation of the wall when the player climbs on top of it. All of this is based on Baileywiki's excellent Modular Town module.

All of this works great, except that this Condition Automation module applies the shadow + rotate effects to any >0 elevation, which looks amazing when a token is flying but looks sort of ??? when they are just standing on a tall wall, hah. Example: https://i.imgur.com/zqgOlVO.mp4

So here's what I'm thinking: I assume you're setting or removing these effects at the time the token is updated with the new elevation? I don't know the foundry APIs well enough to know if this is possible, but if I could add an additional call to my macro to ignore the next elevation update? Or a flag on the token.update that clues this module in to ignore the elevation until it is removed?

Or, even better maybe, a module setting that causes this module to ignore elevation updates unless a specific API is called, which could then be added to macros for fly/levitate/etc (opting in instead of opting out).

Anyway, you see where I'm going here.

Typo in module.json

"title": "Condtion Automation"

Not sure what the effects of changing this might be, but Condition is spelled wrong

Please add PF2E Support?

Love the "flying" effect and works great with PF2E and was excited to try the Blinded effect with Perfect Vision but it doesn't seem to work with the PF2E system :(

I added some logs to Hooks.on("preCreateActiveEffect", async (actor, effects, options, someID) and it never fires, most likely because I don't think PF2E uses Active Effects perhaps?

Disable flying on elevation

It would be nice if this was a toggle in settings, as we want to turn it off but use the rest of the module.

Conflict with JitsiWebRTC Module

With the JitsiWebRTC module, we need to read a config from the Jitsi server being connected to. Unfortunately, this config sets their values using the config object that this module is using. This causes the Jitsi module to fail if this module is active.

If you don't mind, I'm going to submit a Pull Request to rename the object in this module since we can't change it on the Jitsi Server side.

Make the Shadow Bulge Optional?

Would it be possible to make the bulge during the shadow elevation effect optional? This works great if I want to animate a token hovering, but it looks kind of goofy if I just have them standing on top of a rooftop or something. There are other modules that utilize height that don't assume you're flying, so it'd be great if there was some kind of toggle one could use to turn this on or off but still keep the subtle shadow effect.

[Suggestion] Allow blindsight to override Blinded 0-vision automation

Condition Automation for Blinded works as expected in normal circumstances.

However, a character with 5e blindsight (say from Blind Fighting fighting style in Tasha's) essentially has vision for the given range. https://twitter.com/JeremyECrawford/status/972239019642781697 (Though there appears to be some debate about this still.)

Ideally, CA would therefore set the vision for a Blinded token to their blindsight range then, rather than to 0.

May also apply to Rogue's Blindsense ability, thought that is worded slightly differently.

Speed Modifications Not Working

This part of the mod does not seem to be working with the latest stable version of Foundry 0.7.5, and the latest version of CUB.

Flying works though!

Blinded settings don't apply to tokens that are not linked to actor data

By not linked to actor data I mean that "Link Actor Data" is unchecked. My test world:

-Foundry 0.7.9
-DnD 5e 1.2.0
-Condition Automation 2.2.2
-No other active modules

Blinded settings apply to linked tokens normally, but the changes to unlinked tokens are not applied at all. If I check the link actor data box, the same token works correctly, until I uncheck the box again.

Condition Automation BUG in 0.8.7

Using Foundry 0.8.7, D&D5e 1.3.5,
Enabling Blind condition on and off twice or more causes this error to pop up.

Condition_Automation_BUG.mp4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.