-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add QuestLogic and JournalData stuff #399
base: main
Are you sure you want to change the base?
Conversation
screencharacterselect_type["daily_challenge"] = sol::readonly(&ScreenCharacterSelect::daily_challenge); | ||
/// Short for `screen->next_screen_to_load == SCREEN.TEAM_SELECT and not screen->seeded_run and not screen->daily_challenge` | ||
screencharacterselect_type["arena"] = sol::property([](ScreenCharacterSelect* screen) -> bool | ||
{ return screen->next_screen_to_load == 10 && !screen->seeded_run && !screen->daily_challenge; }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh we don't have C++ enums for SCREEN
too? it's fine to not have it in this PR if not, unless you want to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't bother since it's just one value
@@ -1246,7 +1246,7 @@ void register_usertypes(sol::state& lua) | |||
auto customtheme_type = lua.new_usertype<CustomTheme>("CustomTheme", sol::constructors<CustomTheme(), CustomTheme(uint8_t, uint8_t), CustomTheme(uint8_t, uint8_t, bool)>(), sol::base_classes, sol::bases<ThemeInfo>()); | |||
customtheme_type["level_file"] = &CustomTheme::level_file; | |||
customtheme_type["theme"] = &CustomTheme::theme; | |||
// NoDoc | |||
/// NoDoc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the NoDoc supposed to work here due to the autodoc changes? or doesn't matter now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was working before since regex was just checking if there is NoDoc
before the declaration
Now i changed it to get any comment that starts with ///
and then check if the comment is NoDoc
or an actual comment
No description provided.