about summary refs log tree commit diff stats
path: root/Archipelago/settings_menu.gd
blob: 0efce4017bf680c557371a6de1c1fd90235a8a0d (plain) (blame)
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
extends "res://scripts/settings_menu.gd"


func _ready():
	var level_tab = get_node("Panel/Tabs/Level")
	level_tab.get_node("ScrollContainer").queue_free()
	level_tab.get_node("upload_button").queue_free()

	var new_label = Label.new()
	new_label.text = "You must restart Lingo before playing a non-Archipelago game."
	new_label.align = Label.ALIGN_CENTER
	new_label.valign = Label.VALIGN_CENTER
	new_label.autowrap = true
	new_label.margin_left = 25
	new_label.margin_top = 25
	new_label.margin_right = 1250
	new_label.margin_bottom = 492

	var field_font = DynamicFont.new()
	field_font.font_data = load("res://fonts/Lingo2.ttf")
	field_font.size = 48

	new_label.add_font_override("font", field_font)

	level_tab.add_child(new_label)