Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- init:
- default tt = { }
- screen travel_map:
- $ idx = 0
- for name, v in player.places.items():
- if v.enabled:
- vbox:
- $ tt[idx] = Tooltip(' ')
- imagebutton auto "gui/horizontal_thumb_1_%s.png":
- xpos v.x
- ypos v.y
- action Jump('location_'+str(idx+1))
- hovered tt[idx].Action("foo{b}[v.name]{/b}{p}[v.legend]")
- text tt[idx].value:
- xpos v.x + 3
- ypos v.x + 3
- outlines [ (0.5, "#000", 1, 1) ]
- $ idx += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement