# ExtractLiquid

Landscape
Material
5.1 OC
int
int x X position at which material is extracted. Offset in local calls.
int y Y position at which material is extracted. Offset in local calls.
Sucks up one pixel of liquid at the specified position. Return value is the material number of the material actually extracted, or -1 if no liquid was there.
var mat=ExtractLiquid(); if (mat!=-1) InsertMaterial(mat,0,-100)
Sucks up one pixel of liquid and reinserts it 100 pixel further above.
ExtractMaterialAmount
InsertMaterial
GBackLiquid
Sven2
2001-11