Git Product home page Git Product logo

fvtt-token-info-icons's People

Contributors

elizeuangelo avatar glunty avatar hmqgg avatar johnmartel avatar jopeek avatar polyvision avatar praetor avatar svenwerlen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fvtt-token-info-icons's Issues

Remove V10 warnings

Warnings are generated by module.json:

setup.js:145 [token-info-icons] The module "token-info-icons" is using "name" which is deprecated in favor of "id"
#logPackageWarnings @ setup.js:145
setup.js:145 [token-info-icons] The module "token-info-icons" is using "author" which is deprecated in favor of "authors"
#logPackageWarnings @ setup.js:145
setup.js:145 [token-info-icons] module "token-info-icons" contains "system" which is deprecated in favor of "relationships.systems"
#logPackageWarnings @ setup.js:145
setup.js:145 [token-info-icons] The module "token-info-icons" is using the old flat core compatibility fields which are deprecated in favor of the new "compatibility" object

The following version would be compatible with V8 up to V10:
(adding "id", "authors", "compatibility", and "relationship")

{
  "name": "token-info-icons",
  "id": "token-info-icons",
  "title": "Token Info Icons",
  "description": "Simple module that displays Speed, AC, and Passive Perception on Tokens for the GM or optionally players.",
  "version": "2.3.9",
  "minimumCoreVersion": "0.8.0",
  "compatibleCoreVersion": "10",
  "author": "Jan Ole Peek (ChalkOne)",
  "authors": [ { "name" : "Jan Ole Peek (ChalkOne)" } ],
  "system": [
    "dnd5e",
    "pf2e",
    "pf1",
    "dcc"
  ],
  "compatibility" : {
    "minimum" : "0.8.0",
    "verified" : "10"
  },
  "relationships" : {
    "systems" : [
      { "id" : "dnd5e", "type": "system" },
      { "id" : "pf2e", "type": "system" },
      { "id" : "pf1", "type": "system" },
      { "id" : "dcc", "type": "system" }
    ]
  },
  "scripts": [
    "/token-info-icons.js"
  ],
  "styles": [
    "/css/token-info-icons.css"
  ],
  "url": "https://github.com/jopeek/fvtt-token-info-icons",
  "manifest": "https://raw.githubusercontent.com/jopeek/fvtt-token-info-icons/master/module.json",
  "download": "https://github.com/jopeek/fvtt-token-info-icons/archive/refs/heads/master.zip"
}

Perception Bonus is displayed as "NaN"

Hello
First thank you for this module, it saves us lots of time, simple et straight to the point !!
We've been wondering why we had the perception DC displayed as NaN with our created PC. We thought it was meant as "Not available Now". We noticed that on compendium-available characters like AMIRI our monsters, the DC was indeed displayed correctly (see attached file). are we missing something in our character sheets ?
The current setup is

  • Foundry 0.8.6
  • Pathfinder 2 game system version 2.2.0.6097
  • Token info Icons 2.3.2

Token info icon with compendium actor

Token info Icon with self made PC

Token info Icons are off center for bigger tokens

The 3 token info fields are being drawn off-center from the other info buttons/fields. This is the case for both small tokens and big ones, but is more noticeable in the latter case (see images below).

image

image

Passive Perception Score is wrong

@Ithiloneth The Passive Perception in the module Token Info Icons seems to be based on Active Perception score.
If I give a character an effect which increases Passive Perception using Dynamic Effects the change is shown on the character sheet, but not on the HUD.

Latest update stopped working

Hey there. I have had this module almost since the beginning, but it seems version 2.3.1 has stopped working for me. I have tested it with just this module installed and doesn't seem to display around the token anymore.

Info Icons not displaying at all on Foundry version 7.10

I am running Foundry on version 7.10 and have the DnD 5e system running, but the info icons are not displaying at all.
I get the following error when opening the console:

Uncaught (in promise) TypeError: Cannot read property 'system' of undefined
at Function.addTokenInfoButtons (token-info-icons.js:8)
at token-info-icons.js:176
at Function._call (eval at (libWrapper-error_listeners.js:56), :4:14)
at Function.call (foundry.js:2481)
at TokenHUD._render (foundry.js:4547)
at async TokenHUD._render (foundry.js:20787)

I already found a temporary fix by changing any occurence of "game.world.data.system" to "game.world.system". It seems that Foundry has changed the way to access this information from 7.8 (maybe 7.9) to 7.10

Speed is broken for new tokens

I think a recent version of foundry may have deprecated the speed attribute. Now there are multiple speeds (walk, fly burrow, etc.), under the movement attribute. This means that the speed shows up as empty on new tokens. I don't know the plans for the module, but if you don't want to add some UI to select which speed to use, just using movement.walk would probably be a fine fix for now.

PF2 NPC speed disappearing

Step to reproduce:

  1. Drag monster from compendium on map.
  2. Change NPC speed

Now when you right click, you get a console error and the speed is no longer displaying.
token_error

Multiple speeds lead to overlap on the token.

For example a black dragon has walking speed, swimming speed, and flying speed. This is what it looks like when there are 3 speeds:
token-info-icons-with-3-speeds

This occurs on foundry 0.7.9, DnD5E 1.2.4, and Token Icon Info 2.2.1.

3.2 Compatablity

Will this be updated for 3.2 I love this module. Been a rough couple weeks without it lol

UI scale too large

I have returned to using Foundry, just updated from 0.7 to 0.9 and then updated this module also, so this may well be an issue with my past user data.

However the UI for the token info is massive compared to the rest of the Foundy UI. Is there a way to make it all smaller?

image

Seems to have stopped working for me

not sure why but this mod seems to have stopped working for me i am in 7.9 and there is my list of mods

autocomplete-inline-properties--v1.2.0;
autoanimations--v0.4.10;
backgroundless-pins--v1.2.0;
betterrolls5e--v1.4.11;
chat-images--v2.5.3;
_CodeMirror--v5.58.3-fvtt3;
combat-enhancements--v0.1.9;
combat-numbers--v1.1.5;
combatready--v1.1.10;
compendium-folders--v2.2.44;
custom-css--v2.1.0;
dndAudioBundle-HammerHome--v1.2;
df-curvy-walls--v3.0.1;
dice-calculator--v1.0.1;
dnd5e-helpers--v2.0.3.1;
dragupload--v1.5.3;
Dynamic-Effects-SRD--v5.0.00;
dae--v0.2.64;
dynamic-illumination--v0.9.0;
easy-target--v2.11;
expander--v0.0.6;
foundry_community_macros--v0.40;
fpsmeter--v1.1.1;
fxmaster--v1.0.4;
give-item--v1.7.2;
healthEstimate--v2.5.4.1;
vtta-iconizer--v2.1.15;
inlinewebviewer--v3.0.3;
JB2A_DnD5e--v0.2.2;
keybind-lib--v0.3.2;
colorsettings--v2.5.9;
lib-df-hotkeys--v2.3.4;
lib-targeting--v0.1.1;
lib-wrapper--v1.7.5.0;
lootsheetnpc5e--v3.0.3;
magicitems--v2.0.8;
_mathjs--v7.5.1-fvtt2;
mess--v0.13.0;
midi-qol--v0.3.104;
minimal-ui--v1.0.1;
monsterblock--v2.5.3;
multilevel-tokens--v1.4.2;
npcgen--v0.5.0;
perfect-vision--v1.9.14;
permission_viewer--v0.8.5;
pin-cushion--v1.4.0;
pings--v1.2.12+0.8.6;
plutonium--v1.32.1;
poi-teleport--v0.1.7;
polyglot--v1.5.18.2;
quick-insert--v2.4.7;
quick-module-enable--v1.1.7;
resetdoorsandfog--v1.0.1;
settings-extender--v1.1.6+0.8.6;
socketlib--v1.0.8;
spellTemplateManager--v0.4.2;
stairways--v0.6.0;
tabletop-rpg-music--v1.3.0;
TerrainLayer--v0.0.7;
furnace--v2.6.0;
tidy5e-sheet--v0.4.29;
tidy-ui_game-settings--v0.1.23;
token-info-icons--v2.3.2;
vtta-tokenizer--v3.2.5;
token-mold--v2.11.1;
torch--v1.3.2;
touch-vtt--v1.8.0;
turnmarker--v2.7.4;
dd-import--v1.1.1;
VariantEncumbrance--v0.3.2;
Whetstone--v1.1.6;

Regression in PF2E

Cannot read property 'walk' of undefined exists in recent versions of Token Info Icons in the PF2E system. I think token-info-icons.js should probably check that the movement property exists first before updating the movement5e variable.

Put under "ready" hook

A conflict came up with one of my modules as we both put const MODULE_NAME outside of a block, meaning foundry failed to load both modules.

A quick fix of this is to put the entire (non-settings) part of the script under a ready hook

[PF1E] Suggestion for CMD display

Hey there,

Just thought I might throw a request out there for something like CMD to be shown alongside the AC. It would be the fourth horseman of the apocalypse here for our group.

Commonly referenced, but forever a pain to find.

Thanks for any consideration given!

enhancement: add field for custom attributes

it would be great to add a setting to add a "custom" field that the GM can input for any attribute they need tracking on a regular basis (you could have them simply point to the actor parameter they are looking for, similar to how monk's tokenbar does it).

Forge Compatibility Warnings

there are multiple compatibility warnings for this module when installing on Forge. The following is the output from my console log:

[token-info-icons] The module "token-info-icons" is using "author" which is deprecated in favor of "authors"
[token-info-icons] module "token-info-icons" contains "system" which is deprecated in favor of "relationships.systems"
[token-info-icons] The module "token-info-icons" is using the old flat core compatibility fields which are deprecated in favor of the new "compatibility" object

Incompatible with Foundry V12

Foudry has a new stable release with Version 12 and this module is marked as incompatible by the compatibility checker within Foundry.

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.