aboutsummaryrefslogtreecommitdiff
path: root/client/map/environment.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-07-27 14:15:51 +0200
committertpart <tpart120@proton.me>2024-07-27 14:15:55 +0200
commit3a5e8ad83abe6b7daf8e6168a72c143d96538497 (patch)
treee4951ce1b3bd8dc368b80aaf390fe61b37af9e90 /client/map/environment.gd
parentee7f28b87db60506278f7ae6ce61253062852713 (diff)
downloadhurrycurry-3a5e8ad83abe6b7daf8e6168a72c143d96538497.tar
hurrycurry-3a5e8ad83abe6b7daf8e6168a72c143d96538497.tar.bz2
hurrycurry-3a5e8ad83abe6b7daf8e6168a72c143d96538497.tar.zst
Add night sky support; Refactor environment system
Diffstat (limited to 'client/map/environment.gd')
-rw-r--r--client/map/environment.gd15
1 files changed, 0 insertions, 15 deletions
diff --git a/client/map/environment.gd b/client/map/environment.gd
deleted file mode 100644
index 5fcfc53d..00000000
--- a/client/map/environment.gd
+++ /dev/null
@@ -1,15 +0,0 @@
-extends Node3D
-
-func update(active: Array):
- if active.has("night"):
- pass
-
- $Wind.emitting = active.has("wind")
- var a: ParticleProcessMaterial = $Wind.process_material
- # TODO ramp
- a.initial_velocity_max = 15. if active.has("wind") else 0.
- a.initial_velocity_min = 15. if active.has("wind") else 0.
-
- # TODO ramp
- $Rain.emitting = active.has("rain")
- $Rain.amount = 500 if active.has("rain") else 0