diff options
Diffstat (limited to 'Archipelago/settings_menu.gd')
-rw-r--r-- | Archipelago/settings_menu.gd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Archipelago/settings_menu.gd b/Archipelago/settings_menu.gd new file mode 100644 index 0000000..0efce40 --- /dev/null +++ b/Archipelago/settings_menu.gd | |||
@@ -0,0 +1,25 @@ | |||
1 | extends "res://scripts/settings_menu.gd" | ||
2 | |||
3 | |||
4 | func _ready(): | ||
5 | var level_tab = get_node("Panel/Tabs/Level") | ||
6 | level_tab.get_node("ScrollContainer").queue_free() | ||
7 | level_tab.get_node("upload_button").queue_free() | ||
8 | |||
9 | var new_label = Label.new() | ||
10 | new_label.text = "You must restart Lingo before playing a non-Archipelago game." | ||
11 | new_label.align = Label.ALIGN_CENTER | ||
12 | new_label.valign = Label.VALIGN_CENTER | ||
13 | new_label.autowrap = true | ||
14 | new_label.margin_left = 25 | ||
15 | new_label.margin_top = 25 | ||
16 | new_label.margin_right = 1250 | ||
17 | new_label.margin_bottom = 492 | ||
18 | |||
19 | var field_font = DynamicFont.new() | ||
20 | field_font.font_data = load("res://fonts/Lingo2.ttf") | ||
21 | field_font.size = 48 | ||
22 | |||
23 | new_label.add_font_override("font", field_font) | ||
24 | |||
25 | level_tab.add_child(new_label) | ||