Page 1 of 1

Scripting Documentation

Posted: Thu Jan 17, 2019 18:32
by Lobby
Lua scripting is supported for several months now. It basically allows you to do more interactive plugins similar to fun.

The documentation contains both, some general information about Lua scripting as well a detailed description for all scripting libraries.

Lua Documentation :lua: :teach

It's not finished yet, but I'm working on :mine
The current state should allow you to already get started.

Re: Scripting Documentation

Posted: Mon Jan 21, 2019 1:21
by Mg3094066
this allows you to modify the game? like adding new options and that things?
:lua: :calc

Re: Scripting Documentation

Posted: Wed Jan 23, 2019 22:46
by Imran M
Mg3094066 wrote:
Mon Jan 21, 2019 1:21
this allows you to modify the game? like adding new options and that things?
:lua: :calc
Maybe. It's basically more complex json that has more advanced options and doesn't describe buildings. You can use it to make a toast (basically a text that pops up, but isn't like ingame notifications). I'm kind of getting mixed up with fun functionality, so you should talk to someone else.

Edit: This has hardly any info... so you should probably just skip this. But you could read it if you want to.

Re: Scripting Documentation

Posted: Wed Jan 23, 2019 22:52
by JustAnyone
You can create cool stuff like planets with this!