Methods
DebugSystem:enterMenu(menu: any, soul: any, skip_history: any)
Arguments:
| menu: any | |
| soul: any | |
| skip_history: any |
DebugSystem:onMousePressed(x: any, y: any, button: any, istouch: any, presses: any)
Arguments:
| x: any | |
| y: any | |
| button: any | |
| istouch: any | |
| presses: any |
DebugSystem:onMouseReleased(x: any, y: any, button: any, istouch: any, presses: any)
Arguments:
| x: any | |
| y: any | |
| button: any | |
| istouch: any | |
| presses: any |
DebugSystem:printShadow(text: any, x: any, y: any, color: any, align: any, limit: any, sx: any, sy: any)
Arguments:
| text: any | |
| x: any | |
| y: any | |
| color: any | |
| align: any | |
| limit: any | |
| sx: any | |
| sy: any |
DebugSystem:registerConfigOption(menu: any, name: any, description: any, value: any, callback: any)
Arguments:
| menu: any | |
| name: any | |
| description: any | |
| value: any | |
| callback: any |
DebugSystem:registerOption(menu: string, name: string, description: string|fun()string, func: function, visible_func: (fun()boolean)?)
Arguments:
| menu: string | |
| name: string | |
| description: string|fun()string | |
| func: function | |
| visible_func: (fun()boolean)? |
Returns:
| 1: nil |
Fields
DebugSystem.filtered_flags_list: string[]
A list of filtered flag keys that should show in the flags menu
DebugSystem.flag_filter_mode: string
The current flag filter mode
DebugSystem.flag_query: string }
The current flag filter query
DebugSystem.flag_type: string
The current flag filter setting for value type
DebugSystem.temp_flag_filter_mode: string
Temporary version of flag_filter_mode. Only set as filter once the settings are saved.
DebugSystem.temp_flag_query: string }
Temporary version of flag_query. Only set as filter once the settings are saved.
DebugSystem.temp_flag_type: string
Temporary version of flag_type. Only set as filter once the settings are saved.
Undocumented
DebugSystem.grabbing: boolean
right clicking should not drag
DebugSystem.heart: Sprite
A simple object that renders a texture.
This texture must be placed inside assets/sprites/.
DebugSystem.state: string
States: IDLE, MENU, SELECTION, FACES