summaryrefslogtreecommitdiff
path: root/client/menu/credits_menu.gd
blob: e3ea4c51f6d7e3517c0193bf5dd6dfa8fa8b3d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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

var contributors := ["sofviic", "metamuffin", "nokoe", "tpart"]
var cc_0 := ["kenney.nl", "Kay Lousberg"]
var cc_by_3 := {
	"Glasses": "Jeremy Edelblut"
}

@onready var label = $Panel/MarginContainer/VBoxContainer/RichTextLabel

func _ready():
	contributors.shuffle()
	label.text = "[center][b]undercooked - a game about cooking[/b]\n\ndeveloped by\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\" %s[/b]\nLicensed under Creative Commons: By Attribution 3.0 License\nhttps://creativecommons.org/licenses/by/3.0/\n\n" % [k, v]
	
	label.text += "[b]Additional CC0 assets by:[/b]\n" + "\n".join(cc_0)
	
func _on_back_pressed():
	$SceneTransition.transition_to("res://menu/main_menu.tscn")