warptorio fix
This commit is contained in:
parent
dae998ea57
commit
3feee4ea30
5 changed files with 14 additions and 2 deletions
|
|
@ -41,6 +41,10 @@ if mods.Krastorio2 then
|
|||
util.set_tech_recipe("basic-automation", {{"basic-tech-card", 1}})
|
||||
end
|
||||
util.remove_prerequisite("automation", "smelting") -- Bitumen mod
|
||||
|
||||
-- For warptorio2 expansion with K2
|
||||
util.remove_prerequisite("laboratory", "automation-science-pack")
|
||||
util.set_tech_recipe("laboratory", {{"basic-tech-card", 1}})
|
||||
end
|
||||
|
||||
if mods["aai-industry"] then
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
|||
order = "a-h-z-a",
|
||||
}
|
||||
})
|
||||
util.set_item_subgroup("aluminum-ore", "aluminum")
|
||||
util.set_item_subgroup("alumina", "aluminum")
|
||||
util.set_item_subgroup("aluminum-plate", "aluminum")
|
||||
data:extend({
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.4.23
|
||||
Date: 2023-02-21
|
||||
Fixes:
|
||||
- Fix startup when used with both Warptorio2 Expansion and Krastorio2
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.4.22
|
||||
Date: 2023-02-12
|
||||
Fixes:
|
||||
|
|
|
|||
|
|
@ -716,6 +716,8 @@ function multiply_recipe(recipe, multiple)
|
|||
if recipe then
|
||||
if recipe.energy_required then
|
||||
recipe.energy_required = recipe.energy_required * multiple
|
||||
else
|
||||
recipe.energy_required = 0.5 * multiple -- 0.5 is factorio default
|
||||
end
|
||||
if recipe.result_count then
|
||||
recipe.result_count = recipe.result_count * multiple
|
||||
|
|
@ -1161,7 +1163,7 @@ function remove_prior_unlocks(tech, recipe)
|
|||
util.remove_recipe_effect(tech, recipe)
|
||||
if technology.prerequisites then
|
||||
for i, prerequisite in pairs(technology.prerequisites) do
|
||||
-- log("BZZZ removing prior unlocks for " .. tech ..", checking " .. prerequisite) -- Handy Debug :|
|
||||
log("BZZZ removing prior unlocks for " .. recipe .. " from " .. tech ..", checking " .. prerequisite) -- Handy Debug :|
|
||||
remove_prior_unlocks(prerequisite, recipe)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bzaluminum",
|
||||
"version": "0.4.22",
|
||||
"version": "0.4.23",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Aluminum",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue