Update credits and bug fix

This commit is contained in:
LoafyLemon 2024-08-07 19:25:09 +01:00
parent 9383e5d719
commit 9a50a836db
4 changed files with 19 additions and 13 deletions

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

Binary file not shown.

Binary file not shown.

View File

@ -23,6 +23,7 @@ init python in credits:
return "\n".join(output_lines) return "\n".join(output_lines)
image game_logo = Image("gui/creamy_pumpkin_pie/game_logo.png", oversample=8) image game_logo = Image("gui/creamy_pumpkin_pie/game_logo.png", oversample=8)
image studio_logo = Image("gui/creamy_pumpkin_pie/studio_logo.png", oversample=4)
image engine_logo = Image("gui/creamy_pumpkin_pie/engine_logo.png", oversample=2) image engine_logo = Image("gui/creamy_pumpkin_pie/engine_logo.png", oversample=2)
define credits_images = [] # TODO: Add images once new chibis are in. define credits_images = [] # TODO: Add images once new chibis are in.
@ -229,6 +230,7 @@ define credits = credits.convert(_(f"""{{image=game_logo}}{{vspace=10}}
### Ren'Py Engine v[renpy.version_only] ### Ren'Py Engine v[renpy.version_only]
- [renpy.license!t] - [renpy.license!t]
{{vspace=400}} {{vspace=400}}
{{image=studio_logo}}
# Thank you for playing!{{vspace=400}} # Thank you for playing!{{vspace=400}}
""")) """))

View File

@ -70,19 +70,20 @@ screen inventory():
ypos 32 ypos 32
xalign 0.5 xalign 0.5
for item in menu_items: for item in menu_items:
button: if item.owned > 0 or config.developer:
xysize (48, 48) button:
if selected_item == item: xysize (48, 48)
add "interface/achievements/glow.webp" align (0.5, 0.5) xysize (48, 48) alpha 0.7 at rotate_circular if selected_item == item:
add crop_image_zoom(item.get_image(), 48, 48, (item.owned <= 0 or (inventory_mode==1 and (not item.givable or not states.active_girl in item.usable_on)))) align (0.5, 0.5) add "interface/achievements/glow.webp" align (0.5, 0.5) xysize (48, 48) alpha 0.7 at rotate_circular
add crop_image_zoom(item.get_image(), 48, 48, (item.owned <= 0 or (inventory_mode==1 and (not item.givable or not states.active_girl in item.usable_on)))) align (0.5, 0.5)
if item.used or (item.type=="decoration" and item.in_use): if item.used or (item.type=="decoration" and item.in_use):
add "interface/topbar/icon_check.webp" xysize (16, 16) offset (8, -8) add "interface/topbar/icon_check.webp" xysize (16, 16) offset (8, -8)
if item.owned > 1: if item.owned > 1:
text "x[item.owned]" offset (-8, 34) size 12 text "x[item.owned]" offset (-8, 34) size 12
if (inventory_mode==0 or (inventory_mode==1 and (item.givable and states.active_girl in item.usable_on))): if (inventory_mode==0 or (inventory_mode==1 and (item.givable and states.active_girl in item.usable_on))):
action [SetScreenVariable("selected_item", item)] action [SetScreenVariable("selected_item", item)]
if selected_item: if selected_item:
vbox: vbox: