Skip to content

Commit

Permalink
Update to 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ZwerOxotnik committed Oct 28, 2023
1 parent e7014ce commit ac6382a
Show file tree
Hide file tree
Showing 108 changed files with 517 additions and 53 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ This project contains work from multiple sources + [addons](#overview).
* [zk-factorio-static-lib](https://github.com/ZwerOxotnik/zk-factorio-static-lib)
* [Sounds from other authors](/sound/README.txt)

Also, this project used [Mod generator](https://github.com/ZwerOxotnik/Mod-generator)
Also, this project used [Mod generator](https://github.com/ZwerOxotnik/Mod-generator).\
Some images were copied from the game "Factorio" and changed, please, read terms of service: https://www.factorio.com/terms-of-service.

Artwork
-------
Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---------------------------------------------------------------------------------------------------
Version: 0.15.0
Date: 28. 10. 2023
Scripting:
- Updated /static-libs
- Added new icons, styles
---------------------------------------------------------------------------------------------------
Version: 0.14.0
Date: 27. 10. 2023
Scripting:
Expand Down
5 changes: 4 additions & 1 deletion data-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ local add_tags = lazyAPI.base.add_tags
local recipes = data.raw.recipe
local items = data.raw.item
for _, v in pairs(lazyAPI.materials) do
local name = v .. "-gear-wheel"
local name = v .. "-wire"
add_tags(recipes[name], "wire")
add_tags(items[name], "wire")
name = v .. "-gear-wheel"
add_tags(recipes[name], "gear")
add_tags(items[name], "gear")
name = v .. "-plate"
Expand Down
38 changes: 1 addition & 37 deletions data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ compat = require("__zk-lib__/lualib/Penlight/lua/pl/compat")
warn "@on"


require("prototypes/utility-sprites")
require("prototypes/sprites")
require("prototypes/styles")


Expand All @@ -28,42 +28,6 @@ lazyAPI.attach_custom_input_event("mine")
lazyAPI.attach_custom_input_event("toggle-map")


local GRAPHICS_PATH = "__zk-lib__/graphics/"
data:extend{
{
type = "sprite", name = "plus_white",
filename = GRAPHICS_PATH .. "plus_white.png",
priority = "extra-high-no-scale",
width = 32, height = 32,
scale = 0.5,
flags = {"gui-icon"}
}, {
type = "sprite", name = "plus",
filename = GRAPHICS_PATH .. "plus.png",
priority = "extra-high-no-scale",
width = 32, height = 32,
scale = 0.5,
flags = {"gui-icon"}
}, {
type = "sprite", name = "lua_snippet_tool_icon_white",
filename = GRAPHICS_PATH .. "run-snippet-tool-white.png",
priority = "medium",
width = 64, height = 64,
mipmap_count = 3,
flags = {"gui-icon"},
scale = 0.5
}, {
type = "sprite", name = "map_exchange_string_white",
filename = GRAPHICS_PATH .. "map-exchange-string-white.png",
priority = "extra-high-no-scale",
width = 32, height = 32,
mipmap_count = 3,
flags = {"gui-icon"},
scale = 0.5
}
}


-- TODO: create special scripts
-- lazyAPI.create_trigger_capsule({
-- name = "zk-select", -- this is fake cursor to find cursor position via https://lua-api.factorio.com/latest/events.html#on_script_trigger_effect
Expand Down
Binary file added graphics/add-icon-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/bookmark-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/brush-circle-shape-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/brush-icon-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/brush-square-shape-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/center-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/change-recipe-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/clone-icon-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/close-fat-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/close-map-preview-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/color-picker-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/confirm-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/A-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/B-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/L-stick-press-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/L-stick-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/L-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/R-stick-press-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/R-stick-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/R-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/SL-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/SR-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/X-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/Y-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/ZL-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/controller/joycon/ZR-white.png
Binary file added graphics/controller/joycon/dpad-down-white.png
Binary file added graphics/controller/joycon/dpad-left-white.png
Binary file added graphics/controller/joycon/dpad-right-white.png
Binary file added graphics/controller/joycon/dpad-up-white.png
Binary file added graphics/controller/joycon/minus-white.png
Binary file added graphics/controller/joycon/plus-white.png
Binary file added graphics/controller/ps/L1-white.png
Binary file added graphics/controller/ps/L2-white.png
Binary file added graphics/controller/ps/R1-white.png
Binary file added graphics/controller/ps/R2-white.png
Binary file added graphics/controller/ps/circle-white.png
Binary file added graphics/controller/ps/cross-white.png
Binary file added graphics/controller/ps/dpad-down-white.png
Binary file added graphics/controller/ps/dpad-left-white.png
Binary file added graphics/controller/ps/dpad-right-white.png
Binary file added graphics/controller/ps/dpad-up-white.png
Binary file added graphics/controller/ps/options-white.png
Binary file added graphics/controller/ps/share-white.png
Binary file added graphics/controller/ps/square-white.png
Binary file added graphics/controller/ps/touch-pad-white.png
Binary file added graphics/controller/ps/triangle-white.png
Binary file added graphics/controller/steam-deck/L1-white.png
Binary file added graphics/controller/steam-deck/L2-white.png
Binary file added graphics/controller/steam-deck/L4-white.png
Binary file added graphics/controller/steam-deck/L5-white.png
Binary file added graphics/controller/steam-deck/R1-white.png
Binary file added graphics/controller/steam-deck/R2-white.png
Binary file added graphics/controller/steam-deck/R4-white.png
Binary file added graphics/controller/steam-deck/R5-white.png
Binary file added graphics/controller/steam-deck/menu-white.png
Binary file added graphics/controller/steam-deck/square-white.png
Binary file added graphics/controller/xbox/LB-white.png
Binary file added graphics/controller/xbox/LT-white.png
Binary file added graphics/controller/xbox/RB-white.png
Binary file added graphics/controller/xbox/RT-white.png
Binary file added graphics/controller/xbox/windows-white.png
Binary file added graphics/copy-white.png
Binary file added graphics/cursor-icon-white.png
Binary file added graphics/dropdown-white.png
Binary file added graphics/editor-tick-custom-icon-white.png
Binary file added graphics/editor-tick-once-icon-white.png
Binary file added graphics/editor-tick-sixty-icon-white.png
Binary file added graphics/enter-icon-white.png
Binary file added graphics/export-slot-white.png
Binary file added graphics/export-white.png
Binary file added graphics/go-to-minibutton-arrow-white.png
Binary file added graphics/goto-icon-white.png
Binary file added graphics/grid-view-white.png
Binary file added graphics/import-white.png
Binary file added graphics/import2-white.png
Binary file added graphics/left-arrow-white.png
Binary file added graphics/line-icon-white.png
Binary file added graphics/list-view-white.png
Binary file added graphics/map-white.png
Binary file added graphics/paint-bucket-icon-white.png
Binary file added graphics/pause-white.png
Binary file added graphics/play-white.png
Binary file added graphics/preset-white.png
Binary file added graphics/questionmark-white.png
Binary file added graphics/refresh-white.png
Binary file added graphics/rename-normal-white.png
Binary file added graphics/rename-small-black-white.png
Binary file added graphics/right-arrow-white.png
Binary file added graphics/select-area-white.png
Binary file added graphics/shuffle-white.png
Binary file added graphics/slot-item-in-hand-white.png
Binary file added graphics/speed-down-white.png
Binary file added graphics/speed-up-white.png
Binary file added graphics/spray-icon-white.png
Binary file added graphics/station-name-white.png
Binary file added graphics/stop-white.png
Binary file added graphics/sync-mods-white.png
Binary file added graphics/variations-white.png
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zk-lib",
"version": "0.14.0",
"version": "0.15.0",
"factorio_version": "1.1",
"title": "ZwerOxotnik's extendable mod with 8 addons",
"author": "ZwerOxotnik",
Expand Down
Loading

0 comments on commit ac6382a

Please sign in to comment.