Log inGet started
Package

flood.module

This package holds more than this page lists. See all of its files in its world.

README.md

lowWater.core.flood

Low Water's adapter onto floodKit (require("floodKit.api")): rising and draining water on Tidewater volumes, keyed by the names in lowWater.layout's water table. Owned by the plan agent.

  • to(keyOrName, level, seconds?, style?): a numeric level is a WORLD height in metres (floodKit's own levels are metres above the volume's floor, the water entity; this converts and keeps standing water from dropping under its floor); "high" / "low" pass through.
  • refillReservoir(seconds, style?): the finale, the reservoir from drained to full supply level.
  • level, surfaceY, onReached, depthAt, available.
  • The volumes themselves are made where each water is spawned (lowWater.interior.parts water, lowWater.exterior.lights water): a water whose lowWater.layout entry has a flood table is a synced entity carrying a floodKit.FloodVolume over its Tidewater WaterBody (Water_Gallery1, Water_Gallery3, Water_Spillway, Water_Reservoir).