diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b527ecc..ac6227b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [21.1.0](https://github.com/seleb/bitsy-hacks/compare/v21.0.3...v21.1.0) (2022-10-13) + + +### Features + +* **stopwatch:** add `getWatch` dialog tag ([b9bbae8](https://github.com/seleb/bitsy-hacks/commit/b9bbae863aea092b821c2fc9d3e7660fc4d11d42)) + ## [21.0.3](https://github.com/seleb/bitsy-hacks/compare/v21.0.2...v21.0.3) (2022-08-25) diff --git a/README.md b/README.md index 5f2ac34b..69df0b31 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ npm i @bitsy/hecks A collection of re-usable scripts for [Adam Le Doux](https://twitter.com/adamledoux)'s [Bitsy Game Maker](https://ledoux.itch.io/bitsy). See [Ayolland's Borksy](https://ayolland.itch.io/borksy) for a GUI that allows you to use these hacks with less copy-pasting. -Last tested against Bitsy 8.1 +Last tested against Bitsy 8.2 - [Contents](#contents) - [How to use](#how-to-use) diff --git a/dist/avatar-by-room.js b/dist/avatar-by-room.js index 767c0413..22ea0461 100644 --- a/dist/avatar-by-room.js +++ b/dist/avatar-by-room.js @@ -4,8 +4,8 @@ @summary change the avatar in certain rooms @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -177,8 +177,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -240,8 +240,8 @@ var after = kitsy.after; @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/backdrops.js b/dist/backdrops.js index ef819244..3f6e2863 100644 --- a/dist/backdrops.js +++ b/dist/backdrops.js @@ -4,8 +4,8 @@ @summary makes the game have a backdrop @license MIT @author Cephalopodunk & Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -181,8 +181,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -246,8 +246,8 @@ var after = kitsy.after; @summary makes all sprites have transparent backgrounds (deprecated) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -292,8 +292,8 @@ before('renderer.SetDrawings', function () { @summary makes the game have a transparent background @license MIT @author Cephalopodunk & Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description diff --git a/dist/basic-sfx.js b/dist/basic-sfx.js index 625af47a..6890914b 100644 --- a/dist/basic-sfx.js +++ b/dist/basic-sfx.js @@ -4,8 +4,8 @@ @summary "walk" and "talk" sound effect support @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -172,8 +172,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -235,8 +235,8 @@ var after = kitsy.after; @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/bitsymuse.js b/dist/bitsymuse.js index ee8fd89e..c0e5e041 100644 --- a/dist/bitsymuse.js +++ b/dist/bitsymuse.js @@ -4,8 +4,8 @@ @summary A variety of Bitsy sound and music handlers @license MIT @author David Mowatt -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -206,8 +206,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -367,8 +367,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/canvas-replacement.js b/dist/canvas-replacement.js index bc1fbced..7882cddb 100644 --- a/dist/canvas-replacement.js +++ b/dist/canvas-replacement.js @@ -4,8 +4,8 @@ @summary WebGLazy bitsy integration (this one's mostly just for me) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -203,8 +203,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/character-portraits-animated.js b/dist/character-portraits-animated.js index f6022511..806ff338 100644 --- a/dist/character-portraits-animated.js +++ b/dist/character-portraits-animated.js @@ -4,8 +4,8 @@ @summary high quality anime gifs @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -971,8 +971,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -1084,8 +1084,8 @@ function addDialogTag(tag, fn) { @summary high quality anime jpegs (or pngs i guess) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description diff --git a/dist/character-portraits.js b/dist/character-portraits.js index 37db781d..c7070d19 100644 --- a/dist/character-portraits.js +++ b/dist/character-portraits.js @@ -4,8 +4,8 @@ @summary high quality anime jpegs (or pngs i guess) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -200,8 +200,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/close-on-ending.js b/dist/close-on-ending.js index b45e1339..b2cfc035 100644 --- a/dist/close-on-ending.js +++ b/dist/close-on-ending.js @@ -4,8 +4,8 @@ @summary Prevents from playing past an ending @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -163,8 +163,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/corrupt.js b/dist/corrupt.js index fc85b75b..a4466543 100644 --- a/dist/corrupt.js +++ b/dist/corrupt.js @@ -4,8 +4,8 @@ @summary corrupts gamedata at runtime @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -60,8 +60,8 @@ bitsy = bitsy || /*#__PURE__*/_interopDefaultLegacy(bitsy); @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ @@ -87,8 +87,8 @@ function getImage(name, map) { @file edit image at runtime @summary API for updating image data at runtime. @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description Adds API for updating sprite, tile, and item data at runtime. @@ -295,8 +295,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/custom-exit-effects.js b/dist/custom-exit-effects.js index e9914916..82791b00 100644 --- a/dist/custom-exit-effects.js +++ b/dist/custom-exit-effects.js @@ -4,8 +4,8 @@ @summary make custom exit transition effects @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -199,8 +199,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/custom-text-effect.js b/dist/custom-text-effect.js index 0a36ece5..ce5ec89d 100644 --- a/dist/custom-text-effect.js +++ b/dist/custom-text-effect.js @@ -4,8 +4,8 @@ @summary make {custom}text effects{custom} @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -353,8 +353,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/dialog-audio-vocal-synth.js b/dist/dialog-audio-vocal-synth.js index c42f96f1..6281dae9 100644 --- a/dist/dialog-audio-vocal-synth.js +++ b/dist/dialog-audio-vocal-synth.js @@ -4,8 +4,8 @@ @summary animal crossing-style audio powered by the pink trombone vocal synth @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -884,8 +884,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -997,8 +997,8 @@ function addDialogTag(tag, fn) { @summary animal crossing-style audio @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -1054,8 +1054,8 @@ before('dialogBuffer.DoNextChar', function () { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/dialog-audio.js b/dist/dialog-audio.js index 9a05366e..f9c05a35 100644 --- a/dist/dialog-audio.js +++ b/dist/dialog-audio.js @@ -4,8 +4,8 @@ @summary animal crossing-style audio @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -190,8 +190,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/dialog-box-transition.js b/dist/dialog-box-transition.js index 0ded5fa6..e83f6cf0 100644 --- a/dist/dialog-box-transition.js +++ b/dist/dialog-box-transition.js @@ -4,8 +4,8 @@ @summary adds an easing transition animation to display the dialog box text @license MIT @author Delacannon -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -172,8 +172,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/dialog-choices.js b/dist/dialog-choices.js index 661ff22c..ba94b67c 100644 --- a/dist/dialog-choices.js +++ b/dist/dialog-choices.js @@ -4,8 +4,8 @@ @summary dialog choices @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -240,8 +240,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -410,8 +410,8 @@ inject(/(this\.AddLinebreak = )/, 'this.AddParagraphBreak = function() { buffer. @summary Adds paragraph breaks to the dialogue parser @license WTFPL (do WTF you want) @author Sean S. LeBlanc, David Mowatt -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -454,8 +454,8 @@ addDialogTag('p', function (environment, parameters, onReturn) { @summary put more words onscreen @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description diff --git a/dist/dialog-jump.js b/dist/dialog-jump.js index c0ed056e..d052852b 100644 --- a/dist/dialog-jump.js +++ b/dist/dialog-jump.js @@ -4,8 +4,8 @@ @summary jump from one dialog entry to another @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -174,8 +174,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/dialog-pause.js b/dist/dialog-pause.js index 68cfa239..49bea7f6 100644 --- a/dist/dialog-pause.js +++ b/dist/dialog-pause.js @@ -4,8 +4,8 @@ @summary add pauses in between printing text @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -160,8 +160,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/dialog-prompt.js b/dist/dialog-prompt.js index 791c3d2e..f91cc967 100644 --- a/dist/dialog-prompt.js +++ b/dist/dialog-prompt.js @@ -4,8 +4,8 @@ @summary prompt the user for text input in dialog @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -197,8 +197,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -317,8 +317,8 @@ inject(/(this\.AddLinebreak = )/, 'this.AddParagraphBreak = function() { buffer. @summary Adds paragraph breaks to the dialogue parser @license WTFPL (do WTF you want) @author Sean S. LeBlanc, David Mowatt -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description diff --git a/dist/direction-in-dialog.js b/dist/direction-in-dialog.js index 5ec13b6b..761d5711 100644 --- a/dist/direction-in-dialog.js +++ b/dist/direction-in-dialog.js @@ -4,8 +4,8 @@ @summary provides a variable with player direction @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -166,8 +166,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/directional-avatar.js b/dist/directional-avatar.js index 4cad8619..1e4ca225 100644 --- a/dist/directional-avatar.js +++ b/dist/directional-avatar.js @@ -4,8 +4,8 @@ @summary flips the player's sprite based on directional movement @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -41,8 +41,8 @@ bitsy = bitsy || /*#__PURE__*/_interopDefaultLegacy(bitsy); @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ @@ -68,8 +68,8 @@ function getImage(name, map) { @file edit image at runtime @summary API for updating image data at runtime. @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description Adds API for updating sprite, tile, and item data at runtime. @@ -260,8 +260,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/dynamic-background.js b/dist/dynamic-background.js index 911191c7..93986c94 100644 --- a/dist/dynamic-background.js +++ b/dist/dynamic-background.js @@ -4,8 +4,8 @@ @summary HTML background matching bitsy background @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -170,8 +170,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -233,8 +233,8 @@ var after = kitsy.after; @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/edit-dialog-from-dialog.js b/dist/edit-dialog-from-dialog.js index 937f40ef..3cbf4810 100644 --- a/dist/edit-dialog-from-dialog.js +++ b/dist/edit-dialog-from-dialog.js @@ -4,8 +4,8 @@ @summary edit dialog from dialog (yes really) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -169,8 +169,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -292,8 +292,8 @@ function addDeferredDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/edit-image-from-dialog.js b/dist/edit-image-from-dialog.js index 268d9a17..b6a26429 100644 --- a/dist/edit-image-from-dialog.js +++ b/dist/edit-image-from-dialog.js @@ -4,8 +4,8 @@ @summary edit sprites, items, and tiles from dialog @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -67,8 +67,8 @@ bitsy = bitsy || /*#__PURE__*/_interopDefaultLegacy(bitsy); @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ @@ -94,8 +94,8 @@ function getImage(name, map) { @file edit image at runtime @summary API for updating image data at runtime. @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description Adds API for updating sprite, tile, and item data at runtime. @@ -278,8 +278,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/edit-player-from-dialog.js b/dist/edit-player-from-dialog.js index 7c0537d0..0194cc83 100644 --- a/dist/edit-player-from-dialog.js +++ b/dist/edit-player-from-dialog.js @@ -4,8 +4,8 @@ @summary change which sprite is controlled by the player @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -173,8 +173,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -334,8 +334,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/edit-room-from-dialog.js b/dist/edit-room-from-dialog.js index 7e0829ba..d8387862 100644 --- a/dist/edit-room-from-dialog.js +++ b/dist/edit-room-from-dialog.js @@ -4,8 +4,8 @@ @summary modify the content of a room from dialog @license MIT @author Dana Holdampf -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -290,8 +290,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -451,8 +451,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/end-from-dialog.js b/dist/end-from-dialog.js index 5e213e52..39839a6f 100644 --- a/dist/end-from-dialog.js +++ b/dist/end-from-dialog.js @@ -4,8 +4,8 @@ @summary trigger an ending from dialog, including narration text (deprecated) @license WTFPL (do WTF you want) @author @mildmojo -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -194,8 +194,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/exit-from-dialog.js b/dist/exit-from-dialog.js index 2b2aec1e..2155b708 100644 --- a/dist/exit-from-dialog.js +++ b/dist/exit-from-dialog.js @@ -4,8 +4,8 @@ @summary exit to another room from dialog, including conditionals @license WTFPL (do WTF you want) @author @mildmojo -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -194,8 +194,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -355,8 +355,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/external-game-data.js b/dist/external-game-data.js index e084ead0..41632bc8 100644 --- a/dist/external-game-data.js +++ b/dist/external-game-data.js @@ -4,8 +4,8 @@ @summary separate Bitsy game data from your (modded) HTML for easier development @license WTFPL (do WTF you want) @author @mildmojo -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -182,8 +182,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/favicon-from-sprite.js b/dist/favicon-from-sprite.js index 9fd997e0..cb48520b 100644 --- a/dist/favicon-from-sprite.js +++ b/dist/favicon-from-sprite.js @@ -4,8 +4,8 @@ @summary generate a browser favicon (tab icon) from a Bitsy sprite, including animation! @license WTFPL (do WTF you want) @author @mildmojo -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -170,8 +170,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -233,8 +233,8 @@ var after = kitsy.after; @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/follower.js b/dist/follower.js index 0a1c3e32..4dd147e7 100644 --- a/dist/follower.js +++ b/dist/follower.js @@ -4,8 +4,8 @@ @summary make sprites follow the player @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -193,8 +193,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -354,8 +354,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/gamepad-input.js b/dist/gamepad-input.js index 47acd94c..cae4616d 100644 --- a/dist/gamepad-input.js +++ b/dist/gamepad-input.js @@ -4,8 +4,8 @@ @summary HTML5 gamepad support @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -489,8 +489,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/gravity.js b/dist/gravity.js index b2376ceb..71e22908 100644 --- a/dist/gravity.js +++ b/dist/gravity.js @@ -4,8 +4,8 @@ @summary Pseudo-platforming/gravity/physics @license MIT @author Cole Sea -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -122,8 +122,8 @@ bitsy = bitsy || /*#__PURE__*/_interopDefaultLegacy(bitsy); @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ @@ -149,8 +149,8 @@ function getImage(name, map) { @file edit image at runtime @summary API for updating image data at runtime. @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description Adds API for updating sprite, tile, and item data at runtime. @@ -341,8 +341,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/itsy-bitsy.js b/dist/itsy-bitsy.js index 57a9c578..5d8ff8db 100644 --- a/dist/itsy-bitsy.js +++ b/dist/itsy-bitsy.js @@ -4,8 +4,8 @@ @summary for when bitsy's not small enough @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -171,8 +171,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/javascript-dialog.js b/dist/javascript-dialog.js index 1efe53a4..27c9fafc 100644 --- a/dist/javascript-dialog.js +++ b/dist/javascript-dialog.js @@ -4,8 +4,8 @@ @summary execute arbitrary javascript from dialog @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -196,8 +196,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/logic-operators-extended.js b/dist/logic-operators-extended.js index 48648e01..938b01b4 100644 --- a/dist/logic-operators-extended.js +++ b/dist/logic-operators-extended.js @@ -3,8 +3,8 @@ @file logic-operators-extended @summary adds conditional logic operators @author @mildmojo -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -168,8 +168,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/long-dialog.js b/dist/long-dialog.js index 67b860d8..9a81a8b0 100644 --- a/dist/long-dialog.js +++ b/dist/long-dialog.js @@ -4,8 +4,8 @@ @summary put more words onscreen @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -184,8 +184,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -354,8 +354,8 @@ inject(/(this\.AddLinebreak = )/, 'this.AddParagraphBreak = function() { buffer. @summary Adds paragraph breaks to the dialogue parser @license WTFPL (do WTF you want) @author Sean S. LeBlanc, David Mowatt -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description diff --git a/dist/multi-sprite-avatar.js b/dist/multi-sprite-avatar.js index ffcff38f..0295f718 100644 --- a/dist/multi-sprite-avatar.js +++ b/dist/multi-sprite-avatar.js @@ -4,8 +4,8 @@ @summary make the player big @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -201,8 +201,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -362,8 +362,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/online.js b/dist/online.js index a7e817ca..2b197b2d 100644 --- a/dist/online.js +++ b/dist/online.js @@ -4,8 +4,8 @@ @summary multiplayer bitsy @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description Provides the groundwork for running a small online multiplayer bitsy game. @@ -182,8 +182,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -343,8 +343,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ @@ -372,8 +372,8 @@ function getImage(name, map) { @summary edit dialog from dialog (yes really) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -439,8 +439,8 @@ addDeferredDialogTag('dialog', editDialog); @file edit image at runtime @summary API for updating image data at runtime. @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description Adds API for updating sprite, tile, and item data at runtime. @@ -498,8 +498,8 @@ function setSpriteData(id, frame, newData) { @summary edit sprites, items, and tiles from dialog @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -645,8 +645,8 @@ addDualDialogTag('imagePal', editPalette); @summary execute arbitrary javascript from dialog @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description diff --git a/dist/opaque-tiles.js b/dist/opaque-tiles.js index 54aeeb64..de5a721f 100644 --- a/dist/opaque-tiles.js +++ b/dist/opaque-tiles.js @@ -4,8 +4,8 @@ @summary tiles which hide the player @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -169,8 +169,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/paragraph-break.js b/dist/paragraph-break.js index ffad6ed2..7a0239d3 100644 --- a/dist/paragraph-break.js +++ b/dist/paragraph-break.js @@ -4,8 +4,8 @@ @summary Adds paragraph breaks to the dialogue parser @license WTFPL (do WTF you want) @author Sean S. LeBlanc, David Mowatt -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -176,8 +176,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/permanent-items.js b/dist/permanent-items.js index 97fa1a7c..5b729af3 100644 --- a/dist/permanent-items.js +++ b/dist/permanent-items.js @@ -4,8 +4,8 @@ @summary prevent some items from being picked up @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -166,8 +166,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/push-sprites.js b/dist/push-sprites.js index c2d6dbe6..7b91ae76 100644 --- a/dist/push-sprites.js +++ b/dist/push-sprites.js @@ -4,8 +4,8 @@ @summary sokoban-style sprite pushing @license MIT @author jan0sc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -198,8 +198,8 @@ bitsy = bitsy || /*#__PURE__*/_interopDefaultLegacy(bitsy); @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ @@ -225,8 +225,8 @@ function getImage(name, map) { @file edit image at runtime @summary API for updating image data at runtime. @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description Adds API for updating sprite, tile, and item data at runtime. @@ -417,8 +417,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/replace-drawing.js b/dist/replace-drawing.js index 2ddc4ffa..275b46a5 100644 --- a/dist/replace-drawing.js +++ b/dist/replace-drawing.js @@ -4,8 +4,8 @@ @summary add name-tags to replace drawings when the game is loading @license MIT @author Elkie Nova -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -177,8 +177,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/save.js b/dist/save.js index 8406f4a8..df824195 100644 --- a/dist/save.js +++ b/dist/save.js @@ -4,8 +4,8 @@ @summary save/load your game @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -195,8 +195,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -356,8 +356,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ diff --git a/dist/solid-items.js b/dist/solid-items.js index 90fc1cc8..decd55c0 100644 --- a/dist/solid-items.js +++ b/dist/solid-items.js @@ -4,8 +4,8 @@ @summary treat some items like sprites that can be placed multiple times @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -167,8 +167,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/stopwatch.js b/dist/stopwatch.js index 01f3d823..9ec85f82 100644 --- a/dist/stopwatch.js +++ b/dist/stopwatch.js @@ -4,8 +4,8 @@ @summary time player actions @license MIT @author Lenny Magner -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -16,6 +16,7 @@ Usage: (stopWatch "timer id"): stops a timer with provided id (resumeWatch "timer id"): resumes a timer with provided id (sayWatch "timer id"): prints a timer with provided id + (getWatch "timer id"): returns the value of a timer with provided id There's also startWatchNow, stopWatchNow, and resumeWatchNow, which do the same things, but immediately instead of when dialog ends. @@ -27,6 +28,7 @@ Notes on edge/error cases: (resumeWatch "non-existent id"): starts new timer (resumeWatch "running id"): does nothing (sayWatch "non-existent id"): throws error + (getWatch "non-existent id"): throws error HOW TO USE: 1. Copy-paste into a script tag after the bitsy source @@ -202,8 +204,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -363,8 +365,8 @@ function addDualDialogTag(tag, fn) { @file utils @summary miscellaneous bitsy utilities @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ @@ -459,6 +461,15 @@ addDialogTag('sayWatch', function (environment, parameters, onReturn) { printDialog(environment, hackOptions.timeToString(timer), onReturn); }); +// add get function +addDialogTag('getWatch', function (environment, parameters, onReturn) { + var timer = timers[parameters[0]]; + if (!timer) { + throw new Error('Tried to getWatch "' + parameters[0] + '" but it was never started'); + } + onReturn(hackOptions.timeToString(timer)); +}); + exports.hackOptions = hackOptions; Object.defineProperty(exports, '__esModule', { value: true }); diff --git a/dist/text-to-speech.js b/dist/text-to-speech.js index eee76c66..6116a49d 100644 --- a/dist/text-to-speech.js +++ b/dist/text-to-speech.js @@ -4,8 +4,8 @@ @summary text-to-speech for bitsy dialog @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -192,8 +192,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/tracery-processing.js b/dist/tracery-processing.js index 6e6a35f7..d5651278 100644 --- a/dist/tracery-processing.js +++ b/dist/tracery-processing.js @@ -4,8 +4,8 @@ @summary process all dialog text with a tracery grammar @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -1036,8 +1036,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/transitions.js b/dist/transitions.js index a84eeb27..717c6333 100644 --- a/dist/transitions.js +++ b/dist/transitions.js @@ -4,8 +4,8 @@ @summary customizable WebGL transitions @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -223,8 +223,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -288,8 +288,8 @@ var after = kitsy.after; @summary WebGLazy bitsy integration (this one's mostly just for me) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description diff --git a/dist/transparent-background.js b/dist/transparent-background.js index 8f20cc18..da94a425 100644 --- a/dist/transparent-background.js +++ b/dist/transparent-background.js @@ -4,8 +4,8 @@ @summary makes the game have a transparent background @license MIT @author Cephalopodunk & Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -171,8 +171,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { @@ -236,8 +236,8 @@ var after = kitsy.after; @summary makes all sprites have transparent backgrounds (deprecated) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description diff --git a/dist/transparent-dialog.js b/dist/transparent-dialog.js index 3604af64..61086e21 100644 --- a/dist/transparent-dialog.js +++ b/dist/transparent-dialog.js @@ -4,8 +4,8 @@ @summary makes the dialog box have a transparent background @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -156,8 +156,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/transparent-sprites.js b/dist/transparent-sprites.js index 7862e7e5..42e8b7b9 100644 --- a/dist/transparent-sprites.js +++ b/dist/transparent-sprites.js @@ -4,8 +4,8 @@ @summary makes all sprites have transparent backgrounds (deprecated) @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -174,8 +174,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/twine-bitsy-comms.js b/dist/twine-bitsy-comms.js index 4f0e8215..60e27fff 100644 --- a/dist/twine-bitsy-comms.js +++ b/dist/twine-bitsy-comms.js @@ -4,8 +4,8 @@ @summary interprocess communication for twine and bitsy @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -238,8 +238,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/dist/unique-items.js b/dist/unique-items.js index 72390046..12df910b 100644 --- a/dist/unique-items.js +++ b/dist/unique-items.js @@ -4,8 +4,8 @@ @summary items which, when picked up, remove all other instances of that item from the game @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 @description @@ -167,8 +167,8 @@ function applyHook(root, functionName) { @summary Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags @license WTFPL (do WTF you want) @author Original by mildmojo; modified by Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.1.0 +@requires Bitsy 8.2 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/package-lock.json b/package-lock.json index b271057f..3d71da26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bitsy/hecks", - "version": "21.0.3", + "version": "21.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bitsy/hecks", - "version": "21.0.3", + "version": "21.1.0", "license": "MIT (individual hacks have their own license specified)", "dependencies": { "@seansleblanc/pink-trombone": "^1.0.1", diff --git a/package.json b/package.json index 6987ed54..36b8fc67 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "hacks" ], "main": "index.mjs", - "version": "21.0.3", + "version": "21.1.0", "bitsyVersion": "8.2", "scripts": { "build": "rollup -c",