Warning: Changes that may break compatibility
Changelog
- Added new core object type:
MCToolTiers. Fields: MiningLevel, Durability, MiningEfficiency, DamageBonus, Enchantability - Added table for game tool tiers
Game.Items.ToolTiers. Contains: WOOD, STONE, IRON, GOLD and DIAMOND - Added
Game.Items.newToolTier(). Returns an emptyMCToolTier - Added
Game.Items.registerSwordItem(nameid: string, itemid: integer, tier: MCToolTier) - Added
Game.Items.registerPickaxeItem(nameid: string, itemid: integer, tier: MCToolTier) - Added
Game.Items.registerAxeItem(nameid: string, itemid: integer, tier: MCToolTier) - Added
Game.Items.registerShovelItem(nameid: string, itemid: integer, tier: MCToolTier) - Added
Game.Items.registerHoeItem(nameid: string, itemid: integer, tier: MCToolTier) - Renamed core types names: GameItem -> MCItem, GameItemInstance -> MCItemInstance
- Improvements to hook system
Note: Tools registered with a non-game default tier will have a repair item tied to the mining level
How to install
- Download the
LunaCore.3gxfile and move the file to the folder"/luma/plugins/<TitleId>/"of your sdcard - If you want the default LunaCore's menu layout, download
LunaCoreAssets.zipand unzip it in the root folder of your sd card
Known bugs
High: May break scripts or crash the game
Mid: Can break scripts logic or have unwanted behavior and be pretty annoying
Low: Doesn't break scripts logic but can have unwanted behavior
- Mid: On some consoles the plugin may not detect the buttons ZL and ZR. This does not affect the game, only the scripting system
- Mid: Sometimes present. Although it's less common, it is possible that when using this plugin the ZL and ZR buttons are not detected by the game and it may be necessary to restart the console or enable InputRedirection in Rosalina Menu
- High: Trying to use
Game.Resources.reloadLocale()after game load will crash the game