@adatechnology/game-urban 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -238,7 +238,7 @@ the road, z along the line) with every fixing point read from its `slots`, the s
238
238
  - **A crater over them** (`breachOf(pieces, { x, z, radius, depth })`): the bowl is a paraboloid; a pipe whose top the bowl gets down to is
239
239
  `reached`, one whose centre line it gets to is `severed` and says what leaks (`sewage`, `stormwater`, `water`); the covers inside the bowl are
240
240
  listed to be thrown. Pure: the same answer for the same bowl.
241
- - **What a break lets out and cuts** (`leaksOf`, `waterOutageOf`, `drainLeak`): a severed pipe is a `NetworkLeak` of its content at the break: water under pressure (6 l/s a main, 0.8 a service), sewage a slow run (0.5, 0.15), stormwater only when `isRaining`; each is finite (`rate` times `seconds` of `DEFAULT_LEAK_RULES`, patchable) and `drainLeak(startLeak(leak), dt)` gives what a step lets out until nothing is left. `waterOutageOf(networks, { before, after })` is the water a break cuts: the nodes the reservoir no longer reaches and the lots among them (a tree loses all downstream of the break), only what is new since `before`.
241
+ - **What a break lets out and cuts** (`leaksOf`, `waterOutageOf`, `drainLeak`): a severed pipe is a `NetworkLeak` of its content at the break: water under pressure (6 l/s a main, 0.8 a service), sewage a slow run (0.5, 0.15), stormwater only when `isRaining`; each is finite (`rate` times `seconds` of `DEFAULT_LEAK_RULES`, patchable) and `drainLeak(startLeak(leak), dt)` gives what a step lets out until nothing is left. `waterOutageOf(networks, { before, after })` is the water a break cuts: the nodes the reservoir no longer reaches and the lots among them (a tree loses all downstream of the break), only what is new since `before`. `leakOfPipe(pipe, reached, options)` is the same rule for one `PipePiece` of any owner: the houses' own buried pipes (`createHouseBuriedPipes` of `game-floorplan-three`) leak with it.
242
242
  - **The hole and the cover** (`openingOf`, `coverBodyOf`): a cover thrown off leaves the square of its shaft dug to the shaft's floor (a `GroundExcavation` for `Terrain.open`), and is itself a plate of its material (cast iron) as a `DestructibleSpec`, with its mass, for the host to hand to the destruction world as a loose piece.
243
243
  - Limits: straight streets along x or z only (another stretch throws); the ground defaults to flat (`groundAt` for terrain). The pole tree
244
244
  and the line trees are plain Dijkstra (tens of nodes a system); the nearest pole and the crossings are found by 20-40 m cells.