Cobbled Level Control - NPC Extensions
Cobbled Level Control includes extensions for Cobblemon NPCs, allowing them to interact with PokeTotems in various ways. These extensions can be used to create custom NPC dialogues and interactions involving PokeTotems.
Player Functions
Section titled “Player Functions”- Functionq.player.level_control()
Returns the player's UUID and their account record for use with the level control functions.
Returns{ "playerUUID": "string", "accountRecord": { "catching": number, "leveling": number } } - Functionq.player.level_control.status()
Returns the player's current level control status, including their difficulty setting and account record.
Returns{ "difficulty": "string", "catching": number, "leveling": number } OR 0 - Functionq.player.level_control.lvlup(<module string>)
Levels up the player in a specific module, increasing their catching and leveling stats accordingly.
Returns1 for success, otherwise 0 - Functionq.player.level_control.setlvl(<module string>, <lvl int>)
Sets the player's level in a specific module to a specific value, adjusting their catching and leveling stats accordingly.
Returns1 for success, otherwise 0