This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ADDING DATA TO THE LCP PARSER | |
// If you want to add homebrew/new data to the lcp parser for use in your games you need to complete a few steps: | |
// 1. Extract JSON files from the lcp file folder. This can be done by changing the extension of the .lcp file to .zip, | |
// and then extracting the folder. | |
// 2. Define a unique variable for each json file you want to include. Copy the contents of the JSON file into that variable | |
// var your_new_var = [ENTIRE JSON FILE]; | |
// 3. Add the newly created variable to the appropriate data set at the bottom of this file. | |
// var frame_data_set = [lancer_frames, your_new_var]; | |
// NOTE: The script ONLY supports the following types: | |
// 1. Frame |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LCP PC BUILDER by Spencer Moran | |
// AUTHORS NOTE: This script relies on a separate variables file called | |
// "ScriptData.js" which contains the datasets used by this script. | |
// YOU NEED BOTH FILES FOR THIS SCRIPT TO WORK. Due to load order restrictions | |
// The dataset will not register in this script until after you have first | |
// saved the script in Roll20. And then subsequently saved this script: | |
// STEP 1: Save ScriptData.js | |
// STEP 2: Save lcp_pc_builder.js | |
// You will need to do this each time you make a change to the datasets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LancerGMToolkit.js by Spencer Moran | |
// V. 1.3.05 - 2/4/2022 | |
//Toolset for building abilities and token macros to use with NPCs with weird sheets | |
// Intended for use with LancerCoreHelper.js | |
// Also includes a turntracker for Lancer Combat including Activations! | |
// To Start enter the command: | |
// !lncr_gmtk_init | |
// into the chat window | |
// | |
// NOTE: Some buttons require the LancerCoreHelper.js script to be installed. See this gist to pick it up: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//GmtkTimers.js by Spencer Moran | |
// This script adds functions and events for keeping track of the myriad of conditions imposed over the course of a game. | |
// Note, this does not use the state object and will reset if the script is relaunched or the game session is closed. | |
// | |
//Functions: | |
// AddTurnCounter - Adds a turn counter that updates whenever the turn order is changed. | |
// Initialize - Adds a macro to query the important details of the AddTurnCounter function. | |
// | |
//Single-use spin up actions | |
on('ready', function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LancerCoreHelper.js by Spencer Moran | |
// V. 1.5.01 - 6/6/2023 | |
// This script created to help automate some of the more tedious aspects of the LANCER system. | |
//PREREQUISITES AND DEPENDENCIES | |
// 1. 'Lancer status icons for Roll20' pack by Hayley - https://drive.google.com/drive/folders/1bY1GPvCP3jNajtXSElm40VM_REH5eQ6i | |
// is required to use the set-status buttons on the UI. Not having the correctly named token markers will cause | |
// the script to crash. A fix is in progress. Note that if you want to use a different set of markers an example macro has | |
// been created so you can still have access to the functionality. The get-status macro is token-agnostic. | |
// SEE WARNINGS->STATUS ICONS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
AutoMob5e.js by Spencer Moran. MIT License | |
This program automatically calculates mob combat attacks | |
and damage based on a few input values, complete with a | |
handy query macro to speed things along. You can modify the | |
generated macro if you want to save time with some default | |
values. | |
Intended for use with DND 5e. | |