Cobblemon Move Tutor - NPC Extensions
Here you can find documentation on the NPC extensions added by the Cobblemon Move Tutor mod, including new Molang functions, dialogues, and NPCs that have been added to enhance the functionality of the Move Tutor NPCs.
Molang functions
Section titled “Molang functions”Two new Molang functions have been added to the Player molang functions:
Note: Slot is the index of the Pokemon in the player’s party, starting from 0. With a maximum of 5, as the player can have up to 6 Pokemon in their party.
q.player.open_village_tutor(<slot>)- Opens the Move Tutor’s GUI for the player, allowing them to browse and learn new moves for their Pokemon.q.player.open_admin_tutor(<slot>)- Opens the “Admin” version of the Move Tutor’s GUI for the player, instead of the village tutor.
Dialogues
Section titled “Dialogues”Two new dialogues have been added for the Move Tutor NPCs:
cobblemon_move_tutor:tutor_dialogue- The dialogue used by the Move Tutor NPC that spawns near villages.cobblemon_move_tutor:admin_tutor_dialogue- The dialogue used by the “Admin” Move Tutor NPC, which can be summoned using commands or Molang functions.
Added NPCs
Section titled “Added NPCs”cobblemon_move_tutor:village_tutor- The Move Tutor NPC that spawns near villages, offering a variety of moves for players to learn.- This NPC has a normal AI that allows it to act more like a regular villager, including wandering around and interacting with players.
cobblemon_move_tutor:tutor- The “Admin” Move Tutor NPC, which can be summoned using commands or Molang functions.- This NPC has no AI and will simply stand in place, allowing players to interact with it to access the Move Tutor’s GUI.
NPC Variants
Section titled “NPC Variants”Each of the Move Tutor NPCs have three variants that can be configured via Cobblemon’s NPC Aspect system:
red- The default variant, with a red color scheme.blue- A variant with a blue color scheme.green- A variant with a green color scheme.