This is good enough
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user