fluid mining tweak
This commit is contained in:
parent
af8089b1ed
commit
6a6a846d5f
2 changed files with 10 additions and 7 deletions
|
|
@ -13,6 +13,7 @@ function decode(data)
|
|||
end
|
||||
|
||||
function util.check_fluid_mining()
|
||||
if me.fluid_mining then
|
||||
for i, force in pairs(game.forces) do
|
||||
if (
|
||||
(force.technologies["uranium-processing"] and force.technologies["uranium-processing"].researched) or
|
||||
|
|
@ -23,6 +24,7 @@ function util.check_fluid_mining()
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function util.get_list()
|
||||
local p = game.item_prototypes[me.name.."-list"]
|
||||
|
|
|
|||
1
me.lua
1
me.lua
|
|
@ -1,6 +1,7 @@
|
|||
local me = {}
|
||||
|
||||
me.name = "bztitanium"
|
||||
me.fluid_mining = true
|
||||
me.titanium_plate = ""
|
||||
me.titanium_processing = ""
|
||||
me.ores_for_workaround = {{name="titanium-ore", amount=100000, tiles=300}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue