From dfc2d6fefad098eb51653f99f88c11eff537db2f Mon Sep 17 00:00:00 2001 From: Brevven Date: Thu, 18 Mar 2021 19:24:26 -0700 Subject: [PATCH] omnimatter compat --- changelog.txt | 5 +++++ data-updates.lua | 1 + info.json | 2 +- omni.lua | 6 ++++++ 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 omni.lua diff --git a/changelog.txt b/changelog.txt index 9b190f1..48047b4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.10.5 +Date: 2021-03-18 + Features: + - Omnimatter compatibility +--------------------------------------------------------------------------------------------------- Version: 0.10.4 Date: 2021-03-14 Fixes: diff --git a/data-updates.lua b/data-updates.lua index a0b6d1b..5a43574 100644 --- a/data-updates.lua +++ b/data-updates.lua @@ -1,3 +1,4 @@ require("titanium-recipe-updates") require("titanium-matter") +require("omni") require("map-gen-preset-updates") diff --git a/info.json b/info.json index 2d3948e..3c35cd1 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bztitanium", - "version": "0.10.4", + "version": "0.10.5", "factorio_version": "1.1", "title": "Titanium", "author": "Brevven", diff --git a/omni.lua b/omni.lua new file mode 100644 index 0000000..d59308e --- /dev/null +++ b/omni.lua @@ -0,0 +1,6 @@ +if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then +if omni and omni.matter then + omni.matter.add_resource("titanium-ore", omni.matter.get_ore_tier("uranium-ore")) +end +end +