init python:
def gallery_thumbnail(thumbnail_name):
return im.FactorScale(thumbnail_name, 0.2)
image_gallery = Gallery()
image_gallery.transition = dissolve
image_gallery.locked_button = "gallery_locked_button"
image_gallery.button("slot01")
image_gallery.condition('renpy.seen_image("ch0b_12")')
image_gallery.unlock_image("ch0b_09")
image_gallery.unlock_image("ch0b_10")
image_gallery.unlock_image("ch0b_11_movie")
image_gallery.unlock_image("ch0b_12")
image_gallery.button("slot02")
image_gallery.condition('renpy.seen_image("ch0d_27")')
image_gallery.unlock_image("ch0d_24")
image_gallery.unlock_image("ch0d_25")
image_gallery.unlock_image("ch0d_26_movie")
image_gallery.unlock_image("ch0d_27")
image_gallery.button("slot03")
image_gallery.condition('renpy.seen_image("ch1a_07")')
image_gallery.unlock_image("ch1a_03")
image_gallery.unlock_image("ch1a_04")
image_gallery.unlock_image("ch1a_05")
image_gallery.unlock_image("ch1a_06")
image_gallery.unlock_image("ch1a_07")
image_gallery.button("slot04")
image_gallery.condition('renpy.seen_image("ch1b_10")')
image_gallery.unlock_image("ch1b_07")
image_gallery.unlock_image("ch1b_08")
image_gallery.unlock_image("ch1b_09")
image_gallery.unlock_image("ch1b_10")
image_gallery.button("slot05")
image_gallery.condition('renpy.seen_image("ch1c_17")')
image_gallery.image("ch1c_16_gallery")
image_gallery.condition("True")
image_gallery.unlock_image("ch1c_17")
image_gallery.button("slot06")
image_gallery.condition('renpy.seen_image("ch1e_12_movie")')
image_gallery.unlock_image("ch1e_09a")
image_gallery.unlock_image("ch1e_09b")
image_gallery.unlock_image("ch1e_09c")
image_gallery.unlock_image("ch1e_09d")
image_gallery.unlock_image("ch1e_10")
image_gallery.unlock_image("ch1e_10a")
image_gallery.unlock_image("ch1e_11")
image_gallery.unlock_image("ch1e_12_movie")
image_gallery.button("slot07")
image_gallery.condition('renpy.seen_image("ch1e_17_movie")')
image_gallery.unlock_image("ch1e_15")
image_gallery.unlock_image("ch1e_16")
image_gallery.unlock_image("ch1e_17_movie")
image_gallery.button("slot08")
image_gallery.condition('renpy.seen_image("ch1e_22")')
image_gallery.unlock_image("ch1e_19a")
image_gallery.unlock_image("ch1e_19")
image_gallery.unlock_image("ch1e_20a")
image_gallery.unlock_image("ch1e_20")
image_gallery.unlock_image("ch1e_21")
image_gallery.unlock_image("ch1e_22")
image_gallery.button("slot09")
image_gallery.condition('renpy.seen_image("ch1e_34")')
image_gallery.unlock_image("ch1e_25_00")
image_gallery.unlock_image("ch1e_25_anim")
image_gallery.unlock_image("ch1e_26")
image_gallery.unlock_image("ch1e_27_movie")
image_gallery.unlock_image("ch1e_28")
image_gallery.unlock_image("ch1e_29")
image_gallery.unlock_image("ch1e_33")
image_gallery.unlock_image("ch1e_34")
image_gallery.button("slot10")
image_gallery.condition('renpy.seen_image("ch3a_06")')
image_gallery.unlock_image("ch3a_06")
image_gallery.button("slot11")
image_gallery.condition('renpy.seen_image("ch3c_10")')
image_gallery.unlock_image("ch3c_07")
image_gallery.unlock_image("ch3c_08")
image_gallery.unlock_image("ch3c_09")
image_gallery.unlock_image("ch3c_10")
image_gallery.unlock_image("ch3c_11")
image_gallery.unlock_image("ch3c_12")
image_gallery.unlock_image("ch3c_13")
image_gallery.unlock_image("ch3c_14")
image_gallery.unlock_image("ch3c_15")
image_gallery.unlock_image("ch3c_16")
image_gallery.unlock_image("ch3c_17")
image_gallery.unlock_image("ch3c_18")
image_gallery.unlock_image("ch3c_19")
image_gallery.button("slot12")
image_gallery.condition('renpy.seen_image("ch3c_29")')
image_gallery.unlock_image("ch3c_27")
image_gallery.unlock_image("ch3c_28")
image_gallery.unlock_image("ch3c_29")
image_gallery.button("slot13")
image_gallery.condition('renpy.seen_image("ch3c_35a")')
image_gallery.unlock_image("ch3c_32")
image_gallery.unlock_image("ch3c_35")
image_gallery.unlock_image("ch3c_35a")
image_gallery.button("slot14")
image_gallery.condition('renpy.seen_image("ch3c_37")')
image_gallery.unlock_image("ch3c_37")
image_gallery.button("slot15")
image_gallery.condition('renpy.seen_image("ch3c_45")')
image_gallery.unlock_image("ch3c_40")
image_gallery.unlock_image("ch3c_41_movie")
image_gallery.unlock_image("ch3c_42")
image_gallery.unlock_image("ch3c_43")
image_gallery.unlock_image("ch3c_44_00")
image_gallery.unlock_image("ch3c_42a")
image_gallery.unlock_image("ch3c_44_movie")
image_gallery.unlock_image("ch3c_45")
image_gallery.button("slot16")
image_gallery.condition('renpy.seen_image("ch3c_51")')
image_gallery.unlock_image("ch3c_46")
image_gallery.unlock_image("ch3c_47")
image_gallery.unlock_image("ch3c_48")
image_gallery.unlock_image("ch3c_49")
image_gallery.unlock_image("ch3c_50")
image_gallery.unlock_image("ch3c_51")
image_gallery.button("slot17")
image_gallery.condition('renpy.seen_image("ch3d_18")')
image_gallery.unlock_image("ch3d_17")
image_gallery.unlock_image("ch3d_18")
image_gallery.button("slot18")
image_gallery.condition('renpy.seen_image("ch3d_32")')
image_gallery.image("ch3_gallery_parker_fantasy")
image_gallery_buttons_pages = [
[
( "slot01", "Ch 1: Brad and Emily", "ch0b/ch0b_09.jpg" ),
( "slot02", "Ch 1: Parker and Becky", "ch0d/ch0d_24.jpg" ),
( "slot03", "Ch 2: Melanie\u2019s Bra", "ch1a/ch1a_03.jpg" ),
( "slot04", "Ch 2: Melissa Downblouse", "ch1b/ch1b_09.jpg" ),
( "slot05", "Ch 2: License Grab", "ch1c/ch1c_16_0.jpg" ),
( "slot06", "Ch 2: The Search, Part 1", "ch1e/ch1e_09a.jpg" )
],
[
( "slot07", "Ch 2: The Search, Part 2", "ch1e/ch1e_15.jpg" ),
( "slot08", "Ch 2: The Search, Part 3", "ch1e/ch1e_19a.jpg" ),
( "slot09", "Ch 2: The Search, Part 4", "animations/ch1e_25_00.jpg" ),
( "slot10", "Ch 3: A revealing time", "ch3a/ch3a_06.jpg" ),
( "slot11", "Ch 3: Let\u2019s have the top", "ch3c/ch3c_07.jpg" ),
( "slot12", "Ch 3: And the rest", "ch3c/ch3c_27.jpg" ),
],
[
( "slot13", "Ch 3: Exposed", "ch3c/ch3c_32.jpg" ),
( "slot14", "Ch 3: Full Search, Part 1", "ch3c/ch3c_37.jpg" ),
( "slot15", "Ch 3: Full Search, Part 2", "ch3c/ch3c_40.jpg" ),
( "slot16", "Ch 3: Dressing", "ch3c/ch3c_46.jpg" ),
( "slot17", "Ch 3: Tits are tits", "ch3d/ch3d_17.jpg" ),
( "slot18", "Ch 3: Parker\u2019s Fantasy", "ch3d/ch3_gallery_parker_fantasy.jpg" ),
]
]
screen gallery_buttons(data):
for (name, title, thumbnail) in data:
if name:
vbox:
$ the_button = image_gallery.make_button(name, gallery_thumbnail(thumbnail))
add the_button
if image_gallery.buttons[name].check_unlock():
text title
else:
text ""
else:
text ""
screen gallery():
default page = 1
tag menu
use game_menu(_("Gallery"), scroll="viewport"):
style_prefix "gallery"
vbox:
xsize 940
ysize 500
label "Page [page]":
xalign 0.5
bottom_margin 10
grid 3 2:
style_prefix "gallery_slot"
xalign 0.5
yalign 0.5
xspacing 30
yspacing 20
use gallery_buttons(image_gallery_buttons_pages[page-1])
hbox:
style_prefix "page"
anchor (0.5, 0.0)
pos(0.5, 1.0)
spacing gui.page_spacing
if page > 1:
textbutton _("<") action SetScreenVariable("page", page - 1)
else:
textbutton _("<") action NullAction()
for i in range(1, len(image_gallery_buttons_pages) + 1):
textbutton "[i]" action SetScreenVariable("page", i)
if page < len(image_gallery_buttons_pages):
textbutton _(">") action SetScreenVariable("page", page + 1)
else:
textbutton _(">") action NullAction()
style gallery_slot_text:
size 18
xalign 0.5
yalign 0.0
style gallery_button is button:
hover_background "#fff"
style gallery_button_text:
size 24
bold True
color "#fff"
hover_color "#000"
underline True
style gallery_button_current is button
style gallery_button_current_text is gallery_button_text:
underline False
hover_color "#fff"