Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/screens.rpy", line 177, in execute
screen main_menu():
File "game/screens.rpy", line 177, in execute
screen main_menu():
File "game/screens.rpy", line 187, in execute
frame:
File "game/screens.rpy", line 192, in execute
has vbox
File "game/screens.rpy", line 199, in execute
textbutton _("Bad E") action NullAction() hovered Show("navigation") unhovered [Hide("tooltip"), SensitiveIf(rank_b==True and not rank_d)]
File "game/screens.rpy", line 199, in keywords
textbutton _("Bad E") action NullAction() hovered Show("navigation") unhovered [Hide("tooltip"), SensitiveIf(rank_b==True and not rank_d)]
NameError: name 'rank_b' is not defined
I did some syntax editing and messed with Show to get it into some manner of progress. Unfortunately my random piecing of coding knowledge ends here.
*I didn't look at sensitiveif in the renpy documentation, but removing it compiles the statement.
Anyhow, I don't have the same things as you defined, so this is my best final answer at the moment.
Code: Select all
textbutton _("Bad E"):
action NullAction()
hovered [Show("tooltip", tooltip=skill_tooltip, my_tt_ypos=693)]
unhovered [Hide("tooltip")], SensitiveIf(rank_b==True and not rank_d)]