aboutsummaryrefslogtreecommitdiff
path: root/client/map/environment.gd
diff options
context:
space:
mode:
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