Harder Technology. More Resources. Recipes are more complicated. More times consume. Campatible with angels mod & marathon mod. PLEASE READ CONFIG FILE BEFORE PLAY
hi some quick things had to be changed so that it works again, but i dont know if its implemented correctly, but like that it works again. didnt do much testing though. greetings
Due tue general restructuring inside Angel's Mods of the 30.01.2017
slag.lua:
"slag-processing-bob" => "slag-processing"
data.raw["recipe"]["slag-processing-1"].icon => data.raw["technology"]["slag-processing-1"].icon
bio.lua:
"bio-processing-1" => "bio-processing-green"
"bio-processing-artifact" => "bio-processing-alien-small"
my final files:
bio.lua
data:extend({
{ type = "recipe",
name = "wood-brick-to-thermal-water",
icon = data.raw["fluid"]["thermal-water"].icon,
category = "liquifying",
enabled = false,
subgroup = "bio-processing-alien-small",
order = "a-a",
ingredients ={
{type="fluid",name="water",amount=10},
{"wood-bricks", 1}
},
results = {
{type="fluid",name="thermal-water",amount=10}
},
energy_required = 20
},
})
table.insert( data.raw["technology"]["bio-processing-green"].effects, {type = "unlock-recipe", recipe = "wood-brick-to-thermal-water"})
slag.lua:
-- slag processing
local order = 65
local function oreToSlag(ore, amount)
if amount == nil then amount = 1 end
data:extend({
{ type = "recipe",
name = ore.."-to-slag",
icon = "BobExtended/graphics/slag-" .. ore .. ".png",
category = "mixing-furnace",
enabled = false,
subgroup = "slag-processing",
order = "z-".. string.char(order),
ingredients ={{ore, amount}},
result = "slag",
}
})
order = order + 1
end
local function addRecipes()
oreToSlag("stone", 5)
oreToSlag("coal", 5)
oreToSlag("iron-ore")
oreToSlag("copper-ore")
oreToSlag("lead-ore")
oreToSlag("tin-ore")
oreToSlag("zinc-ore")
oreToSlag("quartz")
oreToSlag("nickel-ore")
oreToSlag("silver-ore")
oreToSlag("gold-ore")
oreToSlag("cobalt-ore")
oreToSlag("bauxite-ore")
oreToSlag("rutile-ore")
oreToSlag("tungsten-ore")
--stone-crushed-dissolution
bobmods.lib.recipe.remove_ingredient("stone-crushed-dissolution", "stone-crushed")
table.insert( data.raw["recipe"]["stone-crushed-dissolution"].ingredients, {"stone-crushed", 14})
end
local function addTechnology()
bobExtended.NewTechnology("to-slag-1", {"ore-crushing"}, "a-a")
bobExtended.getTech("to-slag-1").icon = "BobExtended/graphics/technology/reverse-slag.png"
bobExtended.buildUnit("to-slag-1", 60, 15, {1, 1})
bobExtended.TechUnlockRecipe("to-slag-1", {"stone-to-slag","coal-to-slag","iron-ore-to-slag", "copper-ore-to-slag"})
bobExtended.changeUpgrade("to-slag-1")
bobExtended.NewTechnology("to-slag-2", {"to-slag-1"}, "a-a")
bobExtended.getTech("to-slag-2").icon = "BobExtended/graphics/technology/reverse-slag.png"
bobExtended.buildUnit("to-slag-2", 60, 20, {1, 1, 2, 1})
bobExtended.TechUnlockRecipe("to-slag-2", {"lead-ore-to-slag","tin-ore-to-slag","zinc-ore-to-slag", "nickel-ore-to-slag", "quartz-to-slag"})
bobExtended.changeUpgrade("to-slag-2")
bobExtended.NewTechnology("to-slag-3", {"to-slag-2"}, "a-a")
bobExtended.getTech("to-slag-3").icon = "BobExtended/graphics/technology/reverse-slag.png"
bobExtended.buildUnit("to-slag-3", 120, 30, {1, 1, 2, 1, 3, 1})
bobExtended.TechUnlockRecipe("to-slag-3", {"silver-ore-to-slag","gold-ore-to-slag","cobalt-ore-to-slag", "bauxite-ore-to-slag"})
bobExtended.changeUpgrade("to-slag-3")
bobExtended.NewTechnology("to-slag-4", {"to-slag-3"}, "a-a")
bobExtended.getTech("to-slag-4").icon = "BobExtended/graphics/technology/reverse-slag.png"
bobExtended.buildUnit("to-slag-4", 120, 45, {1, 2, 2, 2, 3, 2})
bobExtended.TechUnlockRecipe("to-slag-4", {"silver-ore-to-slag","gold-ore-to-slag"})
bobExtended.changeUpgrade("to-slag-4")
end
-- oparation
addRecipes()
addTechnology()
-- oparation
local function prism()
data:extend({
{ type = "item-subgroup",
name = "prism-slag",
group = "resource-refining",
order = "m-o2"
},
{ type = "item",
name = "bobExtended-prism",
icon = "BobExtended/graphics/prism.png",
flags = {"goes-to-main-inventory"},
subgroup = "prism-slag",
order = "a-a",
stack_size = 1
},
{ type = "recipe",
name = "bobExtended-prism",
category = "crafting-machine",
enabled = false,
order = "a",
energy_required = 55,
ingredients ={
{"ruby-5", 315},
{"sapphire-5", 88 * 3},
{"emerald-5", 71 * 3},
{"amethyst-5", 54 * 3},
{"topaz-5", 37 * 3},
{"diamond-5", 20 * 3}
},
result = "bobExtended-prism",
}
})
end
order = 65
local function addPrismRecipe(name, Iresults, Iicon)
data:extend({
{ type = "recipe",
name = "prism-slag-" .. name,
icon = Iicon,
enabled = false,
category = "crystallizing",
subgroup = "prism-slag",
energy_required = 8,
order = "a-".. string.char(order),
ingredients = {
{"bobExtended-prism", 0},
{type="fluid", name="mineral-sludge", amount=5},
},
results = Iresults
}
})
order = order + 1
end
local function addPrismrecipes()
addPrismRecipe("iron-copper", {
{type="item", name="iron-ore", amount=2, probability=0.9},
{type="item", name="copper-ore", amount=2, probability=0.9},
}, data.raw["technology"]["slag-processing-1"].icon)
addPrismRecipe("tin-lead", {
{type="item", name="tin-ore", amount=2, probability=0.9},
{type="item", name="lead-ore", amount=2, probability=0.9},
}, data.raw["technology"]["slag-processing-1"].icon)
addPrismRecipe("quartz-nickel", {
{type="item", name="quartz", amount=2, probability=0.9},
{type="item", name="nickel-ore", amount=2, probability=0.9},
}, data.raw["technology"]["slag-processing-1"].icon)
addPrismRecipe("aluminium-cobalt-zinc", {
{type="item", name="bauxite-ore", amount=2, probability=0.9},
{type="item", name="cobalt-ore", amount=2, probability=0.45},
{type="item", name="zinc-ore", amount=2, probability=0.45},
}, data.raw["technology"]["slag-processing-1"].icon)
addPrismRecipe("titanium-silver", {
{type="item", name="rutile-ore", amount=2, probability=0.9},
{type="item", name="silver-ore", amount=2, probability=0.9},
}, data.raw["technology"]["slag-processing-1"].icon)
addPrismRecipe("tungsten-gold", {
{type="item", name="tungsten-ore", amount=2, probability=0.9},
{type="item", name="gold-ore", amount=2, probability=0.9},
}, data.raw["technology"]["slag-processing-1"].icon)
bobExtended.getRecipe("slag-processing-1").results = {
{type="item", name="copper-ore", amount=1, probability=0.6},
{type="item", name="iron-ore", amount=1, probability=0.6},
}
bobExtended.getRecipe("slag-processing-2").results = {
{type="item", name="lead-ore", amount=1, probability=0.6},
{type="item", name="tin-ore", amount=1, probability=0.6},
}
bobExtended.getRecipe("slag-processing-3").results = {
{type="item", name="nickel-ore", amount=1, probability=0.6},
{type="item", name="quartz", amount=1, probability=0.6},
}
bobExtended.getRecipe("slag-processing-4").results=
{
{type="item", name="bauxite-ore", amount=1, probability=0.6},
{type="item", name="cobalt-ore", amount=1, probability=0.3},
{type="item", name="zinc-ore", amount=1, probability=0.3},
}
bobExtended.getRecipe("slag-processing-5").results={
{type="item", name="silver-ore", amount=1, probability=0.6},
{type="item", name="rutile-ore", amount=1, probability=0.6},
}
bobExtended.getRecipe("slag-processing-6").results={
{type="item", name="gold-ore", amount=1, probability=0.6},
{type="item", name="tungsten-ore", amount=1, probability=0.6},
}
end
local function addPrismTechnology()
bobExtended.NewTechnology("prism-slag-processing", {"slag-processing-2","polishing" }, "d-b")
bobExtended.getTech("prism-slag-processing").icon = "BobExtended/graphics/technology/prism.png"
bobExtended.buildUnit("prism-slag-processing", 300, 60, {1, 5, 2, 4, 3, 2, 4, 1})
bobExtended.TechUnlockRecipe("prism-slag-processing",
{ "bobExtended-prism",
"prism-slag-iron-copper",
"prism-slag-tin-lead",
"prism-slag-quartz-nickel",
"prism-slag-aluminium-cobalt-zinc",
"prism-slag-titanium-silver",
"prism-slag-tungsten-gold"
})
bobExtended.getTech("prism-slag-processing").icon_size = 128
end
-- oparation
prism()
addPrismrecipes()
addPrismTechnology()
-- oparation
data.raw["item-subgroup"]["ore-sorter"].order = "a-a"
data.raw["item-subgroup"]["ore-crusher"].order = "a-b"
data.raw["item-subgroup"]["ore-floatation"].order = "a-c"
data.raw["item-subgroup"]["ore-leaching"].order = "a-d"
data.raw["item-subgroup"]["ore-refining"].order = "a-e"
data.raw["item-subgroup"]["refining-buildings"].order = "a-f"
if data.raw["item-subgroup"]["angels-warehouses"] then
data.raw["item-subgroup"]["angels-warehouses"].order = "a-g"
end
local function basicturnback()
data:extend({
{ type = "recipe",
name = "slagIron",
icon = data.raw["item"]["iron-ore"].icon,
category = "chemical-furnace",
enabled = false,
subgroup = "prism-slag",
order = "a0",
ingredients ={{"slag", 8}, {type="fluid", name="water", amount=10}},
results = {{ "stone-crushed", 3},{type="item", name="iron-ore", amount=1, probability = 0.7}}
},
{ type = "recipe",
name = "slagCopper",
icon = data.raw["item"]["copper-ore"].icon,
category = "chemical-furnace",
enabled = false,
subgroup = "prism-slag",
order = "a1",
ingredients ={{"slag", 8}, {type="fluid", name="water", amount=10}},
results = {{ "stone-crushed", 3},{type="item", name="copper-ore", amount=1, probability = 0.7}}
}
})
bobExtended.NewTechnology("basic-slag-processing", {"ore-crushing"}, "d-b")
bobExtended.getTech("basic-slag-processing").icon = data.raw["item"]["slag"].icon
bobExtended.buildUnit("basic-slag-processing", 40, 15, {1, 1})
bobExtended.TechUnlockRecipe("basic-slag-processing", { "slagIron","slagCopper" })
table.insert(bobExtended.getTech("slag-processing-1").prerequisites, "basic-slag-processing")
end
basicturnback()
Hi dog80,
Are these files in BobExtended mod? I couldn't find them...
Hope Momo patch this soon
Since the last version of angel mods.
this mod seem to broken in somepoint.
I will update it and make compatible as soon as posible.
I recommended using
angelsinfiniteores_0.4.5 ,
angelsbioprocessing_0.2.1 ,
angelspetrochem_0.3.4 ,
angelsrefining_0.5.5 ,
angelssmelting_0.1.3
for this time.
Thank you!
hi koldun yes inside the bobextended folder, try searching the files or goto: bobextended.../prototypes/angelextended/ there they are
I have updated mod it should be compatible with last version of angels mods.
cool :)
Excellent! I was going for dog80's fix but when I downloaded the mod again it was already patched! Thank you!
any fixes for new angels mods?
And i cant find a topic for bobs extended on forum
U can download version 0.14.22 It fully compatible with last angels mod.
It didnt affect new components and logistic, came out 4 days ago as new angel mods and add a new stuff