get_local_lua_reference
Read the current Nightbreak Forge local Lua validator/editor reference. Use this to see which hooks, fields, methods, exact values, and handle helpers the editor currently knows about. Pass script_type matching the file you are working on: "lua-power" (default, EliteMobs boss powers — includes context handles, em, and exact values), "fmm-script" (FMM props), or "npc-script" (EliteMobs NPC scripts in npc_scripts/), or "mind-behavior" (EliteMobs Mind AI programs in behaviors/, selected by a boss's behavior field), "fmm-pet-behavior" (FreeMinecraftModels pet behavior modules in pet_behaviors/, id fmm:pet/<file name>; loaded from FMM 2.13.0), or "em-enchantment-script" / "fmm-enchantment-script" (the Lua effect of an EliteMobs or FreeMinecraftModels enchantment in enchantments/). Each returns that script type's own hooks and context.* namespaces — the boss reference does NOT contain NPC, FMM, Mind or enchantment APIs, so query the matching type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional scope. For lua-power: "hooks", "context", "boss", "player", "event", "script", "handles", "em", or "values". For fmm-script/npc-script: "hooks", "context", or a context namespace name (e.g. "npc", "player", "prop", "projectile"). | |
| script_type | No | Which script type's reference to return. Defaults to "lua-power". |