diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-07-01 20:02:50 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-07-01 20:02:50 +0200 |
| commit | dbd0b769af6267426496b18bd788b8a68165c667 (patch) | |
| tree | 59dc08576efd7ff9812e53606095b93c79a9aafd /client/player | |
| parent | 76cadb3d882851f7de1aa4b0aac03ace08d06df2 (diff) | |
| parent | 90ea661221ebf29c26bc44308d31fcf04f79ca2c (diff) | |
| download | hurrycurry-dbd0b769af6267426496b18bd788b8a68165c667.tar hurrycurry-dbd0b769af6267426496b18bd788b8a68165c667.tar.bz2 hurrycurry-dbd0b769af6267426496b18bd788b8a68165c667.tar.zst | |
Merge branch 'master' of https://codeberg.org/metamuffin/undercooked
Diffstat (limited to 'client/player')
| -rw-r--r-- | client/player/effect.gd | 17 |
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() |