aboutsummaryrefslogtreecommitdiff
path: root/client/menu/credits.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/credits.gd')
-rw-r--r--client/menu/credits.gd60
1 files changed, 60 insertions, 0 deletions
diff --git a/client/menu/credits.gd b/client/menu/credits.gd
new file mode 100644
index 00000000..0ab94fd5
--- /dev/null
+++ b/client/menu/credits.gd
@@ -0,0 +1,60 @@
+# 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 Menu
+
+var contributors := ["sofviic", "metamuffin", "nokoe", "tpart"]
+var cc_0 := ["kenney.nl", "Kay Lousberg"]
+var cc_by_3 := {
+ "Glasses": "Jeremy Edelblut"
+}
+var cc_by_4 := {
+ "Universal UI/Menu Soundpack": "Ellr",
+ "Pencil, Writing, Close, A.wav": "InspectorJ",
+ "Page_Turn_24.wav": "Koops"
+}
+
+@onready var label = $MarginContainer/Panel/MarginContainer/VBoxContainer/RichTextLabel
+
+func _ready():
+ super()
+ contributors.shuffle()
+ label.text = "[center][b]"
+ label.text += tr("undercooked - a game about cooking")
+ label.text += "[/b]\n\n"
+ label.text += tr("developed by")
+ label.text += "\n\n[b]"
+ label.text += ", ".join(contributors)
+ label.text += "[/b]\n\n"
+
+ for k in cc_by_3.keys():
+ var v = cc_by_3[k]
+ label.text += "[b]\"%s\" by %s[/b]\n" % [k, v]
+ label.text += tr("Licensed under Creative Commons: By Attribution 3.0 License")
+ label.text += "\nhttps://creativecommons.org/licenses/by/3.0/\n\n"
+
+ for k in cc_by_4.keys():
+ var v = cc_by_4[k]
+ label.text += "[b]\"%s\" by %s[/b]\n" % [k, v]
+ label.text += tr("Licensed under Creative Commons: By Attribution 4.0 License")
+ label.text += "\nhttps://creativecommons.org/licenses/by/4.0/\n\n"
+
+ label.text += "[b]"
+ label.text += tr("Additional CC0 assets by:")
+ label.text += "[/b]\n"
+ label.text += "\n".join(cc_0)
+
+func _on_back_pressed():
+ exit()