This is good enough

This commit is contained in:
2026-10-02 22:38:39 -03:00
parent 4fb392adae
commit 50d47cedef
4 changed files with 35 additions and 6 deletions
+6
View File
@@ -66,6 +66,12 @@ class RecipeViewer {
if (this.#view && g.key_pressed("Backspace")) this.#back();
}
// the recipes are drawn where the screen was, so its slots, and the panels mods add around it like curios', don't
// show beside them
hides_screen() {
return this.#view !== undefined;
}
// the recipe views go with the inventory, it opens again on the item list
on_close() {
this.#view = undefined;