- Sep 6, 2017
- 35
- 59
Hi guys,
I have a problem with this code and I can't solve it. I would like the empty cells to be filled by the "baglot style" box. Before I upgraded renpy to version 7.5 the game gave no error and automatically reduced the number of baglots to show (so as to avoid the vpgrid overfull error). I wonder if there is any code to write in "for i in range(______)" that would let renpy know that it should only fill empty ones with baglots.
Thanks for your help!
I have a problem with this code and I can't solve it. I would like the empty cells to be filled by the "baglot style" box. Before I upgraded renpy to version 7.5 the game gave no error and automatically reduced the number of baglots to show (so as to avoid the vpgrid overfull error). I wonder if there is any code to write in "for i in range(______)" that would let renpy know that it should only fill empty ones with baglots.
Thanks for your help!
Code:
vpgrid:
cols 5
rows 20
xpos 961 ypos 338 spacing 8
draggable True
mousewheel False
ysize 423
yinitial 0
scrollbars "vertical"
side_spacing 20
if d1_stats == True:
imagebutton auto ("images/pict/d1_%s.png") selected_idle ("images/pict/d1_hover.png") focus_mask True action Show("d1_stats")
if d2_stats == True:
imagebutton auto ("images/pict/d2_%s.png") selected_idle ("images/pict/d2_hover.png") focus_mask True action Show(d2_stats")
for i in range(100):
frame:
style "bagslot"