Theme functions
force_co_subtheme
function force_co_subtheme(subtheme: COSUBTHEME)subtheme:COSUBTHEME
Forces the theme of the next cosmic ocean level(s) (use e.g. force_co_subtheme(COSUBTHEME.JUNGLE). Use COSUBTHEME.RESET to reset to default random behaviour)
force_custom_subtheme
documented onlysource
function force_custom_subtheme(customtheme: CustomTheme|ThemeInfo|THEME)customtheme:CustomTheme|ThemeInfo|THEME
Force current subtheme used in the CO theme. You can pass a CustomTheme, ThemeInfo or THEME. Not to be confused with force_co_subtheme.
force_custom_theme
documented onlysource
function force_custom_theme(customtheme: CustomTheme|ThemeInfo|THEME)customtheme:CustomTheme|ThemeInfo|THEME
Force a theme in PRE_LOAD_LEVEL_FILES, POST_ROOM_GENERATION or PRE_LEVEL_GENERATION to change different aspects of the levelgen. You can pass a CustomTheme, ThemeInfo or THEME.
get_co_subtheme
function get_co_subtheme(): COSUBTHEMEReturns COSUBTHEME
Gets the sub theme of the current cosmic ocean level, returns COSUBTHEME.NONE if the current level is not a CO level.