Code: Select all
screen master_overlay():
$ halls = Amerigo.getConnections()
$ events = Horae.getEventList()
$ week = Kronos.getWeek()
$ day = Kronos.getDay()
$ district = Amerigo.getDistrictName()
$ clock = Kronos.getTime()
$ location = Amerigo.getDisplayName()
$ publicity = Amerigo.getPublicity()
zorder 50
modal False
frame: # Information Display Panel, LHS
background "hud_leftbar.png"
xpadding 0
ypadding 0
xalign 0
yalign 0
xsize 120
ysize 1080
viewport:
vbox:
# text "Week [week]" style "cybertext"
# text "Pub: [publicity]"style "cybertext"
textbutton "> Movement:" text_style "cybermenu"
spacing 0
for hall in halls:
python:
caption = ""
connection = hall[0]
caption = "Go to "+Amerigo.getDisplayName(name=connection)
textbutton caption :
text_style "cybertext"
#action [SetVariable("Amerigo.compass", hall[0]), Jump('overworld')]
action [Function(Amerigo.moveTo, fargo=hall[0]), Jump('overworld')]
frame:
background "hud_rightbar.png"
xpadding 0
ypadding 0
xalign 0
yalign 0
xoffset 1800
yoffset 0
xsize 120
ysize 1080
fixed:
tooltip "Oh gooood!"
imagebutton:
xsize 120
ysize 120
xalign 0.5
ypadding 0
sensitive True
auto "panel_clock_button_%s.png"
tooltip "Oh gooood!"
viewport:
text "[clock]" style "clock_hud" xalign 0.5 yoffset 8 # hud clock display
hbox: # Day-of-Week Display
xalign 0.5
spacing 2
yoffset 40
text "[day]" style "calendar_hud"
tooltip "Oh gooood!"
fixed: # Current location display
ysize 56
yoffset 72
hbox:
xalign 0.5
yalign 0.5
text "[location]" style "location_hud"
viewport: # Action Panel, RHS Middle
yoffset 140
xoffset 5
vbox:
spacing 0
#textbutton "> Actions:" text_style "cybermenu"
for int in events:
python:
caption = ""
caption = int['dname']
textbutton caption :
text_style "interaction_text"
action Jump(int['name'])
tooltip "Action menu"
$tooltip = GetTooltip()
if tooltip:
frame:
xalign 0.5
yalign 0.5
text "[tooltip]" style "clock_hud"
fixed:
xsize 100
ysize 50
xalign 0.5
yoffset 774
imagebutton:
auto "panel_system_button_%s.png"
xalign 0.5
tooltip "show_calendar"
text "Inventory" style "interaction_text" xalign 0.5 yoffset 13