Compare commits

..

5 commits
main ... main

Author SHA1 Message Date
Simon Brodtmann
fc6b0fa921 2.1.0 2026-03-11 23:28:15 +01:00
Simon Brodtmann
df99f7aebe Add support for fluid mining 2026-03-11 23:19:40 +01:00
Simon Brodtmann
651183d9c5 K2: Fix recipe name for enriched tungsten 2026-03-11 22:56:22 +01:00
Morganite
ec24cf7cdd 248k update fixes 2026-03-11 22:28:12 +01:00
Simon Brodtmann
548b014d6f Switch to bzlib 2026-03-11 22:27:57 +01:00
8 changed files with 35 additions and 1285 deletions

View file

@ -1,4 +1,13 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 2.1.0
Date: 11.03.2026
Changes:
- Switch to bzlib - Please install the new dependency
Bug Fixes:
- 248k: Fixes for 0.1.35 breaking changes (thanks Morganite)
- K2: Fix recipe name for enriched tungsten
- Add support for fluid mining
---------------------------------------------------------------------------------------------------
Version: 2.0.4 Version: 2.0.4
Date: 14.11.2025 Date: 14.11.2025
Bug Fixes: Bug Fixes:

View file

@ -2,18 +2,18 @@ local util = require("data-util");
if mods["248k-Redux"] then if mods["248k-Redux"] then
local cuw = util.me.cuw() and "cuw" or "tungsten-plate" local cuw = util.me.cuw() and "cuw" or "tungsten-plate"
util.add_ingredient("fu_ingot_recipe", cuw, 20) util.add_ingredient("fu_ingot", cuw, 20)
util.add_ingredient("fu_plasma_recipe", cuw, 40) util.add_ingredient("fu_plasma", cuw, 40)
util.add_ingredient("fi_crafter_recipe", cuw, 40) util.add_ingredient("fi_crafter", cuw, 40)
util.add_ingredient("fi_solid_reactor_recipe", cuw, 200) util.add_ingredient("fi_solid_reactor", cuw, 200)
util.add_ingredient("fu_tokamak_reactor_recipe", cuw, 200) util.add_ingredient("fu_tokamak_reactor", cuw, 200)
util.add_ingredient("fu_stelar_reactor_recipe", cuw, 200) util.add_ingredient("fu_stelar_reactor", cuw, 200)
util.replace_ingredient("fu_drill_recipe", util.titanium_plate, "tungsten-carbide") util.replace_ingredient("fu_miner_fuel", util.titanium_plate, "tungsten-carbide")
util.replace_ingredient("fu_drill_recipe", "fi_materials_titan", "tungsten-carbide") util.replace_ingredient("fu_miner_fuel", "fi_titan", "tungsten-carbide")
util.add_ingredient("fi_crusher_recipe", "tungsten-carbide", 10) util.add_ingredient("fi_crusher", "tungsten-carbide", 10)
-- Only modify if CuW is used -- Only modify if CuW is used
util.add_ingredient("fi_modules_base_recipe", "cuw", 1) util.add_ingredient("fi_modules_base", "cuw", 1)
end end

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View file

@ -1,6 +1,6 @@
{ {
"name": "bztungsten2", "name": "bztungsten2",
"version": "2.0.4", "version": "2.1.0",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Tungsten", "title": "Tungsten",
"description": "Adds tungsten ore (wolframite), tungsten plates, tungsten carbide and rocket engine nozzles to the base game.", "description": "Adds tungsten ore (wolframite), tungsten plates, tungsten carbide and rocket engine nozzles to the base game.",
@ -8,6 +8,7 @@
"homepage": "https://discord.gg/ufvFUJtVwk", "homepage": "https://discord.gg/ufvFUJtVwk",
"dependencies": [ "dependencies": [
"base >= 2.0", "base >= 2.0",
"bzlib",
"? space-exploration", "? space-exploration",
"? Krastorio2", "? Krastorio2",
"? deadlock-beltboxes-loaders", "? deadlock-beltboxes-loaders",

View file

@ -40,9 +40,11 @@ enriched-tungsten=Enriched tungsten
tungsten-matter-processing=Tungsten conversion tungsten-matter-processing=Tungsten conversion
advanced-carbon-furnace=__ITEM__advanced-carbon-furnace__ advanced-carbon-furnace=__ITEM__advanced-carbon-furnace__
pumpjack=__ENTITY__pumpjack__ pumpjack=__ENTITY__pumpjack__
fluid-mining=Fluid mining
[technology-description] [technology-description]
enriched-tungsten=Enrich tungsten ore, purifying with ammonia [fluid=ammonia] and water [fluid=water], improving the final yield. Produce dirty water [fluid=dirty-water] as a byproduct. enriched-tungsten=Enrich tungsten ore, purifying with ammonia [fluid=ammonia] and water [fluid=water], improving the final yield. Produce dirty water [fluid=dirty-water] as a byproduct.
fluid-mining=Allows supply of fluids to mining drills to enable mining of certain resources.
[recipe-name] [recipe-name]
enriched-tungsten=__ITEM__enriched-tungsten__ enriched-tungsten=__ITEM__enriched-tungsten__

View file

@ -54,6 +54,7 @@ data:extend({
{ {
type = "recipe", type = "recipe",
name = "enriched-tungsten-plate", name = "enriched-tungsten-plate",
localised_name = { "item-name.tungsten-plate" },
icons = icons =
{ {
{ icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3, }, { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3, },

View file

@ -1,5 +1,13 @@
local util = require("data-util") local util = require("data-util")
util.add_fluid_mining()
util.set_prerequisite("fluid-mining", { "logistic-science-pack" })
util.set_tech_recipe("fluid-mining", {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 }
})
util.add_prerequisite("tungsten-processing", "fluid-mining")
local cuw = "tungsten-plate" local cuw = "tungsten-plate"
if util.me.cuw() then cuw = "cuw" end if util.me.cuw() then cuw = "cuw" end