Changes

Jump to navigation Jump to search

Water

2,752 bytes added, 04:06, 23 January 2019
m
info on diff types of water
'''Water''' is found on [[Basic Knowledge|Wurm]]'s coasts, lakes, and wherever the [[terrain]] drops lower than the constant level of Wurm's water table.
 
 
==Types==
 
All water tiles are categorized into 6 groups:
#Sea - open water
#Sea shallows - open water shallower than 25
#Lake - enclosed water, larger than a pond
#Lake shallows - enclosed water shallower than 25
#Pond - enclosed water, not big enough to be a lake
#Water - not big enough to be a pond
*any water tiles underground uses Lake or Pond (or Water)
 
 
Lake water is considered fresh, while sea water is considered brackish. Brackish water can be drunk and used for cooking as usual (with no ill effect), and can be boiled to make salt - 1 salt per kilogram of brackish water.
 
All surface tiles with a corner underwater (i.e. below the water table height) are marked as WATER. There is then a fill process, starting at the map borders, marking any connected WATER tiles as SEA; shallow connected tiles (i.e. less than 25 deep) are marked as SEA_SHALLOWS. Note that a SEA_SHALLOWS tile does not count as a connected tile for the purpose of converting WATER to SEA.
 
Once all tiles connected to the borders have been handled, any bodies of WATER that contiguously cover at least LAKE_RADIUS tiles in a row (N-S and E-W) are converted to LAKE tiles. Additional WATER tiles next to LAKE tiles are also converted to LAKE (i.e. the LAKE fills adjacent WATER tiles). Any LAKE tiles that are less than 25 deep are marked as LAKE_SHALLOWS, and any SEA_SHALLOWS tiles that are closer to a LAKE tile than a SEA tile are converted to LAKE_SHALLOWS.
 
For any remaining bodies of WATER tiles, if the body is a contiguous body of POND_RADIUS in a row (N-S and E-W), the tiles are converted to POND, along with any adjacent WATER tiles (i.e. the POND fills its connected tiles). Note that POND_RADIUS is intended to be smaller than LAKE_RADIUS, so a POND is a body of WATER that’s too small to be a LAKE (but still large enough to be a POND).
 
Any tiles in caves (i.e. underground) with a corner under water is then marked as WATER. Large contiguous bodies of underground WATER are then marked as LAKE or POND, depending on size, in the same way as above-ground LAKE and POND tiles.
 
At the end of this process, there may still be some WATER tiles - these will be bodies of water too small to be PONDs. Tiles are recalculated at server start.
 
Notes:
Inland body of water surrounded by shallows = LAKE (assuming it’s large enough, POND if it’s too small)
Inland LAKE connected to SEA by at least 25 depth canal = SEA
Inland LAKE connected to SEA by less than 25 depth canal = LAKE
Any tile with water, less than 25 depth = SHALLOW (sea or lake depending on closest water tile)
LAKE = 7 radius (N-S, E-W), POND = 2 radius (N-S, E-W)
All water in caves is automatically fresh
Single tile over 25 deep = WATER, probably won’t get fish in it
 
== Usage ==
editor
2,333

edits

Navigation menu