# Hurry Curry! - a game about cooking # Copyright 2024 metamuffin # Copyright 2024 nokoe # Copyright 2024 BigBrotherNii # # 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 . # extends Menu const SPACER: String = "\n\n\n" var contributors := ["sofviic", "metamuffin", "nokoe", "tpart", "BigBrotherNii"] var cc_by_3 := { "Game_over.wav": "deleted_user_877451" } var cc_by_4 := { "Footstep sounds": "Dryoma", "Page_Turn_24.wav": "Koops", "Pencil, Writing, Close, A.wav": "InspectorJ", "Super Dialogue Audio Pack": "Dillon Becker", "Universal UI/Menu Soundpack": "Ellr", "Woosh Fleuret Escrime B.wav": "toyoto", } var cc_by_0 := ["kenney.nl","Kay Lousberg","Quaternius"] var links := { "Creative Commons: By Attribution\n3.0 License":"https://creativecommons.org/licenses/by/3.0", "Creative Commons: By Attribution\n4.0 License":"https://creativecommons.org/licenses/by/4.0", "Weblate":"https://translate.codeberg.org/projects/hurrycurry/", } var thx: String = "[b]"+tr("Thank You For Playing")+"[/b]" @onready var label = $MarginContainer/Panel/MarginContainer/VBoxContainer/RichTextLabel func _ready(): super() contributors.shuffle() var cont: String cont += "\n".join(contributors) var title_and_contribors: String = "[center][b]%s[/b]\n\n%s\n\n[b]%s[/b]\n" % [ tr("Hurry Curry! - a game about cooking"), tr("developed by"), cont ] label.text += title_and_contribors + SPACER var cc_3 : String = "[b]"+tr("Licensed under Creative Commons: By Attribution 3.0 License")+"[/b]\n\n[table=3]" for i in cc_by_3.keys(): cc_3 += "[cell]"+i+"[/cell][cell]"+tr("by")+"[/cell][cell]"+cc_by_3[i]+"[/cell]" cc_3 += "[/table]" label.text += cc_3 + SPACER var cc_4 : String = "[b]"+tr("Licensed under Creative Commons: By Attribution 4.0 License")+"[/b]\n\n[table=3]" for i in cc_by_4.keys(): cc_4 += "[cell]"+i+"[/cell][cell]"+tr("by")+"[/cell][cell]"+cc_by_4[i]+"[/cell]" cc_4 += "[/table]" label.text += cc_4 + SPACER var cc_0: String = "[b]"+tr("Additional CC0 assets by")+"[/b]\n\n" cc_0 += "\n".join(cc_by_0) label.text += cc_0 + SPACER var special: String = "[b]"+tr("Support for Translations by")+"[/b]\n\nOur supporters on Weblate" label.text += special + SPACER var info: String = "[b]"+tr("For further information on")+"[/b]\n\n[table=3]" for i in links.keys(): info += "[cell]"+i+"[/cell][cell]"+tr("visit")+"[/cell][cell]"+links[i]+"[/cell]" info += "[/table]" label.text += info + SPACER label.text += SPACER + thx + SPACER + SPACER + SPACER func _on_back_pressed(): exit()