Skip to content

Ordering bug fix #1326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions APILogic/APILogic.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Name : APILogic
GitHub : https://github.com/TimRohr22/Cauldron/tree/master/APILogic
Roll20 Contact : timmaugh
Version : 2.0.4
Last Update : 6/28/2021
Version : 2.0.5
Last Update : 7/20/2021
=========================================================
*/
var API_Meta = API_Meta || {};
Expand All @@ -18,9 +18,9 @@ const APILogic = (() => {
// VERSION
// ==================================================
const apiproject = 'APILogic';
API_Meta[apiproject].version = '2.0.4';
API_Meta[apiproject].version = '2.0.5';
const schemaVersion = 0.1;
const vd = new Date(1624887801910);
const vd = new Date(1626810300264);
const versionInfo = () => {
log(`\u0166\u0166 ${apiproject} v${API_Meta[apiproject].version}, ${vd.getFullYear()}/${vd.getMonth() + 1}/${vd.getDate()} \u0166\u0166 -- offset ${API_Meta[apiproject].offset}`);
if (!state.hasOwnProperty(apiproject) || state[apiproject].version !== schemaVersion) {
Expand Down Expand Up @@ -715,7 +715,7 @@ const APILogic = (() => {
const handleInput = (msg, msgstate = {}) => {
let funcret = { runloop: false, status: 'unchanged', notes: '' };
if (msg.type !== 'api' || !testConstructs(msg.content)) return funcret;
if (!msgstate && scriptisplugin) return funcret;
if (!Object.keys(msgstate).length && scriptisplugin) return funcret;
let status = [];
let notes = [];
const linebreak = '({&br-al})';
Expand Down
5 changes: 3 additions & 2 deletions APILogic/script.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "APILogic",
"script": "APILogic.js",
"version": "2.0.4",
"version": "2.0.5",
"description": "APILogic is a meta-script and part of the Meta-Toolbox. APILogic provides chat input logical constructs for shaping the command line, including IF, ELSEIF, and ELSE. It provides a way to define terms for text-replacment operations, or to name condition sets to re-use later in the logical processing. \r\rFor more information, see the original API forum thread:\r\r[APILogic Forum Thread](https://app.roll20.net/forum/post/9771314/script-apilogic-gives-if-slash-elseif-slash-else-processing-to-other-scripts/)\r\rOr read about the full set of meta-scripts available: \r\r[Meta Toolbox Forum Thread](https://app.roll20.net/forum/post/10005695/script-set-the-meta-toolbox)",
"authors": "timmaugh",
"roll20userid": "5962076",
Expand All @@ -25,6 +25,7 @@
"1.1.3",
"1.2.0",
"1.2.1",
"2.0.3"
"2.0.3",
"2.0.4"
]
}
718 changes: 718 additions & 0 deletions Fetch/1.0.8/Fetch.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Fetch/Fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Name : Fetch
GitHub : https://github.com/TimRohr22/Cauldron/tree/master/Fetch
Roll20 Contact : timmaugh
Version : 1.0.7
Last Update : 6/28/2021
Version : 1.0.8
Last Update : 7/20/2021
=========================================================
*/
var API_Meta = API_Meta || {};
Expand All @@ -15,10 +15,10 @@ API_Meta.Fetch = { offset: Number.MAX_SAFE_INTEGER, lineCount: -1 };

const Fetch = (() => {
const apiproject = 'Fetch';
const version = '1.0.7';
const version = '1.0.8';
const schemaVersion = 0.1;
API_Meta[apiproject].version = version;
const vd = new Date(1624887801910);
const vd = new Date(1626810300264);
const versionInfo = () => {
log(`\u0166\u0166 ${apiproject} v${API_Meta[apiproject].version}, ${vd.getFullYear()}/${vd.getMonth() + 1}/${vd.getDate()} \u0166\u0166 -- offset ${API_Meta[apiproject].offset}`);
if (!state.hasOwnProperty(apiproject) || state[apiproject].version !== schemaVersion) {
Expand Down Expand Up @@ -525,7 +525,7 @@ const Fetch = (() => {
const handleInput = (msg, msgstate = {}) => {
let funcret = { runloop: false, status: 'unchanged', notes: '' };
if (msg.type !== 'api' || !testConstructs(msg.content)) return funcret;
if (!msgstate && scriptisplugin) return funcret;
if (!Object.keys(msgstate).length && scriptisplugin) return funcret;
let status = [];
let notes = [];

Expand Down
5 changes: 3 additions & 2 deletions Fetch/script.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Fetch",
"script": "Fetch.js",
"version": "1.0.7",
"version": "1.0.8",
"description": "Fetch is a meta-script and part of the Meta-Toolbox. Fetch offers a unified syntax to expand the amount of things that can be retrieved with simple token or sheet calls. You can retrieve any token property, character property, sheet attribute, repeating attribute, ability, or macro with syntax that is intentionally very similar to Roll20's own syntax structures.\r\rToken property : @(selected.currentside)\rSheet Attribute: @(selected.Strength)\rSheet Attribute: @(Bob the Hirsute.Strength.max)\rRepeating Attr : *(Englebert Slaptiback.spells.[spell_name~Fireball prepared].spell_roll)\r\rIt also expands the source of the returned sheet item to include 'speaker'.\r\r@(speaker.Strength.max) ... and can return the rowID of a repeating attribute, the row number ($0), or the name of either brand of reference.\r\rNot only do these offer the advantage of not breaking the chat message if they don't exist (the way a standard token or sheet item call would), they also give you the ability to substitute in a default value should the one you are looking for not exist: \r\r@(The President of Burundi.Coffee[default value here]) \r\rFor more information, see the original API forum thread:\r\rhttps://app.roll20.net/forum/post/10005732/meta-script-fetch-retrieve-attributes-repeating-attributes-abilities-or-token-properties)\r\rOr read about the full set of meta-scripts available: \r\r[Meta Toolbox Forum Thread](https://app.roll20.net/forum/post/10005695/script-set-the-meta-toolbox)",
"authors": "timmaugh",
"roll20userid": "5962076",
Expand All @@ -19,7 +19,8 @@
"previousversions": [
"1.0.4",
"1.0.5",
"1.0.6"
"1.0.6",
"1.0.7"
]

}
Loading