This is an example mod for Teardown written in TypeScriptToLua.
- Install npm
- Run
npm i
to update dependencies - Run
npm build
to build the project, ornpm watch
to make it rebuild every time a file changes - Done!
- Run
npm build
- Change
transformer/lua/prefix.lua
to include any internal information you want to show to tinkerers - please publish your work, too! mods make great practice and editing material for new programmers. - Copy your assets,
info.txt
, andmain.lua
to a separate folder. any dev related folders likesrc
are useless - Publish it. Good luck!