diff --git a/changelog.txt b/changelog.txt index 7bb7ad8..a73bdd1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.1.2 +Date: 2023-04-16 + Features: + - K2 matter +--------------------------------------------------------------------------------------------------- Version: 0.1.1 Date: 2023-03-28 Fixes: diff --git a/data.lua b/data.lua index e142430..fadac78 100644 --- a/data.lua +++ b/data.lua @@ -3,6 +3,8 @@ require("prototypes/chlorine") require("prototypes/epoxy") require("prototypes/pcb") +require("matter") + local util = require("data-util"); if util.se6() then diff --git a/info.json b/info.json index 3e9def8..d99f670 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzchlorine", - "version": "0.1.1", + "version": "0.1.2", "factorio_version": "1.1", "title": "Salt & Chlorine", "author": "Brevven", diff --git a/matter.lua b/matter.lua new file mode 100644 index 0000000..236a0eb --- /dev/null +++ b/matter.lua @@ -0,0 +1,15 @@ +-- Matter recipes for Krastorio2 +if mods["Krastorio2"] then + local util = require("data-util"); + + util.k2matter({ + k2matter = { + item_name = "salt", + matter_value = 2, + energy_required = 1, + need_stabilizer = false, + unlocked_by_technology = "salt-matter-processing", + }, + icon = {icon = "__bzchlorine__/graphics/icons/salt.png", icon_size = 128, scale = 1} + }) +end