From 19d81fa9b803164936b50356a5be7ea044fde891 Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Thu, 16 Nov 2023 17:40:48 +0100 Subject: [PATCH] Bug Fixes --- game/scripts/interface/door.rpy | 2 -- game/scripts/interface/inventory.rpy | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/game/scripts/interface/door.rpy b/game/scripts/interface/door.rpy index 53e25f06..833d3a44 100644 --- a/game/scripts/interface/door.rpy +++ b/game/scripts/interface/door.rpy @@ -10,8 +10,6 @@ label summon: label summon_menu(xx=723, yy=90): - call update_stats - $ map_transcript_loc = {"library": "Library", "room_g": "Gryffindor Dormitory", "room_s": "Slytherin Dormitory", "room_r": "Ravenclaw Dormitory", "room_h": "Hufflepuff Dormitory", "great_hall": "Great Hall", "courtyard": "Courtyard", "forest": "Forest", "greenhouse": "Greenhouse", "defense": "D.A.D.A Classroom", "training_grounds": "Training Grounds", "Lake": "Lake", "randomstudent": renpy.random.choice(["Classroom", "Bathroom", "Hagrid's Hut", "Weasley's Store", "Mafkin's Store", "Broom Cupboard", "Attic"]), "randomsnape": renpy.random.choice(["Classroom", "Boathouse", "Bathroom", "Snape's Office", "Hall", "Slytherin Dormitory", "Library", "Attic", "Forest", "Lake", "Dungeons", "Quidditch Cave", "Staircase", "Behind your door", "Room of Doom"]), "randomtonks": renpy.random.choice(["Classroom", "Bathroom", "Hall", "Gryffindor Dormitory", "Slytherin Dormitory", "Hufflepuff Dormitory", "Ravenclaw Dormitory", "Training Grounds", "Tonks' Room", "Quidditch Pitch", "Infirmary", "Sex Dungeon", "Hospital Wing", "Forest", "Lake", "Greenhouse", "Mafkin's Store"])} # Door dictionary diff --git a/game/scripts/interface/inventory.rpy b/game/scripts/interface/inventory.rpy index ec9591d3..3c72d5c4 100644 --- a/game/scripts/interface/inventory.rpy +++ b/game/scripts/interface/inventory.rpy @@ -329,6 +329,7 @@ screen inventory_menuitem(xx, yy): grid 9 4: style "empty" pos (24, 113) + spacing 5 for i in range(current_page*items_shown, (current_page*items_shown)+items_shown): if i < menu_items_length: @@ -338,6 +339,7 @@ screen inventory_menuitem(xx, yy): style "empty" xsize 48 ysize 48 + add gui.format("interface/achievements/{}/iconbox.webp") if current_item is not None and current_item.id == menu_items[i].id: @@ -430,4 +432,4 @@ style inventory_button: style inventory_button_text: outlines [] align (0.5, 0.5) - size 16 + size 16 \ No newline at end of file