Skip to content

Commit

Permalink
Update to 0.9.17
Browse files Browse the repository at this point in the history
  • Loading branch information
ZwerOxotnik committed May 11, 2022
1 parent 9285ef6 commit d72ddd4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
8 changes: 8 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
---------------------------------------------------------------------------------------------------
Version: 0.9.17
Date: 11. 05. 2022
Locale:
- Added Ukrainian translation (thanks to @de_jure (Yuriy) on crowdin)
- Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Changes:
- Added integration with http://mods.factorio.com/mod/gvv
---------------------------------------------------------------------------------------------------
Version: 0.9.16
Date: 22. 12. 2021
Changes:
Expand Down
2 changes: 2 additions & 0 deletions control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ else
event_handler = require("event_handler")
end
event_handler.add_libraries(modules)

if script.active_mods["gvv"] then require("__gvv__.gvv")() end
7 changes: 4 additions & 3 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "lua-compiler",
"version": "0.9.16",
"version": "0.9.17",
"factorio_version": "1.1",
"title": "Lua Compiler",
"author": "ZwerOxotnik",
"contact": "[email protected], Discord:ZwerOxotnik#7117",
"dependencies": [
"? zk-lib >= 0.10.0",
"base"
"base",
"? gvv",
"? zk-lib >= 0.10.0"
]
}
9 changes: 4 additions & 5 deletions models/lua-compiler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@ local M = {}

--#region Global data
local mod_data
---@type table <number, LuaEntity>
---@type table<integer, LuaEntity>
local players_opened_compile
---@type table <number, function>
---@type table<integer, function>
local compiled = {}
---@type table <number, string>
---@type table<integer, string>
local compilers_text
---@type table <number, string>
---@type table<integer, string>
local players_copyboard
--#endregion


--#region Constants
local sub = string.sub
local RED_COLOR = {1, 0, 0}
local DEFAULT_TEXT = "local compiler, player = ...\nplayer.print(compiler.name)"
--#endregion
Expand Down

0 comments on commit d72ddd4

Please sign in to comment.