k2 matter price
This commit is contained in:
parent
aabe7bd3d2
commit
ade23d7b2a
4 changed files with 20 additions and 2 deletions
|
|
@ -1,4 +1,10 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.9.9
|
||||
Date: 2021-01-09
|
||||
Changes:
|
||||
- Matter to titanium ore recipe cost
|
||||
- Very minor compatibility tweaks for py
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.9.8
|
||||
Date: 2021-01-07
|
||||
Fixes:
|
||||
|
|
|
|||
|
|
@ -56,6 +56,18 @@ function data_util.add_titanium_prerequisite(technology)
|
|||
table.insert(technology.prerequisites, data_util.titanium_processing)
|
||||
end
|
||||
|
||||
--- removes a prerequisite tech
|
||||
function data_util.remove_prerequisite(tech, prereq)
|
||||
if data.raw.technology[tech] then
|
||||
for i=1, #data.raw.technology[tech].prerequisites, 1 do
|
||||
if data.raw.technology[tech].prerequisites[i] == prereq then
|
||||
table.remove(data.raw.technology[tech].prerequisites, i)
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--- Change all occurances of steel plates to titanium plates in a given recipe
|
||||
function data_util.steel_to_titanium(recipe)
|
||||
data_util.replace_ingredient(recipe, "steel-plate", data_util.titanium_plate)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztitanium",
|
||||
"version": "0.9.8",
|
||||
"version": "0.9.9",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Titanium",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ local titanium_ore_matter =
|
|||
minimum_conversion_quantity = 10,
|
||||
matter_value = 8,
|
||||
energy_required = 1,
|
||||
need_stabilizer = true,
|
||||
need_stabilizer = false,
|
||||
unlocked_by_technology = "titanium-matter-processing"
|
||||
}
|
||||
matter.createMatterRecipe(titanium_ore_matter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue