init 10: screen choice(items): style_prefix "choice" vbox: for i in items: textbutton i.caption action i.action # screen choice(items): # style_prefix "choice" # vbox: # $ the_key = 0 # for i in items: # $ the_key += 1 # $ the_key_disp = the_key % 10 # if i.action and persistent.choice_menu_hotkeys_enabled and renpy.variant("pc") and the_key_disp <= 10: # textbutton "{alpha=*0.5}{size=-15}[the_key_disp]. {/size}{/alpha}" + i.caption action i.action # else: # textbutton i.caption action i.action # if persistent.choice_menu_hotkeys_enabled and renpy.variant("pc"): # $ the_key = 0 # for i in items: # $ the_key += 1 # $ the_key_disp = the_key % 10 # if i.action and persistent.choice_menu_hotkeys_enabled and renpy.variant("pc") and the_key_disp <= 10: # key ("K_" + str(the_key_disp)) action i.action # key ("K_KP" + str(the_key_disp)) action i.action