Add mountains to the history screen

This commit is contained in:
LoafyLemon 2024-06-18 17:43:54 +01:00
parent c8a9b39c00
commit 0248476ac5
3 changed files with 5 additions and 46 deletions

BIN
game/gui/creamy_pumpkin_pie/book/book_doodles_mountains.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -38,7 +38,7 @@ screen history():
text what style "history_text_what":
substitute False
frame style "navigation_page_right":
pass
add "doodle_mountains" align (0.5, 0.5)
style history_viewport:
xmaximum 300
@ -69,49 +69,4 @@ style history_text_who is navigation_text:
font gui.bold_font
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")

View File

@ -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_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_mountains = Image("gui/creamy_pumpkin_pie/book/book_doodles_mountains.png", oversample=4)