about summary refs log tree commit diff stats
path: root/data/maps/the_hinterlands/rooms/Main Area.txtpb
blob: ad44b382bc17572cdf47b96ab33f81d8d594e99a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
name: "Main Area"
display_name: "Main Area"
# I'm probably not going to include any of the panels in here.
ports {
  name: "RIGHT"
  path: "Components/Warps/worldport"
  orientation: "east"
}
ports {
  name: "LEFT"
  path: "Components/Warps/worldport2"
  orientation: "east"
}
lass="o">.new() _label.name = "Label" _label.offset_left = 20 _label.offset_top = 20 _label.horizontal_alignment = HORIZONTAL_ALIGNMENT_LEFT _label.vertical_alignment = VERTICAL_ALIGNMENT_TOP _label.theme = preload("res://assets/themes/baseUI.tres") _label.add_theme_font_size_override("font_size", 36) add_child(_label) func set_connection_lost(arg): _disconnected = arg _update_label() func _update_label(): var text = [] if _disconnected: text.append("Disconnected from multiworld.") _label.text = "\n".join(text)