aboutsummaryrefslogtreecommitdiff
path: root/client/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'client/scripts')
-rw-r--r--client/scripts/character.gd15
-rw-r--r--client/scripts/controllable_player.gd16
-rw-r--r--client/scripts/credits_menu.gd19
-rw-r--r--client/scripts/follow_camera.gd16
-rw-r--r--client/scripts/game.gd16
-rw-r--r--client/scripts/item.gd15
-rw-r--r--client/scripts/main_menu.gd16
-rw-r--r--client/scripts/map.gd21
-rw-r--r--client/scripts/marker.gd15
-rw-r--r--client/scripts/menu_background.gd35
-rw-r--r--client/scripts/mirror.gd15
-rw-r--r--client/scripts/multiplayer.gd17
-rw-r--r--client/scripts/player.gd17
-rw-r--r--client/scripts/progress.gd15
-rw-r--r--client/scripts/scene_transition.gd28
-rw-r--r--client/scripts/socket_test.gd22
-rw-r--r--client/scripts/tiles/chair.gd15
-rw-r--r--client/scripts/tiles/counter.gd15
-rw-r--r--client/scripts/tiles/counter_base.gd15
-rw-r--r--client/scripts/tiles/crate.gd15
-rw-r--r--client/scripts/tiles/cutting_board.gd15
-rw-r--r--client/scripts/tiles/door.gd15
-rw-r--r--client/scripts/tiles/floor.gd15
-rw-r--r--client/scripts/tiles/flour_counter.gd15
-rw-r--r--client/scripts/tiles/full_tile.gd15
-rw-r--r--client/scripts/tiles/generic_tile.gd15
-rw-r--r--client/scripts/tiles/oven.gd15
-rw-r--r--client/scripts/tiles/raw_steak_crate.gd15
-rw-r--r--client/scripts/tiles/sink.gd15
-rw-r--r--client/scripts/tiles/stove.gd15
-rw-r--r--client/scripts/tiles/table.gd15
-rw-r--r--client/scripts/tiles/tomato_crate.gd15
-rw-r--r--client/scripts/tiles/trash.gd15
-rw-r--r--client/scripts/tiles/wall.gd15
-rw-r--r--client/scripts/tiles/wall_tile.gd15
-rw-r--r--client/scripts/tiles/window.gd15
36 files changed, 598 insertions, 0 deletions
diff --git a/client/scripts/character.gd b/client/scripts/character.gd
index 0340595a..847bd7b6 100644
--- a/client/scripts/character.gd
+++ b/client/scripts/character.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# 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/>.
+#
extends Node3D
class_name Character
diff --git a/client/scripts/controllable_player.gd b/client/scripts/controllable_player.gd
index 91b786c5..4c157349 100644
--- a/client/scripts/controllable_player.gd
+++ b/client/scripts/controllable_player.gd
@@ -1,3 +1,19 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+# Copyright 2024 metamuffin
+#
+# 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 ControllablePlayer
extends Player
diff --git a/client/scripts/credits_menu.gd b/client/scripts/credits_menu.gd
new file mode 100644
index 00000000..a48d5461
--- /dev/null
+++ b/client/scripts/credits_menu.gd
@@ -0,0 +1,19 @@
+# Undercooked - a game about cooking
+# Copyright 2024 metamuffin
+#
+# 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/>.
+#
+extends Control
+
+func _on_back_pressed():
+ $SceneTransition.transition_to("res://scenes/main_menu.tscn")
diff --git a/client/scripts/follow_camera.gd b/client/scripts/follow_camera.gd
index 8c14c72a..74355688 100644
--- a/client/scripts/follow_camera.gd
+++ b/client/scripts/follow_camera.gd
@@ -1,3 +1,19 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+# Copyright 2024 metamuffin
+#
+# 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 FollowCamera
extends Camera3D
diff --git a/client/scripts/game.gd b/client/scripts/game.gd
index ff90065e..eb338eaa 100644
--- a/client/scripts/game.gd
+++ b/client/scripts/game.gd
@@ -1,3 +1,19 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+# Copyright 2024 metamuffin
+#
+# 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 Game
extends Node3D
diff --git a/client/scripts/item.gd b/client/scripts/item.gd
index 91ee012f..74e08c48 100644
--- a/client/scripts/item.gd
+++ b/client/scripts/item.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Item
extends Node3D
diff --git a/client/scripts/main_menu.gd b/client/scripts/main_menu.gd
index aadd8441..df09cf7f 100644
--- a/client/scripts/main_menu.gd
+++ b/client/scripts/main_menu.gd
@@ -1,3 +1,19 @@
+# Undercooked - a game about cooking
+# Copyright 2024 metamuffin
+# 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/>.
+#
extends Control
@onready var quick_connect = $side/margin/options/quick_connect
diff --git a/client/scripts/map.gd b/client/scripts/map.gd
index bceccd8f..abbd4c92 100644
--- a/client/scripts/map.gd
+++ b/client/scripts/map.gd
@@ -1,3 +1,24 @@
+<<<<<<< HEAD
+=======
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+# Copyright 2024 tpart
+# Copyright 2024 metamuffin
+#
+# 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/>.
+#
+@tool
+>>>>>>> c974879 ([skip-notice] Insert license notice EVERYWHERE!!)
class_name Map
extends Node3D
diff --git a/client/scripts/marker.gd b/client/scripts/marker.gd
index 0127cd5b..6e3e6ffa 100644
--- a/client/scripts/marker.gd
+++ b/client/scripts/marker.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Marker
extends Node3D
diff --git a/client/scripts/menu_background.gd b/client/scripts/menu_background.gd
new file mode 100644
index 00000000..e5b8ac31
--- /dev/null
+++ b/client/scripts/menu_background.gd
@@ -0,0 +1,35 @@
+# Undercooked - a game about cooking
+# Copyright 2024 metamuffin
+# 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/>.
+#
+@tool
+extends Node3D
+
+@onready var map = $map
+@onready var voxel_gi: VoxelGI = $VoxelGI
+
+const NULLS = [null,null,null,null]
+const BUCKETS = [[], ["floor","floor","floor","floor","tomato-crate", "raw-steak-crate"], ["table", "chair", "counter"], ["sink", "stove"]]
+
+func _ready():
+ for x in range(-10,11):
+ for y in range(-10,11):
+ var w = exp(-sqrt(x*x+y*y) * 0.15)
+ var k = randf() * w
+ var bucket = BUCKETS[int(floor(k * BUCKETS.size())) % BUCKETS.size()]
+ if bucket.size() == 0: continue
+ var tile = bucket[randi() % bucket.size()]
+ map.update([x,y], tile, NULLS)
+ voxel_gi.bake()
diff --git a/client/scripts/mirror.gd b/client/scripts/mirror.gd
index a5cb9c59..ccec0e65 100644
--- a/client/scripts/mirror.gd
+++ b/client/scripts/mirror.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# 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/>.
+#
@tool
# Hand mirror helper script, useful for animating characters
diff --git a/client/scripts/multiplayer.gd b/client/scripts/multiplayer.gd
index 1645ab45..534ef663 100644
--- a/client/scripts/multiplayer.gd
+++ b/client/scripts/multiplayer.gd
@@ -1,3 +1,20 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+# Copyright 2024 metamuffin
+# 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/>.
+#
extends Node
signal init(player_id: int)
diff --git a/client/scripts/player.gd b/client/scripts/player.gd
index 796a1480..423855e9 100644
--- a/client/scripts/player.gd
+++ b/client/scripts/player.gd
@@ -1,3 +1,20 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+# Copyright 2024 metamuffin
+# 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 Player
extends Node3D
diff --git a/client/scripts/progress.gd b/client/scripts/progress.gd
index 22a2392f..4d6494f6 100644
--- a/client/scripts/progress.gd
+++ b/client/scripts/progress.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 ProgressBar3D
extends MeshInstance3D
diff --git a/client/scripts/scene_transition.gd b/client/scripts/scene_transition.gd
new file mode 100644
index 00000000..b5c89579
--- /dev/null
+++ b/client/scripts/scene_transition.gd
@@ -0,0 +1,28 @@
+# Undercooked - a game about cooking
+# Copyright 2024 metamuffin
+#
+# 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 SceneTransition
+extends ColorRect
+
+
+@onready var anim = $animation
+
+func _ready():
+ anim.play("fade_in")
+
+func transition_to(path: String):
+ anim.play("fade_out")
+ await anim.animation_finished
+ get_tree().change_scene_to_file(path)
diff --git a/client/scripts/socket_test.gd b/client/scripts/socket_test.gd
new file mode 100644
index 00000000..853dd981
--- /dev/null
+++ b/client/scripts/socket_test.gd
@@ -0,0 +1,22 @@
+# Undercooked - a game about cooking
+# 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/>.
+#
+extends Control
+
+@onready var address = $VBoxContainer/LineEdit
+
+func _on_button_pressed():
+ Multiplayer.connectClient(address.text)
+ get_tree().change_scene_to_file("res://scenes/game.tscn")
diff --git a/client/scripts/tiles/chair.gd b/client/scripts/tiles/chair.gd
index dd26a07a..34735fda 100644
--- a/client/scripts/tiles/chair.gd
+++ b/client/scripts/tiles/chair.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Chair
extends Floor
diff --git a/client/scripts/tiles/counter.gd b/client/scripts/tiles/counter.gd
index a10f3986..c3032e4f 100644
--- a/client/scripts/tiles/counter.gd
+++ b/client/scripts/tiles/counter.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Counter
extends FullTile
diff --git a/client/scripts/tiles/counter_base.gd b/client/scripts/tiles/counter_base.gd
index bf51513e..ebeebb3b 100644
--- a/client/scripts/tiles/counter_base.gd
+++ b/client/scripts/tiles/counter_base.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 CounterBase
extends Counter
diff --git a/client/scripts/tiles/crate.gd b/client/scripts/tiles/crate.gd
index 3fe43525..21fae60b 100644
--- a/client/scripts/tiles/crate.gd
+++ b/client/scripts/tiles/crate.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Crate
extends Counter
diff --git a/client/scripts/tiles/cutting_board.gd b/client/scripts/tiles/cutting_board.gd
index 7103cb4d..944a7a9f 100644
--- a/client/scripts/tiles/cutting_board.gd
+++ b/client/scripts/tiles/cutting_board.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 CuttingBoard
extends CounterBase
diff --git a/client/scripts/tiles/door.gd b/client/scripts/tiles/door.gd
index 7175814d..cfba08b7 100644
--- a/client/scripts/tiles/door.gd
+++ b/client/scripts/tiles/door.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Door
extends Floor
diff --git a/client/scripts/tiles/floor.gd b/client/scripts/tiles/floor.gd
index f7c39244..fec68cbd 100644
--- a/client/scripts/tiles/floor.gd
+++ b/client/scripts/tiles/floor.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Floor
extends Node3D
diff --git a/client/scripts/tiles/flour_counter.gd b/client/scripts/tiles/flour_counter.gd
index 56dad60f..4bf2b1f3 100644
--- a/client/scripts/tiles/flour_counter.gd
+++ b/client/scripts/tiles/flour_counter.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 FlourCounter
extends CounterBase
diff --git a/client/scripts/tiles/full_tile.gd b/client/scripts/tiles/full_tile.gd
index bdcca61c..2da54237 100644
--- a/client/scripts/tiles/full_tile.gd
+++ b/client/scripts/tiles/full_tile.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 FullTile
extends Floor
diff --git a/client/scripts/tiles/generic_tile.gd b/client/scripts/tiles/generic_tile.gd
index 23b86a84..f7d1b4a7 100644
--- a/client/scripts/tiles/generic_tile.gd
+++ b/client/scripts/tiles/generic_tile.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 GenericTile
extends Floor
diff --git a/client/scripts/tiles/oven.gd b/client/scripts/tiles/oven.gd
index 05909b63..88da3adb 100644
--- a/client/scripts/tiles/oven.gd
+++ b/client/scripts/tiles/oven.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Oven
extends Counter
diff --git a/client/scripts/tiles/raw_steak_crate.gd b/client/scripts/tiles/raw_steak_crate.gd
index 3a15b942..8ff93d6b 100644
--- a/client/scripts/tiles/raw_steak_crate.gd
+++ b/client/scripts/tiles/raw_steak_crate.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 RawSteakCrate
extends Crate
diff --git a/client/scripts/tiles/sink.gd b/client/scripts/tiles/sink.gd
index 3b9029b6..e4eaff60 100644
--- a/client/scripts/tiles/sink.gd
+++ b/client/scripts/tiles/sink.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Sink
extends Counter
diff --git a/client/scripts/tiles/stove.gd b/client/scripts/tiles/stove.gd
index a60209cb..93fad5a3 100644
--- a/client/scripts/tiles/stove.gd
+++ b/client/scripts/tiles/stove.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Stove
extends Counter
diff --git a/client/scripts/tiles/table.gd b/client/scripts/tiles/table.gd
index 3e621f46..533223a4 100644
--- a/client/scripts/tiles/table.gd
+++ b/client/scripts/tiles/table.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Table
extends FullTile
diff --git a/client/scripts/tiles/tomato_crate.gd b/client/scripts/tiles/tomato_crate.gd
index f19bdd08..078d0ba2 100644
--- a/client/scripts/tiles/tomato_crate.gd
+++ b/client/scripts/tiles/tomato_crate.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 TomatoCrate
extends Crate
diff --git a/client/scripts/tiles/trash.gd b/client/scripts/tiles/trash.gd
index c680e72d..fed1a502 100644
--- a/client/scripts/tiles/trash.gd
+++ b/client/scripts/tiles/trash.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Trash
extends Crate
diff --git a/client/scripts/tiles/wall.gd b/client/scripts/tiles/wall.gd
index d69d16e9..0201d4d6 100644
--- a/client/scripts/tiles/wall.gd
+++ b/client/scripts/tiles/wall.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 Wall
extends WallTile
diff --git a/client/scripts/tiles/wall_tile.gd b/client/scripts/tiles/wall_tile.gd
index e51d010d..7c9d4305 100644
--- a/client/scripts/tiles/wall_tile.gd
+++ b/client/scripts/tiles/wall_tile.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 WallTile
extends FullTile
diff --git a/client/scripts/tiles/window.gd b/client/scripts/tiles/window.gd
index 7df5e9db..b2926080 100644
--- a/client/scripts/tiles/window.gd
+++ b/client/scripts/tiles/window.gd
@@ -1,3 +1,18 @@
+# Undercooked - a game about cooking
+# Copyright 2024 nokoe
+#
+# 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 WallWindow
extends WallTile