Every recipe type registered from shared scripts

This commit is contained in:
2026-11-03 15:34:41 -03:00
committed by paula
parent 65113862f7
commit b329a61d96
25 changed files with 334 additions and 371 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ export function client_of(game: GameServer, area: Area) {
},
items: shared_items_api("bworld"),
// only its blocks are looked at here
fluids: { register() {} },
fluids: { exists: () => false, same: () => false, register() {} },
recipes: { register() {}, list: () => [], register_type() {}, find: () => undefined, all: () => [] },
world,
components: { register_block: (id, block_rules) => rules.register("bworld", id, block_rules) },