What is the best way to store data, like a table of weapon data or armor or other items to use them in token stats or macros?
I found some discussions in pseudo json but found that even by using a large json string I run into "argument is too long" problems, and also its rather tedious.
Whats the current state of the art to store such information within maptool? Is there any way to use a csv file or something?
Storing Data
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
Re: Storing Data
I have enormous!! jsons structures for my framework with huge amounts of data and never encountered that error. But not sure what you're trying to do.
State of the art is still just using json structures. if you want to omit that you cuold use the table macros i created in the BoT (link in sig) where you can copy paste excel tabels straight into a textbox which is then converted to a 'table' (json structure) which you can access with other BoT macros, or directly.
State of the art is still just using json structures. if you want to omit that you cuold use the table macros i created in the BoT (link in sig) where you can copy paste excel tabels straight into a textbox which is then converted to a 'table' (json structure) which you can access with other BoT macros, or directly.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Storing Data
I prefer to store tables of items in tables or in token properties on lib tokens dedicated to a particular type of data (weapons, armor, spells, etc.)
Tables in MT read quick but write very slowly though. I usually put an item index in the 0 slot.
Tables in MT read quick but write very slowly though. I usually put an item index in the 0 slot.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."