weapons, some mining stuff
This commit is contained in:
parent
26aa272e56
commit
f7b7425eee
3 changed files with 50 additions and 2 deletions
|
|
@ -1,4 +1,11 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.0.5
|
||||
Date: 2021-05-18
|
||||
Features:
|
||||
- Compatibility: Orbital Ion Cannon, Weapon Pack, More Ammo, Rampant Arsenal
|
||||
- Partial compatibility: Asteroid mining (mining module recipes only, asteroids coming later)
|
||||
- Partial compatibility: VortiK's Deep Core Mining (drill recipes only, mining coming later)
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.0.4
|
||||
Date: 2021-05-18
|
||||
Features:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztungsten",
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.5",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Tungsten",
|
||||
"author": "Brevven",
|
||||
|
|
@ -11,7 +11,8 @@
|
|||
"? space-exploration",
|
||||
"? Krastorio2",
|
||||
"? deadlock-beltboxes-loaders",
|
||||
"? DeadlockCrating"
|
||||
"? DeadlockCrating",
|
||||
"? bzlead"
|
||||
],
|
||||
"description": "Adds tungsten ore (wolframite), tungsten plates, tungsten carbide and rocket engine nozzles to the base game.\n\nAvailable after green science, tungsten and the various intermediates are used throughout the vanilla game. Compatible with Space Exploration and Krastorio 2, as well as several other mods. More compatibility forthcoming."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -155,3 +155,43 @@ if mods["aai-industry"]then
|
|||
util.add_ingredient("area-mining-drill", "tungsten-carbide", 8)
|
||||
end
|
||||
|
||||
if mods["WeaponPack"] then
|
||||
util.replace_ingredient("5,56x45", "iron-plate", "tungsten-plate")
|
||||
util.replace_ingredient("5,45x39", "iron-plate", "tungsten-plate")
|
||||
util.replace_ingredient("7,62x51", "iron-plate", "tungsten-plate")
|
||||
util.replace_ingredient("5,7 × 28", "iron-plate", "tungsten-plate")
|
||||
util.replace_ingredient("12gauge", "iron-plate", "tungsten-plate")
|
||||
util.replace_ingredient("45acp", "iron-plate", "tungsten-plate")
|
||||
end
|
||||
|
||||
if mods["More_Ammo"] then
|
||||
util.replace_ingredient("acid-ammo-recipe", "iron-plate", "tungsten-plate")
|
||||
util.replace_ingredient("fire-ammo-recipe", "iron-plate", "tungsten-plate")
|
||||
util.replace_ingredient("fmj-ammo-recipe", "iron-plate", "tungsten-plate")
|
||||
util.replace_ingredient("he-ammo-recipe", "iron-plate", "tungsten-plate")
|
||||
end
|
||||
-- rampant arsenal
|
||||
util.add_ingredient("suppression-cannon-item-rampant-arsenal", "tungsten-plate", 30)
|
||||
|
||||
util.add_ingredient("orbital-ion-cannon", "rocket-engine-nozzle", 12)
|
||||
|
||||
-- vortik's deep core mining
|
||||
util.add_ingredient("vtk-deepcore-mining-moho", "tungsten-carbide", 10)
|
||||
util.add_ingredient("vtk-deepcore-mining-drone", "tungsten-carbide", 1)
|
||||
util.add_ingredient("vtk-deepcore-mining-drill", "tungsten-carbide", 20)
|
||||
util.add_ingredient("vtk-deepcore-mining-drill-advanced", "tungsten-carbide", 50)
|
||||
|
||||
|
||||
-- Asteroid mining
|
||||
function startswith(s, start)
|
||||
return string.sub(s, 1, string.len(start))==start
|
||||
end
|
||||
|
||||
if mods["Asteroid_Mining"] then
|
||||
for i, recipe in pairs(data.raw.recipe) do
|
||||
if startswith(recipe.name, "miner-module") then
|
||||
util.add_ingredient(recipe.name, "tungsten-carbide", 20)
|
||||
util.add_ingredient(recipe.name, "rocket-engine-nozzle", 12)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue