about summary refs log tree commit diff stats
path: root/Archipelago/settings_menu.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-07-16 13:40:29 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-07-16 13:40:29 -0400
commit59e2b90ef45adb2c76d139e5995cedb331322176 (patch)
treec63266a399fea67c379333dfee8803c87d6827e5 /Archipelago/settings_menu.gd
parent0e10801d335a52d3e88ad02a5f3ff9784a53a119 (diff)
parent6b5b85f96fc855810ac21e96e1aeb9cbde0fe88e (diff)
downloadlingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.tar.gz
lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.tar.bz2
lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.zip
Merge branch 'main' into panels
Diffstat (limited to 'Archipelago/settings_menu.gd')
-rw-r--r--Archipelago/settings_menu.gd25
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 @@
1extends "res://scripts/settings_menu.gd"
2
3
4func _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)