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
// VERSION INFO | |
var InventoryManager_Version = "0.0.2"; | |
// These values must be set for the script to work properly. | |
// Once a player has joined your campaign, | |
// their ID will show up in the API Output Console | |
// when the script fires up. | |
player_list = [ | |
player_1_id = "-JeTLkLt_UFt7Boc1DsQ", /* Coille Flitterleaf */ |
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
///////////////////////////////////////////////// | |
/***********************************************/ | |
var MakeYourTime = { | |
author: { | |
name: "John C." || "Echo" || "SplenectomY", | |
company: "Team Asshat" || "The Alehounds", | |
contact: "echo@TeamAsshat.com", | |
}, | |
version: "0.2", | |
gist: "https://gist.github.com/SplenectomY/1f198a3114903d7a3271", |
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
///////////////////////////////////////////////// | |
/***********************************************/ | |
var BloodAndHonor = { | |
author: { | |
name: "John C." || "Echo" || "SplenectomY", | |
company: "Team Asshat" || "The Alehounds", | |
contact: "echo@TeamAsshat.com", | |
}, | |
version: "0.6", | |
gist: "https://gist.github.com/SplenectomY/097dac3e427ec50f32c9", |
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
var SplenectomY = SplenectomY || {}; | |
SplenectomY.planets = SplenectomY.planets || {}; | |
////////////////////////////////////////////////// | |
//HERES THE CONFIG. SAVE AND RESTART UPON CHANGING. | |
SplenectomY.planets.clockwise = false; | |
////////////////////////////////////////////////// | |
////////////////////////////////////////////////// |
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
state.SplenectomY = state.SplenectomY || {}; | |
state.SplenectomY.inventory = state.SplenectomY.inventory || {}; | |
state.SplenectomY.inventory.pageID = state.SplenectomY.inventory.pageID || {}; | |
state.SplenectomY.players = state.SplenectomY.players || {}; | |
state.SplenectomY.inventory.currentCaller = state.SplenectomY.inventory.currentCaller || {}; | |
state.SplenectomY.inventory.currentCallerid = state.SplenectomY.inventory.currentCallerid || {}; |
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
var SplenectomY = SplenectomY || {}; | |
SplenectomY.planets = SplenectomY.planets || {}; | |
////////////////////////////////////////////////// | |
//HERES THE CONFIG. SAVE AND RESTART UPON CHANGING. | |
SplenectomY.planets.clockwise = false; | |
////////////////////////////////////////////////// | |
////////////////////////////////////////////////// |
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
// SET CONFIG FIRST, THEN CHANGE "RUN" TO TRUE | |
// Create a button to roll HP for a selected NPC token. Requires TokenMod | |
var doHP = false, | |
// If you're done with all the config, set this to true and save the script. | |
// Be careful and make sure you're 100 percent ready. This script is going | |
// to make macro buttons for EVERY CHARACTER YOU HAVE. It will take a moment. | |
// These actions are not easily undone. Consider copying your campaign | |
// to test it first. |
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
//For use with the Frontier Economy mod | |
// | |
//You'll need a grid that collects the prices of all the shops on the server. I recommend | |
//Network LCDs for this job. One shop per LCD is ideal. Doesn't matter if the prices don't all fit | |
//on screen. You should hide these ugly things out of sight anyway. | |
// | |
//On each screen, put [PRICES] in the name. Should then look like [Economy] [PRICES] | |
// | |
//Create an LCD with [Routes] in the name. That's it! This script will do the rest. | |
//It's a bit heavy on calculations so consider putting it on a timer block. See line 15. |
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
//Make this number larger to slow the script down and prevent overheats. | |
public const int SlownessLevel = 2; | |
// Use this tag to identify LCDs managed by this script | |
// Name filtering rules can be used here so you can use even G:Group or T:[My LCD] | |
public string LCD_TAG = "T:[LCD]"; | |
// How many lines to scroll per step | |
public const int SCROLL_LINES_PER_STEP = 1; |
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
// This script will block tokens from going through "windows", | |
// or other transparent obstacles but allow sight through them. | |
// Will work for any paths drawn, even freehand and circles. | |
// (Circle/oval detection accuracy is reduced to save on processing time, | |
// because it's WAY harder to determine the intersect of an elipsoid vs. | |
// a line rather than line segments vs. a line. For better accuracy on curves, | |
// draw it freehand. Excessive use of this might cause slow performance) | |
// Default color for detecting the window path is yellow (#ffff00) | |
// You may change this color in the config below |
OlderNewer