aboutsummaryrefslogtreecommitdiff
path: root/client/player
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-07-01 19:36:16 +0200
committernokoe <nokoe@mailbox.org>2024-07-01 19:36:16 +0200
commit9a3a48e429c6aafd3fc469396d12548998e695aa (patch)
tree93853b1ec506b730b27f4c505ac4a8f71865dba1 /client/player
parent29a2d1f64beed7eb527de4d8a1725725cdd19fba (diff)
downloadhurrycurry-9a3a48e429c6aafd3fc469396d12548998e695aa.tar
hurrycurry-9a3a48e429c6aafd3fc469396d12548998e695aa.tar.bz2
hurrycurry-9a3a48e429c6aafd3fc469396d12548998e695aa.tar.zst
failure sound
Diffstat (limited to 'client/player')
-rw-r--r--client/player/effect.gd17
1 files changed, 11 insertions, 6 deletions
diff --git a/client/player/effect.gd b/client/player/effect.gd
index 8371d99d..fedf548f 100644
--- a/client/player/effect.gd
+++ b/client/player/effect.gd
@@ -1,18 +1,19 @@
# Undercooked - a game about cooking
-# Copyright 2024 nokoe, tpart
-#
+# Copyright 2024 nokoe
+# Copyright 2024 tpart
+#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, version 3 of the License only.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
-#
+#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-#
+#
class_name Effect
extends Node3D
@@ -37,4 +38,8 @@ func set_effect(e: String):
push_warning("effect %s unknown" % e)
func clear_effect():
- $Stars.emitting = false
+ stars.emitting = false
+ success.stop()
+ angry.emitting = false
+ angry_grunt.stop_all()
+ failure.stop()