initial compatibility with modmash splinter
This commit is contained in:
parent
9a650c09fc
commit
dbf323fff9
5 changed files with 49 additions and 2 deletions
|
|
@ -1,5 +1,10 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
|
Date: 2020-12-07
|
||||||
|
Features:
|
||||||
|
- Compatible with Modmash
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.8.3
|
||||||
Date: 2020-12-07
|
Date: 2020-12-07
|
||||||
Features:
|
Features:
|
||||||
- Compatible with 5Dim's
|
- Compatible with 5Dim's
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,8 @@ require("titanium-recipe-final-transport")
|
||||||
-- 5Dim's final fixes
|
-- 5Dim's final fixes
|
||||||
require("titanium-recipe-final-5d")
|
require("titanium-recipe-final-5d")
|
||||||
|
|
||||||
|
-- Modmash final fixes
|
||||||
|
require("titanium-recipe-final-modmash")
|
||||||
|
|
||||||
|
|
||||||
require("titanium-data-final-settings")
|
require("titanium-data-final-settings")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztitanium",
|
"name": "bztitanium",
|
||||||
"version": "0.8.3",
|
"version": "0.9.0",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Titanium",
|
"title": "Titanium",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
@ -15,7 +15,8 @@
|
||||||
"? Pre0-17-60Oil",
|
"? Pre0-17-60Oil",
|
||||||
"? Deadlock-SE-bridge",
|
"? Deadlock-SE-bridge",
|
||||||
"? deadlock-beltboxes-loaders",
|
"? deadlock-beltboxes-loaders",
|
||||||
"? DeadlockCrating"
|
"? DeadlockCrating",
|
||||||
|
"? modmashsplinterresources"
|
||||||
],
|
],
|
||||||
"description": "Adds titanium to the base game.\n\nTitanium is used in Low Density Structures, Flying Robot Frames and a few other places.\n\nCompatible with Krastorio 2, Space Exploration, Aircraft, 5Dim's, FE+ and other mods."
|
"description": "Adds titanium to the base game.\n\nTitanium is used in Low Density Structures, Flying Robot Frames and a few other places.\n\nCompatible with Krastorio 2, Space Exploration, Aircraft, 5Dim's, FE+ and other mods."
|
||||||
}
|
}
|
||||||
|
|
|
||||||
33
titanium-recipe-final-modmash.lua
Normal file
33
titanium-recipe-final-modmash.lua
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
if mods["modmashsplinter"] then
|
||||||
|
if mods["modmashsplinterresources"] then
|
||||||
|
util.remove_raw("recipe", "titanium-extraction-process")
|
||||||
|
|
||||||
|
data.raw.recipe["alien-enrichment-process-to-titanium-ore"].icons = {
|
||||||
|
{ icon = "__modmashsplinterresources__/graphics/icons/alien-ooze.png", icon_size = 64},
|
||||||
|
{ icon = "__bztitanium__/graphics/icons/titanium-ore.png", icon_size = 32, scale=0.5, shift= {8, 8}},
|
||||||
|
}
|
||||||
|
|
||||||
|
if mods["modmashsplinterenrichment"] then
|
||||||
|
data.raw.recipe["ore-enrichment-process-titanium-ore"].icons = {
|
||||||
|
{ icon = "__base__/graphics/icons/fluid/steam.png", icon_size = 64},
|
||||||
|
{ icon = "__bztitanium__/graphics/icons/titanium-ore.png", icon_size = 32, scale=0.5, shift= {8, 8}},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods["modmashsplinterlogistics"] then
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-transport-belt"])
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-transport-belt"].normal)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-transport-belt"].expensive)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-splitter"])
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-splitter"].normal)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-splitter"].expensive)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-underground-belt-structure"])
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-underground-belt-structure"].normal)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-underground-belt-structure"].expensive)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-mini-loader"])
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-mini-loader"].normal)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["regenerative-mini-loader"].expensive)
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -9,6 +9,11 @@ if mods["FactorioExtended-Plus-Core"] then
|
||||||
util.remove_raw("technology", "titanium-processing")
|
util.remove_raw("technology", "titanium-processing")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if mods["modmashsplinterresources"] then
|
||||||
|
util.remove_raw("item", "titanium-plate")
|
||||||
|
util.remove_raw("recipe", "titanium-extraction-process")
|
||||||
|
end
|
||||||
|
|
||||||
data:extend(
|
data:extend(
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue