diff --git a/changelog.txt b/changelog.txt index c5297b1..afcde3b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,15 @@ --------------------------------------------------------------------------------------------------- +Version: 0.5.4 +Date: 2022-01-24 + Changes: + - King Jo's vehicles recipe tweaks + - K2: Filter dirty water recipe quantity +--------------------------------------------------------------------------------------------------- +Version: 0.5.3 +Date: 2022-01-16 + Changes: + - Minor compatibility updates +--------------------------------------------------------------------------------------------------- Version: 0.5.2 Date: 2022-01-10 Changes: diff --git a/info.json b/info.json index fd52d02..575a739 100644 --- a/info.json +++ b/info.json @@ -1,5 +1,5 @@ { "name": "bztungsten", - "version": "0.5.2", + "version": "0.5.4", "factorio_version": "1.1", "title": "Tungsten", "author": "Brevven", diff --git a/tungsten-enriched.lua b/tungsten-enriched.lua index 2b90c66..242379c 100644 --- a/tungsten-enriched.lua +++ b/tungsten-enriched.lua @@ -101,7 +101,7 @@ data:extend({ }, results = { - {type = "fluid", name = "water", amount = 100, catalyst_amount = 100}, + {type = "fluid", name = "water", amount = 90, catalyst_amount = 90}, {type = "item", name = "stone", probability = 0.30, amount = 1}, {type = "item", name = "tungsten-ore", probability = 0.05, amount = 1} }, diff --git a/tungsten-recipe-5d.lua b/tungsten-recipe-5d.lua index 2366674..4792ae9 100644 --- a/tungsten-recipe-5d.lua +++ b/tungsten-recipe-5d.lua @@ -9,24 +9,27 @@ if mods["5dim_core"] then data.raw.item["tungsten-ore"].subgroup = "plates-ore" -- Industrial furnace - data:extend({ - { - type = "recipe", - name = "tungsten-plate-industrial-ore", - category = "industrial-furnace", - subgroup = "plates-industrial-ore", - order = "ad[tungsten-plate]", - icon = "__bztungsten__/graphics/icons/tungsten-plate.png", - icon_size = 128, icon_mipmaps = 3, - enabled = true, - energy_required = 50, - ingredients = {{"tungsten-ore", 85}}, - result = "tungsten-plate", - result_count = 50, - } - }) + if data.raw["recipe-category"]["industrial-furnace"] then + data:extend({ + { + type = "recipe", + name = "tungsten-plate-industrial-ore", + category = "industrial-furnace", + subgroup = "plates-industrial-ore", + order = "ad[tungsten-plate]", + icon = "__bztungsten__/graphics/icons/tungsten-plate.png", + icon_size = 128, icon_mipmaps = 3, + enabled = true, + energy_required = 50, + ingredients = {{"tungsten-ore", 85}}, + result = "tungsten-plate", + result_count = 50, + } + }) + end - -- Lead dust + -- Tungsten dust + if data.raw["recipe-category"]["mashering"] then data:extend( { { @@ -99,6 +102,7 @@ if mods["5dim_core"] then result_count = 20, } }) + end local mks = {"02", "03", "04", "05", "06", "07", "08", "09", "10"} local items = {"5d-electric-mining-drill-", "5d-chemical-plant-"} diff --git a/tungsten-recipe-updates.lua b/tungsten-recipe-updates.lua index b2b53d6..c08b818 100644 --- a/tungsten-recipe-updates.lua +++ b/tungsten-recipe-updates.lua @@ -228,6 +228,11 @@ util.add_ingredient("bolt75mk2","tungsten-plate", 1) util.add_ingredient("bolt100mk2","tungsten-plate", 1) util.replace_ingredient("bolt75kraken", "steel-plate", "tungsten-plate") util.replace_ingredient("bolt100kraken", "steel-plate", "tungsten-plate") +-- King Jo vehicles +util.replace_some_ingredient("kj_40kbaneblade", "steel-plate", 25, "tungsten-plate", 25) +util.replace_some_ingredient("kj_40kpredator", "steel-plate", 25, "tungsten-plate", 25) +util.replace_some_ingredient("kj_40kdreadnought", "steel-plate", 25, "tungsten-plate", 25) +util.replace_some_ingredient("kj_40klemanruss", "steel-plate", 25, "tungsten-plate", 25) -- additional turrets util.add_ingredient("at-acidthrower-turret", "tungsten-plate", 5)