Quickstart
This guide will get you all set up and ready to use the RocketRogue Lua API.
Create your script
Create a .lua file in your Lua folder located at %appdata%\rocketrogue\lua
Create a button
After creating the Lua file, you are ready to write your first script. Below, you can see how to create a button that logs a message to the in-game RocketRogue console when pressed.
local btn = ui.new_button('Hello', function()
logger.info('I was pressed!')
end)