Skip to content

Drag'n Wash ModFramework 1.4.2

Choose a tag to compare

@github-actions github-actions released this 20 Sep 12:49
· 211 commits to main since this release

Drag'n Wash ModFramework 1.4.2

Which mod has which key. A small one, on top of 1.4.1 from earlier today; additive, as before.

Plugin Version
Drag'n Wash ModFramework (core) 1.4.2 ModFramework.WhoElseUses
Preloader patcher 1.4.2 No change; follows the core
Graphs 0.1.1 A graph says who else answers its key
Everything else unchanged Same as 1.4.1

Two mods, one key

Every BepInEx plugin keeps its keyboard shortcuts in its own settings, and nobody asks anybody else. So two mods can sit on one key, each answer it, and neither of them know — which is the kind of thing a person spends an evening on before working out what is going on.

The framework can see all of them, so now it says so. A graph that answers key.pressed names the others:

F6 is also Drag'n Wash Localization: [Debug] DumpDialogueKey; both answer it.

It appears in the log, in the console's graphs, on the mod's Graphs page (Key shared) and in what the editor's page reads. It is worked out again at every reload, so it follows a key you change in the settings.

Nothing is refused. A player may well want one key to do two things, and only they can say; the framework's own F1 is still the one exception, because the window has to be reachable.

Found while setting up a demo: the two keys that were being used for it, F6 and F7, turned out to be Drag'n Wash Localization's dump keys — and nothing said so.

Who needs this

Anyone writing graphs. If you use Drag'n Wash Localization, keep the framework that came with its v1.4.0; nothing here changes how that mod behaves. For playing, none of this is needed.

The full list of changes is in CHANGELOG.md. The artwork in the zip is not under the code's licence; CREDITS.txt says whose it is.


日本語

どの Mod がどのキーを使っているかを、言うようになりました。今日の1.4.1に続く小さな更新で、変更はすべて追加です。

プラグイン バージョン
Drag'n Wash ModFramework(中核) 1.4.2 ModFramework.WhoElseUses
プリローダーのパッチャー 1.4.2 変更なし。中核に合わせる
Graphs 0.1.1 同じキーを使う Mod の名前を出します
そのほか 変更なし 1.4.1 と同じ

2 つの Mod が、同じキーを使っていたら

BepInEx の Mod は、ショートカットキーをそれぞれ自分の設定に持っていて、互いに聞き合うことはありません。ですから、2 つの Mod が同じキーに乗っていて、両方が反応していて、どちらもそれを知らない、ということが起こります。原因にたどり着くまでに一晩かかるたぐいの話です。

フレームワークからは全部見えるので、言うようにしました。key.pressed に答えるグラフは、同じキーを使っているほかの Mod の名前を出します。

F6 is also Drag'n Wash Localization: [Debug] DumpDialogueKey; both answer it.

出る場所は、ログ、Console の graphs、その Mod の Graphs ページ(Key shared)、そしてエディターのページです。読み込み直すたびに調べ直すので、設定でキーを変えれば表示も追いかけます。

拒否はしません。 1 つのキーに 2 つの仕事をさせたい人もいますし、それを決められるのは遊ぶ人だけだからです。フレームワーク自身の F1 だけは今までどおり使えません(窓が開けなくなるので)。

きっかけは、デモの準備でした。使おうとしていた F6 と F7 が、実は Drag'n Wash Localization のダンプ用のキーで、しかもそれを教えてくれるものが無かった、というだけの話です。

アップデートが必要な人

グラフを書く人です。Drag'n Wash Localization を使っている人は、その v1.4.0 に同梱されているものをそのままお使いください。今回の変更で、あの Mod の動きは変わりません。遊ぶだけなら、ここにあるものは何も要りません。

変更の全部の一覧は CHANGELOG.md にあります。zip に入っている絵はコードのライセンスとは別のもので、誰のものかは CREDITS.txt に書いてあります。