Add mountains to the history screen
This commit is contained in:
parent
c8a9b39c00
commit
0248476ac5
BIN
game/gui/creamy_pumpkin_pie/book/book_doodles_mountains.png
(Stored with Git LFS)
Normal file
BIN
game/gui/creamy_pumpkin_pie/book/book_doodles_mountains.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -38,7 +38,7 @@ screen history():
|
|||||||
text what style "history_text_what":
|
text what style "history_text_what":
|
||||||
substitute False
|
substitute False
|
||||||
frame style "navigation_page_right":
|
frame style "navigation_page_right":
|
||||||
pass
|
add "doodle_mountains" align (0.5, 0.5)
|
||||||
|
|
||||||
style history_viewport:
|
style history_viewport:
|
||||||
xmaximum 300
|
xmaximum 300
|
||||||
@ -69,49 +69,4 @@ style history_text_who is navigation_text:
|
|||||||
font gui.bold_font
|
font gui.bold_font
|
||||||
size 12
|
size 12
|
||||||
|
|
||||||
# Avoid predicting this screen, as it can be very large
|
|
||||||
# predict False
|
|
||||||
|
|
||||||
# use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0):
|
|
||||||
|
|
||||||
# style_prefix gui.theme("history")
|
|
||||||
|
|
||||||
# has vbox
|
|
||||||
# spacing 12
|
|
||||||
|
|
||||||
# default last_who = ""
|
|
||||||
|
|
||||||
# for entry in _history_list:
|
|
||||||
# vbox:
|
|
||||||
# xfill True
|
|
||||||
# spacing 12
|
|
||||||
|
|
||||||
# if not last_who == entry.who:
|
|
||||||
# hbox:
|
|
||||||
# spacing 12
|
|
||||||
|
|
||||||
# if "icon" in entry.show_args:
|
|
||||||
# $ icon = entry.show_args["icon"]
|
|
||||||
# add Fixed(gui.format("interface/achievements/{}/iconbox.webp"), Transform(f"interface/icons/head/{icon}.webp", xzoom=-1, size=(40, 40), align=(0.5, 0.5)), fit_first=True)
|
|
||||||
|
|
||||||
# if entry.who:
|
|
||||||
# text entry.who:
|
|
||||||
# style "history_name"
|
|
||||||
# substitute False
|
|
||||||
|
|
||||||
# if "color" in entry.who_args:
|
|
||||||
# color entry.who_args["color"]
|
|
||||||
|
|
||||||
# vbox:
|
|
||||||
# spacing 6
|
|
||||||
# $ what = renpy.filter_text_tags(entry.what, allow=gui.history_allow_tags)
|
|
||||||
|
|
||||||
# text what:
|
|
||||||
# substitute False
|
|
||||||
|
|
||||||
# $ last_who = entry.who
|
|
||||||
|
|
||||||
# if not _history_list:
|
|
||||||
# label _("The dialogue history is empty.")
|
|
||||||
|
|
||||||
define gui.history_allow_tags = ("number", "unicode", "color")
|
define gui.history_allow_tags = ("number", "unicode", "color")
|
||||||
|
@ -456,3 +456,4 @@ image doodle_owl = Image("gui/creamy_pumpkin_pie/book/book_doodles_owl.png", ove
|
|||||||
image doodle_panties = Image("gui/creamy_pumpkin_pie/book/book_doodles_panties.png", oversample=4)
|
image doodle_panties = Image("gui/creamy_pumpkin_pie/book/book_doodles_panties.png", oversample=4)
|
||||||
image doodle_snitch = Image("gui/creamy_pumpkin_pie/book/book_doodles_snitch.png", oversample=4)
|
image doodle_snitch = Image("gui/creamy_pumpkin_pie/book/book_doodles_snitch.png", oversample=4)
|
||||||
image doodle_glasses = Image("gui/creamy_pumpkin_pie/book/book_doodles_glasses.png", oversample=4)
|
image doodle_glasses = Image("gui/creamy_pumpkin_pie/book/book_doodles_glasses.png", oversample=4)
|
||||||
|
image doodle_mountains = Image("gui/creamy_pumpkin_pie/book/book_doodles_mountains.png", oversample=4)
|
||||||
|
Loading…
Reference in New Issue
Block a user