# Native modding The modding book lives on the [project wiki](https://github.com/bryanthaboi/pokemon-gen1-recomp-project/wiki). - [Getting started](https://github.com/bryanthaboi/pokemon-gen1-recomp-project/wiki/Getting-Started) — install a mod, write a first one, enable and disable it. - [Tutorials](https://github.com/bryanthaboi/pokemon-gen1-recomp-project/wiki/Tutorials) — twelve dependency-ordered rungs, each a runnable mod. - [Cookbook](https://github.com/bryanthaboi/pokemon-gen1-recomp-project/wiki/Cookbook) — task-sized recipes. - [Registry reference](https://github.com/bryanthaboi/pokemon-gen1-recomp-project/wiki/Reference-Registries) — every registry, generated from `src/mods/Schemas.lua`. Regenerate the reference straight into a wiki checkout: ```sh luajit tools/gen_registry_docs.lua ../pokemon-gen1-recomp-project.wiki ``` ## Developer console Boot with developer mode on to unlock the in-game console and hot-reload hotkeys. Either set `POKEPORT_DEV=1` in the environment or pass `--developer` on the command line: ```sh love . --developer ``` While developer mode is active: - `` ` `` (backtick) opens the console overlay — a Lua REPL with `game`, `data` and `mods` in scope. Press `` ` `` again to close it. - `F5` hot-reloads mods and asset caches without restarting. The console understands these verbs (anything else is evaluated as Lua): - `warp MAP [x y]` — teleport to a map (default cell 5,5). - `give ID [n|level]` — add an item (count) or a Pokémon (level). - `flag NAME [on|off]` — read or set an event flag. - `party` — dump the current party. - `mods` — list loaded mods and their state. - `reload` — hot-reload mods (same as `F5`). - `trace PAT | trace off` — trace events/hooks matching a glob pattern. - `help` — list the verbs. Developer mode also arms the mod loader's dev tripwire, which flags mods that reach outside their permission set.