Skip to content

Lua support

Compare
Choose a tag to compare
@maximegmd maximegmd released this 20 Dec 14:02
· 1332 commits to master since this release

We are now using Lua in the console.

It's fairly simple just prefix the script functions with Game. and pass arguments as you would normally.

For example:

item = "Items.Jacket_03_old_04"
count = 12
Game.AddToInventory(item, count)
Game.AddToInventory("Items.Jacket_03_old_04", 12)