Replies: 3 comments 3 replies
-
library.getContent returns the following for a .mtlib file: [
"mtscript/public/auto_exec.mts",
"mtscript/public/test1.mts",
"public/test2.html",
"mtscript/priv1.mts",
"mtscript/public/test2.mts",
"public/test1.html",
"mtscript/public/CSSTest.mts",
"mtscript/public/call_priv1.mts",
"public/test-img.png",
"mtscript/public/no_auto_exec.mts",
"public/test1.css",
"public/test1.js",
"mtscript/public/myUDF.mts"
] Should we separate the types out? [
"mts": [
"mtscript/priv1.mts",
"mtscript/public/auto_exec.mts",
"mtscript/public/call_priv1.mts",
"mtscript/public/CSSTest.mts",
"mtscript/public/myUDF.mts",
"mtscript/public/no_auto_exec.mts",
"mtscript/public/test1.mts",
"mtscript/public/test2.mts"
],
"html": [
"public/test1.html",
"public/test2.html"
],
"css": [
"public/test1.css"
],
"js": [
"public/test1.js"
],
"images": [
"public/test-img.png"
]
] |
Beta Was this translation helpful? Give feedback.
-
Similar question for lib:tokens. Current output of a lib:token in a campaign with two property sets. As can be seen the Basic properties are also returned. Is there value to this? What about in Campaigns where there are three, four or more property sets? This also opens the question of should we just define a Property set that includes the already expected lib:token properties:
The current return from library.getContent(): [
"macro/bobs/your/uncle",
"macro/Call",
"property/elevation",
"property/ac",
"property/constitution",
"property/strength",
"property/libversion",
"property/hp",
"property/description",
"property/libwebsite",
"property/liblicense",
"property/charisma",
"property/intelligence",
"property/wisdom",
"property/dexterity",
"property/libdescription",
"property/libauthors",
"property/defense",
"property/libshortdescription",
"property/libgiturl",
"property/movement"
] Organized? [
"macros": [
"macro/bobs/your/uncle",
"macro/Call"
],
"properties": [
"Basic": [
"property/ac",
"property/charisma",
"property/constitution",
"property/defense",
"property/description",
"property/dexterity",
"property/elevation",
"property/hp",
"property/intelligence",
"property/movement",
"property/strength",
"property/wisdom"
],
"LibTokens": [
"property/libauthors",
"property/libdescription",
"property/libgiturl",
"property/liblicense",
"property/libshortdescription",
"property/libversion",
"property/libwebsite"
]
]
] |
Beta Was this translation helpful? Give feedback.
-
Basic wiki docs added for:
https://wiki.rptools.info/index.php/Category:Library_Function As the two remove functions may not stay in for release I'll leave documentation for later if needed.
|
Beta Was this translation helpful? Give feedback.
-
Warning Alpha Release, please do not use for your regular gaming, or use it to modify maps you don't have a backup of!
What's Changed
Full Changelog: 1.10.1...1.11.0-alpha.1
This discussion was created from the release MapTool 1.11.0 Alpha Build 1.
Beta Was this translation helpful? Give feedback.
All reactions