fe+
This commit is contained in:
parent
67c568c4a1
commit
1663a51e7d
5 changed files with 19 additions and 5 deletions
|
|
@ -1,4 +1,9 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.1.4
|
||||
Date: 2021-06-15
|
||||
Features:
|
||||
- FE+ compatibility
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.1.3
|
||||
Date: 2021-06-15
|
||||
Fixes:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztungsten",
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Tungsten",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
|
|
@ -3,10 +3,6 @@ local noise = require('noise');
|
|||
|
||||
local util = require("__bztungsten__.tungsten-util");
|
||||
|
||||
if mods["FactorioExtended-Plus-Core"] then
|
||||
util.remove_raw("item", "tungsten-ore")
|
||||
end
|
||||
|
||||
data:extend({
|
||||
{
|
||||
type = "autoplace-control",
|
||||
|
|
|
|||
|
|
@ -329,3 +329,9 @@ util.add_ingredient("advanced-oil-refinery-rampant-industry", "tungsten-carbide"
|
|||
|
||||
-- Endgame Combat
|
||||
util.replace_ingredient("sulfur-bullet-magazine", "copper-plate", "tungsten-plate")
|
||||
|
||||
|
||||
-- FE+
|
||||
if util.fe_plus("Machines") then
|
||||
util.add_ingredient("oil-refinery-mk2", "tungsten-carbide", 1)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ if bobmods and bobmods.lib and bobmods.lib.recipe and bobmods.lib.tech then
|
|||
util.tungsten_processing = "bz-tungsten-processing"
|
||||
end
|
||||
|
||||
function util.fe_plus(sub)
|
||||
if mods["FactorioExtended-Plus-"..sub] then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
function util.get_setting(name)
|
||||
if settings.startup[name] == nil then
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue