Low Water
README.md
floodKit.api
The floodKit API: local Flood = require("floodKit.api"). Flood.to(name, level, seconds?, style?), fill, drain, toggle, stop, level, surfaceY, moving, state, list, onReached(name | "*", fn), depthAt(position), onDrowning(fn), breath() and Flood.hooks (wading slow-down and drowning settings). Calls work in edit, single player and multiplayer: a peer that does not own a volume sends the request to the one that does. Flood.useScriptedEvents(Cues) adds a flood beat to scriptedEventsKit and Flood.useSecondWind(HK) sends drowning damage through SecondWind, without floodKit depending on either.