NPC Extensions
Here you can find documentation on the NPC extensions added by the CobbleHardcoreMon 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”Player Functions
Section titled “Player Functions”- Functionq.player.hardcoremon()
Returns the player's UUID for use with the hardcoremon functions.
Returns{ "playerUUID": "string" } - Functionq.player.hardcoremon.get_health_link()
Checks whether the Health Link feature is enabled or disabled for the player.
Returns1 for true, otherwise 0 - Functionq.player.hardcoremon.set_health_link(<int enabled>)
Enables or disables the Health Link feature for the player. Use 1 to enable and 0 to disable.
Returns1 for success, otherwise 0 - Functionq.player.hardcoremon.soul_link()
Checks whether the Soul Link feature is enabled or disabled for the player.
Returns{ "playerUUID": "string", "soulLinkPartnerUUID": "string", "soulLinkPartnerName": "string" } - Functionq.player.hardcoremon.soul_link.has_partner()
Checks whether the player has a Soul Link partner.
Returns1 for true, otherwise 0 - Functionq.player.hardcoremon.soul_link.get_partner_uuid()
Gets the UUID of the player's Soul Link partner.
Returnsreturns the UUID of the soul link partner as a string, 0 otherwise - Functionq.player.hardcoremon.soul_link.get_partner_name()
Gets the name of the player's Soul Link partner.
Returnsreturns the name of the soul link partner as a string, 0 otherwise