Giter Site home page Giter Site logo

alien-actions's Introduction

Add status to track fast/slow actions.

This mod adds a couple of status effects to track Fast/Slow actions as status icons for Year Zero system games.

Also, at the start of each round, the Fast/Slow status are refreshed or if there is a creature with speed > 1 at its turn.

lcl0tYugPb.mp4

alien-actions's People

Contributors

gorvaine avatar themuka avatar

Stargazers

Hrvoje Ruhek avatar

Watchers

Alexander Kuznetsov avatar  avatar Nerd Eye Industries avatar

alien-actions's Issues

Incompatibility with CUB

hello, when installing CUB (Combat Utility Belt), the macros stop working. Is there a solution?

Problem with Token Layer

Alien RPG system: Moving (dragnig) token after condition activation causes token to freze and inactive.

Console erroro message:

Uncaught (in promise) Error: Invalid BaseTexture modules/alien-actions/assets/fast-action.svg
loadTexture foundry.js:35374
_drawEffect foundry.js:44999
drawEffects foundry.js:44956
_refreshTokens foundry.js:12422
_onCreateEmbeddedDocuments foundry.js:12393
_handleCreateEmbeddedDocuments foundry.js:8654
_createEmbeddedDocuments foundry.js:8544
create backend.mjs:95
createDocuments document.mjs:332
create document.mjs:431
_toggleActiveEffect foundry.js:45378
toggleEffect foundry.js:45333
_onToggleEffect foundry.js:30893
jQuery 8
activateListeners foundry.js:30749
_render foundry.js:2070
call_wrapped libWrapper-wrapper.js:465
listeners.js:75
_render#0 libWrapper-wrapper.js:160
_render foundry.js:28262
render foundry.js:2004
_refreshTokens foundry.js:12425
_onDeleteEmbeddedDocuments foundry.js:12409
_handleDeleteEmbeddedDocuments foundry.js:9036
_deleteEmbeddedDocuments foundry.js:8942
delete backend.mjs:214
deleteDocuments document.mjs:402
delete document.mjs:463
_toggleActiveEffect foundry.js:45365
toggleEffect foundry.js:45333
_onToggleEffect foundry.js:30893
foundry.js:35374:28

obraz

Better effect labels

Currently, when the cursor hovers over a token's status effects list, the tooltip for this module's statuses shows as "EFFECT.StatusFastAction" and "EFFECT.StatusSlowAction". That's kind of ugly; other statuses are shown with normal English names.

Wouldn't it be better to just use "Fast Action" and "Slow Action"?

  CONFIG.statusEffects.push({
    "id": "fastAction",
    "label": "Fast Action",
    "icon": "modules/alien-actions/assets/fastaction.svg"
  });

  CONFIG.statusEffects.push({
    "id": "slowAction",
    "label": "Slow Action",
    "icon": "modules/alien-actions/assets/slowaction.svg"
  });

Add second fast action

Not a bug, more of a feature request: a lot of YZE games (Vaesen, Forbidden Lands, to name a couple) allow characters to make two fast actions as an alternative to one fast and one slow. The current functionality doesn't allow for the flagging of a second fast action (as it is a toggle), so it would be nice if this could be added to a future release to cover these edge cases.

Cheers.

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.