support Aircraft mod
This commit is contained in:
parent
44965bf3aa
commit
c1b77a4e5f
4 changed files with 31 additions and 2 deletions
|
|
@ -4,6 +4,8 @@ Adds titanium ore and plates to the base game. It requires lubricant to mine.
|
|||
Most recipes that should be lightweight that use steel now use titanium. Other minor recipe tweaks as well.
|
||||
|
||||
## Version History
|
||||
- 0.5.0 Support Aircraft mod
|
||||
|
||||
- 0.4.1 Some more flavorful recipe changes for Krastorio2.
|
||||
|
||||
- 0.4.0 Support Krastorio2 including enriched titanium
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztitanium",
|
||||
"version": "0.4.1",
|
||||
"version": "0.5.0",
|
||||
"factorio_version": "1.0",
|
||||
"title": "Titanium",
|
||||
"author": "Brevven",
|
||||
|
|
@ -11,8 +11,9 @@
|
|||
"? aai-industry",
|
||||
"? space-exploration",
|
||||
"? Krastorio2",
|
||||
"? Aircraft",
|
||||
"? Pre0-17-60Oil"
|
||||
],
|
||||
"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 Krastorio2 and Space Exploration."
|
||||
"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 and other mods."
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -48,3 +48,25 @@ if mods["Krastorio2"] then
|
|||
util.steel_to_titanium(data.raw.recipe["kr-quarry-drill"])
|
||||
util.steel_to_titanium(data.raw.recipe["kr-singularity-lab"])
|
||||
end
|
||||
|
||||
-- Aircraft changes
|
||||
|
||||
if mods["Aircraft"] then
|
||||
util.steel_to_titanium(data.raw.recipe["gunship"])
|
||||
util.steel_to_titanium(data.raw.recipe["gunship"].normal)
|
||||
util.steel_to_titanium(data.raw.recipe["gunship"].expensive)
|
||||
util.steel_to_titanium(data.raw.recipe["cargo-plane"])
|
||||
util.steel_to_titanium(data.raw.recipe["cargo-plane"].normal)
|
||||
util.steel_to_titanium(data.raw.recipe["cargo-plane"].expensive)
|
||||
util.steel_to_titanium(data.raw.recipe["flying-fortress"])
|
||||
util.steel_to_titanium(data.raw.recipe["flying-fortress"].normal)
|
||||
util.steel_to_titanium(data.raw.recipe["flying-fortress"].expensive)
|
||||
util.add_titanium_ingredient(10, data.raw.recipe["aircraft-afterburner"])
|
||||
util.add_titanium_ingredient(10, data.raw.recipe["aircraft-afterburner"].normal)
|
||||
util.add_titanium_ingredient(20, data.raw.recipe["aircraft-afterburner"].expensive)
|
||||
|
||||
-- jet doesn't use steel in base aircraft mod, but leave this here just in case that changes
|
||||
util.steel_to_titanium(data.raw.recipe["jet"])
|
||||
util.steel_to_titanium(data.raw.recipe["jet"].normal)
|
||||
util.steel_to_titanium(data.raw.recipe["jet"].expensive)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -25,3 +25,7 @@ if mods["Krastorio2"] then
|
|||
util.add_titanium_prerequisite(data.raw.technology["kr-electric-mining-drill-mk2"])
|
||||
util.add_titanium_prerequisite(data.raw.technology["kr-quarry-minerals-extraction"])
|
||||
end
|
||||
|
||||
if mods["Aircraft"] then
|
||||
util.add_titanium_prerequisite(data.raw.technology["advanced-aerodynamics"])
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue