Recipe viewer for fishing

This commit is contained in:
2026-10-11 22:58:28 -03:00
parent 3c80938e91
commit 935c0df7af
7 changed files with 113 additions and 5 deletions
+3
View File
@@ -38,6 +38,9 @@ export interface ClientContext {
name(id: Id): string;
// the mod that registered it
mod(id: Id): string;
// the components its json lists and their params, a copy, like the server's ctx.items.components. for showing
// what a component means, like when a fish can be caught
components(id: Id): Record<Id, unknown>;
};
// every recipe as its json (see docs/modding/resources/recipes.md), including mods' own types, in load order. copies
recipes: {