# 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 var contributors := ["sofviic", "metamuffin", "nokoe", "tpart", "BigBrotherNii"] const cc_by_4 := "CC-BY 4.0" const cc_by_3 := "CC-BY 3.0" const cc0 := "CC0" var credits := [ [tr("Models"), [ ["kenney.nl", "Various Models", cc0], ["Kay Lousberg", "Kitchen tiles", cc0], ["Poly by Google", "Strawberry", cc_by_3], ["Poly by Google", "Fish", cc_by_3] ]], [tr("Sounds"), [ ["Dryoma", "Footstep sounds", cc_by_4], ["Koops", "Page_Turn_24.wav", cc_by_4], ["InspectorJ", "Pencil, Writing, Close, A.wav", cc_by_4], ["Dillon Becker", "Super Dialogue Audio Pack", cc_by_4], ["Ellr", "Universal UI/Menu Soundpack", cc_by_4], ["toyoto", "Woosh Fleuret Escrime B.wav", cc_by_4], ["deleted_user_877451", "Game_over.wav", cc_by_3], ["Quaternius", "Someting, dont remember...", cc0], ]], ] @onready var label = $OuterMargin/Panel/InnerMargin/Vert/ScrollContainer/CreditsText func _ready(): super() contributors.shuffle() var text = "[center]" text += "\n\n\n[b]%s[/b]\n\n%s\n\n[b]%s[/b]\n\n\n" % [ tr("Hurry Curry! - a game about cooking"), tr("developed by"), "\n".join(contributors) ] for section in credits: text += "[b]%s[/b]\n\n[table=3]" % section[0] for entry in section[1]: text += "[cell][right]%s[/right][/cell]" % entry[0] text += "[cell][left]%s[/left][/cell]" % entry[1] text += "[cell][left]%s[/left][/cell]" % entry[2] text += "[/table]\n\n\n" text += "\n[b]%s[/b]\n\n\n[/center]" % tr("Thank You For Playing") label.text = text func _on_back_pressed(): exit()