2023-11-06 21:50:03 -05:00
|
|
|
# Forgotten Lands
|
2023-11-15 05:56:52 -05:00
|
|
|
This game has already gone from lua, to teal, and finally TS.
|
|
|
|
|
|
|
|
If you want to mess with this or maybe you would want to use TS for your minetest things.
|
|
|
|
|
|
|
|
First you need node, if you're on ubuntu it's super outdated so get it here https://github.com/nodesource/distributions#ubuntu-versions
|
|
|
|
|
2023-11-15 06:00:48 -05:00
|
|
|
Next you need TypeScriptToLua
|
2023-11-15 06:01:07 -05:00
|
|
|
```
|
|
|
|
sudo npm install --save-dev typescript-to-lua typescript
|
|
|
|
```
|
2023-11-15 06:00:48 -05:00
|
|
|
|
|
|
|
Next you need Lua types for TS or else the compiler doesn't know what's going on.
|
2023-11-15 06:01:07 -05:00
|
|
|
```
|
|
|
|
sudo npm install --save-dev lua-types
|
|
|
|
```
|
2023-11-15 05:56:52 -05:00
|
|
|
|
|
|
|
(if you want my minetest helper thing)
|
|
|
|
```
|
|
|
|
sudo npm install --save-dev minetesthelper
|
|
|
|
```
|