Smithing table

This commit is contained in:
2026-09-25 23:48:29 -03:00
parent 9237152aa1
commit 8f32a59bd6
15 changed files with 279 additions and 13 deletions
+2
View File
@@ -12,6 +12,8 @@ export interface OpenScreen {
properties: Record<string, number>;
// what can go into each slot, checked when the player clicks
filters: Map<number, (item: ItemStack) => boolean>;
// asked before a player takes from an output slot
on_take: Map<number, (item: ItemStack) => boolean>;
on_close: (() => void)[];
}