Sounds on shared and server

This commit is contained in:
2026-11-22 07:44:13 -03:00
parent 47934b272c
commit 8e587f6446
16 changed files with 386 additions and 30 deletions
+2
View File
@@ -241,6 +241,8 @@ export async function load_client_mods(listings: ModListing[], mods: Mod[]) {
fluid_rules,
recipes: () => recipe_book,
running: () => rules_setup,
// rules only run here to guess what the player's own actions do, so this is the sound their action makes
play_sound: (sound, x, y, z, options) => sounds.play(sound, { ...options, at: { x, y, z } }),
}));
rules_setup = false;
check_recipe_types(recipe_book);