Fluid containers
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
// the fluids' rules from the mods' shared scripts on this client, the same as the server's (see common/fluids.ts), for
|
||||
// drawing fluids and naming them in tooltips. its own module so those don't import client/mods.ts, which loads the mods
|
||||
// and makes it again for each server's
|
||||
import { FluidRules } from "$/common/fluids.ts";
|
||||
|
||||
export let fluid_rules = new FluidRules(() => undefined);
|
||||
|
||||
export function set_fluid_rules(rules: FluidRules) {
|
||||
fluid_rules = rules;
|
||||
}
|
||||
Reference in New Issue
Block a user