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
Consider where they are falling, and what you might want them to fall *onto*... |
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
/** | |
* | |
* Copyright (C) 2015 Ken L. | |
* Licensed under the GPL Version 3 license. | |
* http://www.gnu.org/licenses/gpl.html | |
* | |
* Contributors: | |
* Andy W. | |
* Shu Zong C. | |
* Carlos R. L. Rodrigues |
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 asyncWaterfall = function (tasks, cb) { | |
var current = 0 | |
function done (err, args) { | |
function end () { | |
args = args ? [].concat(err, args) : [ err ] | |
if (cb) cb.apply(undefined, args) | |
} | |
end(); | |
} |
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
on("ready", function() { | |
log(getSheetDefaultValue("repeating_spell-cantrip_spellschool")); | |
var firstChar = findObjs({type: "character"})[0]; | |
if(!firstChar) return; | |
log(getAttrByName(firstChar.id, "repeating_spell-cantrip_$0_spellschool")); | |
}) |
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
//To test, just add the script and the sheet to any blank game, then create a new blank Character in the game, then do any chat message. | |
//Expected behavior: | |
// "Found webworker script" | |
// "API Ready." | |
// "Hello from sheetworker" | |
// "Creating baseattribute..." | |
// "Base attribute heard change" | |
// "Created attribute heard change" | |
on("chat:message", 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
///////////////////////////////////////////////// | |
/***********************************************/ | |
var BloodAndHonor = { | |
author: { | |
name: "John C." || "Echo" || "SplenectomY", | |
company: "Team Asshat" || "The Alehounds", | |
contact: "echo@TeamAsshat.com", | |
}, | |
version: "0.8", | |
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
LogPlatformFile: Not using cached read wrapper | |
LogInit:Display: RandInit(-2051586448) SRandInit(-2051586445). | |
LogTaskGraph: Started task graph with 4 named threads and 9 total threads. | |
LogStats: Stats thread started at 0.315340 | |
LogInit: Version: 4.11.1-2934540+++UE4+Release-4.11 | |
LogInit: API Version: 2927265 | |
LogInit: Compiled (64-bit): Apr 6 2016 02:14:16 | |
LogInit: Compiled with Visual C++: 19.00.23026.00 | |
LogInit: Build Configuration: Development | |
LogInit: Branch Name: ++UE4+Release-4.11 |
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
<fieldset class="repeating_test"> | |
<input type="text" name="attr_foo" /> | |
</fieldset> | |
<script type="text/worker"> | |
on("change:repeating_test", function() { | |
log("Heard repeating test change"); | |
}); | |
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
CLICKED | |
compiled.js:29153 Updating character sheet values | |
compiled.js:29155 Really updating character sheet values | |
compiled.js:29257 Setting up repeating sections took until 8ms | |
compiled.js:29311 Finding list of dirty attributes took until 9ms | |
VM45:1543 TRACE:updateAbility ability:STR | |
compiled.js:29320 Querytest took until 10ms | |
compiled.js:29463 Set values took until 15ms | |
compiled.js:29474 Took 19ms | |
compiled.js:29153 Updating character sheet values |
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
<div class="compendium-drop-target"> | |
<input type="hidden" name="attr_ImportedComponents" accept="Components" /> | |
<input type="checkbox" value="1" name="attr_ComponentV" /> V | |
</div> | |
<script type="text/worker"> | |
on("change:ImportedComponents", function() { | |
getAttrs(["ImportedComponents"], function(data) { | |
var splitComponents = data.ImportedComponents.split(" "); | |
var attrsToSet = {}; |
NewerOlder