summaryrefslogtreecommitdiff
path: root/liquidSurface.lua
diff options
context:
space:
mode:
authorcursed22bc <admin@pixeldawn.org>2026-03-10 00:46:21 +0200
committercursed22bc <admin@pixeldawn.org>2026-03-10 00:46:21 +0200
commitced650f59454d1d69a0a9cc0979e1925bd806021 (patch)
treef51cc8a4dae8e37f691236d91db2ac06a5eb75b2 /liquidSurface.lua
parentd22630eab00d5be971f8e8f4255fb7d50c15ffbf (diff)
water hacks
Diffstat (limited to 'liquidSurface.lua')
-rw-r--r--liquidSurface.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/liquidSurface.lua b/liquidSurface.lua
index da79d44..9d70516 100644
--- a/liquidSurface.lua
+++ b/liquidSurface.lua
@@ -50,12 +50,12 @@ function LiquidSurface:new(source)
self.liquidType = properties.liquid_type or "water"
self.color = DEFAULT_COLORS[self.liquidType] or DEFAULT_COLORS.water
- self.tension = toNumber(properties.tension, 0.015)
- self.dampening = toNumber(properties.dampening, 0.001)
- self.spread = toNumber(properties.spread, 0.1)
- self.propagationPasses = math.max(1, math.floor(toNumber(properties.passes, 8)))
- self.maxSpeed = toNumber(properties.max_speed, 8)
- self.maxWaveAmplitude = toNumber(properties.max_wave_amplitude, self.height * 0.4)
+ self.tension = 0.0002
+ self.dampening = 0.000005
+ self.spread = 0.05
+ self.propagationPasses = 8
+ self.maxSpeed = 20
+ self.maxWaveAmplitude = 1000
self.columnsLength = math.max(2, math.floor(self.width))
self.columns = {}