Avorion

Avorion

AzimuthLib - Library for modders
Showing 1-10 of 38 entries
< 1  2  3  4 >
Update: Aug 1, 2021 @ 4:48pm

Changed max supported version to work with Avorion 2.0

Update: Jan 26, 2021 @ 11:29pm

1.5.1
* Fixed error in detecting old vs new config options

Update: Jan 25, 2021 @ 10:21pm

Fixed missing string.split

Update: Jan 25, 2021 @ 9:15pm

1.5
* IMPORTANT: Removed backward compatibility for the old style of logging (Log.Debug("message")). Use: Log:Debug("message")
* Added new format of config options that has extra features and supports nested validation. Old format is still supported for now
* Added support for multi-line comments in config files
* Added functions: Azimuth.isList, Azimuth.validate

Update: Jul 20, 2020 @ 8:17am

1.4.2
* Added new UI element "CustomTabbedWindow". It's meant to be a workaround until devs will fix TabbedWindow-s not working inside Hud, PlayerWindow, ShipWindow objects.

Update: Jul 11, 2020 @ 8:30am

1.4.1
* Added partial HTML documentation (look at the "Documentation" folder)
* UIRectangle - added support for the vanilla UIContainer 'layer', 'localCenter', 'localPosition' and 'localRect' properties
* UTF8.getString now returns second value 'isModified' which tells if value was modified
* Made logging functions a bit faster by removing excessive string.format calls
* Removed max Avorion required version to allow to enable mod on any future versions
* Removed warnings about old logging calls (e.g. 'logs.Debug' instead of 'logs:Debug'), but they're still supported for now. In one of the future versions this support will be dropped

Update: Mar 11, 2020 @ 3:38pm

1.4
* Min game version is now 0.31, max 1.0.x
* Log functions were rewritten to use colons instead of dots (example: "logs:Debug('test')"). I added temporary limited backwards compatibility but I strongly suggest mod makers to change their functon calls ASAP.
* "player/azimuthlib-clientdata.lua" file was removed in favor of 'setGlobal' and 'getGlobal' functions. Also to make this library mod less invasive.
* "-modularplan.lua" file was removed because it was a failed WIP.
* "-basic" file docs were improved.
* "-basic": changed how 'getFloat' and 'getInt' functions work. Now if a value is outside of bounds it will always be set to a closer border. Also functions now return a second boolean value that indicates if passed value was incorrect in some way.

Update: Feb 28, 2020 @ 8:07am

* Pushed supported version to 0.32.x
* Minor fixes in the log functions code

Update: Feb 6, 2020 @ 3:57am

* Pushed supported version to 0.31.x

Update: Jan 31, 2020 @ 9:39pm

Recursive tables support
* Added 'minifyTables' and 'showTableAddress' properties to the Log object allowing better control of a log output.
* 'serialize' - Added 'recursive' argument. Passing 'true' will include table addresses in a dump.
* 'serialize' - Added support for recursive tables, so no more crashes because of that.