diff --git a/game/scripts/interface/brewing.rpy b/game/scripts/interface/brewing.rpy index 169b2c51..7b875f9d 100644 --- a/game/scripts/interface/brewing.rpy +++ b/game/scripts/interface/brewing.rpy @@ -85,37 +85,35 @@ screen brewing_menu(): vbox: style_prefix gui.theme('achievements_categories') pos (6, 6) - for i in menu_items: + for i_item in menu_items: frame: style "empty" xysize (195, 50) vbox: - textbutton i.name: + textbutton i_item.name: xysize (195, 46) text_align (0.6, 0.5) text_xanchor 0.5 text_size 12 - if current_item == i: + if current_item == i_item: background gui.format("interface/achievements/{}/highlight_left_b.webp") else: hover_background gui.format("interface/achievements/{}/highlight_left_b.webp") - selected (current_item == i) - action SetVariable("current_item", i) + selected (current_item == i_item) + action SetVariable("current_item", i_item) add gui.format("interface/achievements/{}/spacer_left.webp") - $ image_zoom = crop_image_zoom(i.get_image(), 42, 42) - button: style gui.theme("overlay_button") background gui.format("interface/achievements/{}/iconbox.webp") foreground "interface/achievements/glass_iconbox.webp" xysize (48, 48) - add image_zoom align (0.5, 0.5) + add crop_image_zoom(i_item.get_image(), 42, 42) align (0.5, 0.5) - if i.owned > 0: - text "[i.owned]" size 10 align (0.02, 0.1) color "#ffffff" outlines [ (1, "#000", 0, 0) ] + if i_item.owned > 0: + text "[i_item.owned]" size 10 align (0.02, 0.1) color "#ffffff" outlines [ (1, "#000", 0, 0) ] vbox: style_prefix gui.theme('achievements_filters') pos (6, 384)