jopeek / fvtt-token-info-icons Goto Github PK
View Code? Open in Web Editor NEWFVTT - Token Info Icons
License: MIT License
FVTT - Token Info Icons
License: MIT License
The display is pulling all the information from the actor sheet, even when a token is not linked to it.
It should pull information directly from the token data instead.
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"
}
Can this module be upgraded to work with the game system below?
https://github.com/unrealkakeman89/sw5e
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
@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.
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.
It seems like the newest update has caused an issue with this module :(
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
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.
Pathfinder doesn't have Passive Perception. So, please change tooltip to "Perception bonus" for clarity.
Will this be updated for 3.2 I love this module. Been a rough couple weeks without it lol
With v10, updates to the data model were implemented that result in numerous warning messages being displayed when opening a token. These messages are also displayed as compatibility warnings via the canvas as well.
Data model changes are explained here: https://foundryvtt.com/article/v10-data-model/
Token Info 2.3.2 stopped working in 0.7.10. I'm using the Game Manager/Bazaar of The Forge. 2 days ago it was working fine.
There is a left over debug console.log in token-info-icons.js line 31. Please remove it.
Hey, could you make it work with Pathfinder 2e? :)
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;
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.
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
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!
Setting to allow DMs to show specific token stats to players - for example, just the creature's AC or speed - rather than the current all-or-nothing option.
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).
Debug code is still in at line 33. ;-)
"console.log(actor);"
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
Foudry has a new stable release with Version 12 and this module is marked as incompatible by the compatibility checker within Foundry.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.