From 6b4aa3acb9d483ec4ead60a5b5b39ea43194431a Mon Sep 17 00:00:00 2001 From: "Sean S. LeBlanc" Date: Wed, 12 Oct 2022 21:06:58 -0400 Subject: [PATCH] feat: update hacks --- package-lock.json | 14 +++++------ package.json | 2 +- src/hacks/avatar-by-room.txt | 12 +++++----- src/hacks/backdrops.txt | 16 ++++++------- src/hacks/basic-sfx.txt | 12 +++++----- src/hacks/bitsymuse.txt | 12 +++++----- src/hacks/canvas-replacement.txt | 8 +++---- src/hacks/character-portraits-animated.txt | 12 +++++----- src/hacks/character-portraits.txt | 8 +++---- src/hacks/close-on-ending.txt | 8 +++---- src/hacks/corrupt.txt | 16 ++++++------- src/hacks/custom-exit-effects.txt | 8 +++---- src/hacks/custom-text-effect.txt | 8 +++---- src/hacks/dialog-audio-vocal-synth.txt | 16 ++++++------- src/hacks/dialog-audio.txt | 8 +++---- src/hacks/dialog-box-transition.txt | 8 +++---- src/hacks/dialog-choices.txt | 16 ++++++------- src/hacks/dialog-jump.txt | 8 +++---- src/hacks/dialog-pause.txt | 8 +++---- src/hacks/dialog-prompt.txt | 12 +++++----- src/hacks/direction-in-dialog.txt | 8 +++---- src/hacks/directional-avatar.txt | 16 ++++++------- src/hacks/dynamic-background.txt | 12 +++++----- src/hacks/edit-dialog-from-dialog.txt | 12 +++++----- src/hacks/edit-image-from-dialog.txt | 16 ++++++------- src/hacks/edit-player-from-dialog.txt | 12 +++++----- src/hacks/edit-room-from-dialog.txt | 12 +++++----- src/hacks/end-from-dialog.txt | 8 +++---- src/hacks/exit-from-dialog.txt | 12 +++++----- src/hacks/external-game-data.txt | 8 +++---- src/hacks/favicon-from-sprite.txt | 12 +++++----- src/hacks/follower.txt | 12 +++++----- src/hacks/gamepad-input.txt | 8 +++---- src/hacks/gravity.txt | 16 ++++++------- src/hacks/itsy-bitsy.txt | 8 +++---- src/hacks/javascript-dialog.txt | 8 +++---- src/hacks/logic-operators-extended.txt | 8 +++---- src/hacks/long-dialog.txt | 12 +++++----- src/hacks/multi-sprite-avatar.txt | 12 +++++----- src/hacks/online.txt | 28 +++++++++++----------- src/hacks/opaque-tiles.txt | 8 +++---- src/hacks/paragraph-break.txt | 8 +++---- src/hacks/permanent-items.txt | 8 +++---- src/hacks/push-sprites.txt | 16 ++++++------- src/hacks/replace-drawing.txt | 8 +++---- src/hacks/save.txt | 12 +++++----- src/hacks/solid-items.txt | 8 +++---- src/hacks/stopwatch.txt | 23 +++++++++++++----- src/hacks/text-to-speech.txt | 8 +++---- src/hacks/tracery-processing.txt | 8 +++---- src/hacks/transitions.txt | 12 +++++----- src/hacks/transparent-background.txt | 12 +++++----- src/hacks/transparent-dialog.txt | 8 +++---- src/hacks/transparent-sprites.txt | 8 +++---- src/hacks/twine-bitsy-comms.txt | 8 +++---- src/hacks/unique-items.txt | 8 +++---- 56 files changed, 313 insertions(+), 302 deletions(-) diff --git a/package-lock.json b/package-lock.json index 554a916f..19e2adc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "5.26.0", "license": "MIT", "devDependencies": { - "@bitsy/hecks": "^21.0.3", + "@bitsy/hecks": "^21.2.0", "eslint": "^8.25.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.5.0", @@ -593,9 +593,9 @@ "dev": true }, "node_modules/@bitsy/hecks": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/@bitsy/hecks/-/hecks-21.0.3.tgz", - "integrity": "sha512-QJceKXjoypzSIdzydIxAfRtDvvu/TEehza/9+EklLmnlSaujXkO698jkfVyl6a51Et5Ml0iq1hptUwx/vMNJYg==", + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/@bitsy/hecks/-/hecks-21.2.0.tgz", + "integrity": "sha512-hvmR13ofw8z4OJ/zFRVM3Cv6vHZHB+P8la8lB3YbLFswd8gavnfn3mwE6oknTcbXIRomkNISjE/4Pkm+jYs1yQ==", "dev": true, "dependencies": { "@seansleblanc/pink-trombone": "^1.0.1", @@ -8320,9 +8320,9 @@ "dev": true }, "@bitsy/hecks": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/@bitsy/hecks/-/hecks-21.0.3.tgz", - "integrity": "sha512-QJceKXjoypzSIdzydIxAfRtDvvu/TEehza/9+EklLmnlSaujXkO698jkfVyl6a51Et5Ml0iq1hptUwx/vMNJYg==", + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/@bitsy/hecks/-/hecks-21.2.0.tgz", + "integrity": "sha512-hvmR13ofw8z4OJ/zFRVM3Cv6vHZHB+P8la8lB3YbLFswd8gavnfn3mwE6oknTcbXIRomkNISjE/4Pkm+jYs1yQ==", "dev": true, "requires": { "@seansleblanc/pink-trombone": "^1.0.1", diff --git a/package.json b/package.json index 92966e18..2d3db9fb 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ ] }, "devDependencies": { - "@bitsy/hecks": "^21.0.3", + "@bitsy/hecks": "^21.2.0", "eslint": "^8.25.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.5.0", diff --git a/src/hacks/avatar-by-room.txt b/src/hacks/avatar-by-room.txt index 767c0413..f28c2289 100644 --- a/src/hacks/avatar-by-room.txt +++ b/src/hacks/avatar-by-room.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/backdrops.txt b/src/hacks/backdrops.txt index ef819244..e1bba700 100644 --- a/src/hacks/backdrops.txt +++ b/src/hacks/backdrops.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 @description diff --git a/src/hacks/basic-sfx.txt b/src/hacks/basic-sfx.txt index 625af47a..76e67cfe 100644 --- a/src/hacks/basic-sfx.txt +++ b/src/hacks/basic-sfx.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/bitsymuse.txt b/src/hacks/bitsymuse.txt index ee8fd89e..68f92818 100644 --- a/src/hacks/bitsymuse.txt +++ b/src/hacks/bitsymuse.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/canvas-replacement.txt b/src/hacks/canvas-replacement.txt index bc1fbced..01d7264c 100644 --- a/src/hacks/canvas-replacement.txt +++ b/src/hacks/canvas-replacement.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/character-portraits-animated.txt b/src/hacks/character-portraits-animated.txt index f6022511..e739df36 100644 --- a/src/hacks/character-portraits-animated.txt +++ b/src/hacks/character-portraits-animated.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 @description diff --git a/src/hacks/character-portraits.txt b/src/hacks/character-portraits.txt index 37db781d..54824abd 100644 --- a/src/hacks/character-portraits.txt +++ b/src/hacks/character-portraits.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/close-on-ending.txt b/src/hacks/close-on-ending.txt index b45e1339..17e2b19f 100644 --- a/src/hacks/close-on-ending.txt +++ b/src/hacks/close-on-ending.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/corrupt.txt b/src/hacks/corrupt.txt index fc85b75b..0905ad8c 100644 --- a/src/hacks/corrupt.txt +++ b/src/hacks/corrupt.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/custom-exit-effects.txt b/src/hacks/custom-exit-effects.txt index e9914916..68d51d64 100644 --- a/src/hacks/custom-exit-effects.txt +++ b/src/hacks/custom-exit-effects.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/custom-text-effect.txt b/src/hacks/custom-text-effect.txt index 0a36ece5..76f0fa6a 100644 --- a/src/hacks/custom-text-effect.txt +++ b/src/hacks/custom-text-effect.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/dialog-audio-vocal-synth.txt b/src/hacks/dialog-audio-vocal-synth.txt index c42f96f1..8e99ea06 100644 --- a/src/hacks/dialog-audio-vocal-synth.txt +++ b/src/hacks/dialog-audio-vocal-synth.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/dialog-audio.txt b/src/hacks/dialog-audio.txt index 9a05366e..ace8544e 100644 --- a/src/hacks/dialog-audio.txt +++ b/src/hacks/dialog-audio.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/dialog-box-transition.txt b/src/hacks/dialog-box-transition.txt index 0ded5fa6..cc5237fc 100644 --- a/src/hacks/dialog-box-transition.txt +++ b/src/hacks/dialog-box-transition.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/dialog-choices.txt b/src/hacks/dialog-choices.txt index 661ff22c..34a7b9fd 100644 --- a/src/hacks/dialog-choices.txt +++ b/src/hacks/dialog-choices.txt @@ -4,8 +4,8 @@ @summary dialog choices @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 @description diff --git a/src/hacks/dialog-jump.txt b/src/hacks/dialog-jump.txt index c0ed056e..63f9039c 100644 --- a/src/hacks/dialog-jump.txt +++ b/src/hacks/dialog-jump.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/dialog-pause.txt b/src/hacks/dialog-pause.txt index 68cfa239..ad65178f 100644 --- a/src/hacks/dialog-pause.txt +++ b/src/hacks/dialog-pause.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/dialog-prompt.txt b/src/hacks/dialog-prompt.txt index 791c3d2e..2a41c17c 100644 --- a/src/hacks/dialog-prompt.txt +++ b/src/hacks/dialog-prompt.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 @description diff --git a/src/hacks/direction-in-dialog.txt b/src/hacks/direction-in-dialog.txt index 5ec13b6b..3b48df74 100644 --- a/src/hacks/direction-in-dialog.txt +++ b/src/hacks/direction-in-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/directional-avatar.txt b/src/hacks/directional-avatar.txt index 4cad8619..613d4e4f 100644 --- a/src/hacks/directional-avatar.txt +++ b/src/hacks/directional-avatar.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/dynamic-background.txt b/src/hacks/dynamic-background.txt index 911191c7..d88c645e 100644 --- a/src/hacks/dynamic-background.txt +++ b/src/hacks/dynamic-background.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/edit-dialog-from-dialog.txt b/src/hacks/edit-dialog-from-dialog.txt index 937f40ef..a9d8d960 100644 --- a/src/hacks/edit-dialog-from-dialog.txt +++ b/src/hacks/edit-dialog-from-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/edit-image-from-dialog.txt b/src/hacks/edit-image-from-dialog.txt index 268d9a17..b7a307b4 100644 --- a/src/hacks/edit-image-from-dialog.txt +++ b/src/hacks/edit-image-from-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/edit-player-from-dialog.txt b/src/hacks/edit-player-from-dialog.txt index 7c0537d0..8a8b675b 100644 --- a/src/hacks/edit-player-from-dialog.txt +++ b/src/hacks/edit-player-from-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/edit-room-from-dialog.txt b/src/hacks/edit-room-from-dialog.txt index 7e0829ba..125f3f20 100644 --- a/src/hacks/edit-room-from-dialog.txt +++ b/src/hacks/edit-room-from-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/end-from-dialog.txt b/src/hacks/end-from-dialog.txt index 5e213e52..e885cf09 100644 --- a/src/hacks/end-from-dialog.txt +++ b/src/hacks/end-from-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/exit-from-dialog.txt b/src/hacks/exit-from-dialog.txt index 2b2aec1e..6a3af521 100644 --- a/src/hacks/exit-from-dialog.txt +++ b/src/hacks/exit-from-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/external-game-data.txt b/src/hacks/external-game-data.txt index e084ead0..f1c79424 100644 --- a/src/hacks/external-game-data.txt +++ b/src/hacks/external-game-data.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/favicon-from-sprite.txt b/src/hacks/favicon-from-sprite.txt index 9fd997e0..2ccd41d2 100644 --- a/src/hacks/favicon-from-sprite.txt +++ b/src/hacks/favicon-from-sprite.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/follower.txt b/src/hacks/follower.txt index 0a1c3e32..2df3ff07 100644 --- a/src/hacks/follower.txt +++ b/src/hacks/follower.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/gamepad-input.txt b/src/hacks/gamepad-input.txt index 47acd94c..598a123c 100644 --- a/src/hacks/gamepad-input.txt +++ b/src/hacks/gamepad-input.txt @@ -4,8 +4,8 @@ @summary HTML5 gamepad support @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/gravity.txt b/src/hacks/gravity.txt index b2376ceb..701aa9bc 100644 --- a/src/hacks/gravity.txt +++ b/src/hacks/gravity.txt @@ -4,8 +4,8 @@ @summary Pseudo-platforming/gravity/physics @license MIT @author Cole Sea -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/itsy-bitsy.txt b/src/hacks/itsy-bitsy.txt index 57a9c578..c171b649 100644 --- a/src/hacks/itsy-bitsy.txt +++ b/src/hacks/itsy-bitsy.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/javascript-dialog.txt b/src/hacks/javascript-dialog.txt index 1efe53a4..a733f7fd 100644 --- a/src/hacks/javascript-dialog.txt +++ b/src/hacks/javascript-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/logic-operators-extended.txt b/src/hacks/logic-operators-extended.txt index 48648e01..50894004 100644 --- a/src/hacks/logic-operators-extended.txt +++ b/src/hacks/logic-operators-extended.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/long-dialog.txt b/src/hacks/long-dialog.txt index 67b860d8..5a3facaa 100644 --- a/src/hacks/long-dialog.txt +++ b/src/hacks/long-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 @description diff --git a/src/hacks/multi-sprite-avatar.txt b/src/hacks/multi-sprite-avatar.txt index ffcff38f..99d7f671 100644 --- a/src/hacks/multi-sprite-avatar.txt +++ b/src/hacks/multi-sprite-avatar.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/online.txt b/src/hacks/online.txt index a7e817ca..d4666617 100644 --- a/src/hacks/online.txt +++ b/src/hacks/online.txt @@ -4,8 +4,8 @@ @summary multiplayer bitsy @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 @description diff --git a/src/hacks/opaque-tiles.txt b/src/hacks/opaque-tiles.txt index 54aeeb64..f10014bb 100644 --- a/src/hacks/opaque-tiles.txt +++ b/src/hacks/opaque-tiles.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/paragraph-break.txt b/src/hacks/paragraph-break.txt index ffad6ed2..b0f87bb3 100644 --- a/src/hacks/paragraph-break.txt +++ b/src/hacks/paragraph-break.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/permanent-items.txt b/src/hacks/permanent-items.txt index 97fa1a7c..635731ce 100644 --- a/src/hacks/permanent-items.txt +++ b/src/hacks/permanent-items.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/push-sprites.txt b/src/hacks/push-sprites.txt index c2d6dbe6..ed276521 100644 --- a/src/hacks/push-sprites.txt +++ b/src/hacks/push-sprites.txt @@ -4,8 +4,8 @@ @summary sokoban-style sprite pushing @license MIT @author jan0sc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/replace-drawing.txt b/src/hacks/replace-drawing.txt index 2ddc4ffa..cde7bbea 100644 --- a/src/hacks/replace-drawing.txt +++ b/src/hacks/replace-drawing.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/save.txt b/src/hacks/save.txt index 8406f4a8..c1d2201e 100644 --- a/src/hacks/save.txt +++ b/src/hacks/save.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ diff --git a/src/hacks/solid-items.txt b/src/hacks/solid-items.txt index 90fc1cc8..bb76d36d 100644 --- a/src/hacks/solid-items.txt +++ b/src/hacks/solid-items.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/stopwatch.txt b/src/hacks/stopwatch.txt index 01f3d823..d5cfbf47 100644 --- a/src/hacks/stopwatch.txt +++ b/src/hacks/stopwatch.txt @@ -4,8 +4,8 @@ @summary time player actions @license MIT @author Lenny Magner -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 */ @@ -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/src/hacks/text-to-speech.txt b/src/hacks/text-to-speech.txt index eee76c66..cd6158e3 100644 --- a/src/hacks/text-to-speech.txt +++ b/src/hacks/text-to-speech.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/tracery-processing.txt b/src/hacks/tracery-processing.txt index 6e6a35f7..1e680038 100644 --- a/src/hacks/tracery-processing.txt +++ b/src/hacks/tracery-processing.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/transitions.txt b/src/hacks/transitions.txt index a84eeb27..0ff03b9e 100644 --- a/src/hacks/transitions.txt +++ b/src/hacks/transitions.txt @@ -4,8 +4,8 @@ @summary customizable WebGL transitions @license MIT @author Sean S. LeBlanc -@version 21.0.3 -@requires Bitsy 8.1 +@version 21.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 @description diff --git a/src/hacks/transparent-background.txt b/src/hacks/transparent-background.txt index 8f20cc18..b7a8f402 100644 --- a/src/hacks/transparent-background.txt +++ b/src/hacks/transparent-background.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ 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.2.0 +@requires Bitsy 8.4 @description diff --git a/src/hacks/transparent-dialog.txt b/src/hacks/transparent-dialog.txt index 3604af64..9e3e6822 100644 --- a/src/hacks/transparent-dialog.txt +++ b/src/hacks/transparent-dialog.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/transparent-sprites.txt b/src/hacks/transparent-sprites.txt index 7862e7e5..186b5967 100644 --- a/src/hacks/transparent-sprites.txt +++ b/src/hacks/transparent-sprites.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/twine-bitsy-comms.txt b/src/hacks/twine-bitsy-comms.txt index 4f0e8215..bdb5686d 100644 --- a/src/hacks/twine-bitsy-comms.txt +++ b/src/hacks/twine-bitsy-comms.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || { diff --git a/src/hacks/unique-items.txt b/src/hacks/unique-items.txt index 72390046..c3566997 100644 --- a/src/hacks/unique-items.txt +++ b/src/hacks/unique-items.txt @@ -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.2.0 +@requires Bitsy 8.4 @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.2.0 +@requires Bitsy 8.4 */ var kitsy = (window.kitsy = window.kitsy || {