Fix mod name references

This commit is contained in:
Simon Brodtmann 2025-07-05 15:57:07 +02:00
parent 903c34b08e
commit 9f00230657
70 changed files with 132 additions and 132 deletions

View file

@ -1,5 +1,5 @@
local BioInd = require('common')('Bio_Industries')
local ICONPATH = "__Bio_Industries__/graphics/icons/"
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = "__Bio_Industries_2__/graphics/icons/"
-- If OwnlyMe's or Tral'a "Robot Tree Farm" mods are active, they will create variatons
-- of our variations of tree prototypes. Remove them!
@ -376,7 +376,7 @@ if mods["Krastorio2"] then
}
for _, recipe in pairs(data.raw.recipe) do
BioInd.writeDebug("Recipe has \"mod\" property: %s", {recipe.mod and true or false})
if recipe.mod == "Bio_Industries" then
if recipe.mod == "Bio_Industries_2" then
krastorio.recipes.multiplyIngredients(recipe.name, update, 4)
krastorio.recipes.multiplyProducts(recipe.name, update, 4)
BioInd.writeDebug("Changed ingredients for %s: %s", {recipe and recipe.name or "nil", recipe and recipe.ingredients or "nil"})

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
for var, name in pairs({
Bio_Cannon = "BI_Bio_Cannon",
@ -18,7 +18,7 @@ end
--~ BioInd.show("data.raw.recipe[\"bi-sulfur\"]", data.raw.recipe["bi-sulfur"])
BioInd.show("BI.Settings.BI_Easy_Bio_Gardens", BI.Settings.BI_Easy_Bio_Gardens)
local ICONPATH = "__Bio_Industries__/graphics/icons/"
local ICONPATH = "__Bio_Industries_2__/graphics/icons/"
----Update the Wood Pipe Images
require("prototypes.Wood_Products.pipes")
@ -810,7 +810,7 @@ BioInd.writeDebug("Removed technology " .. "bi-tech-coal-processing-" .. i)
end
end
-- Moved here from data-final-fixes.lua for 0.18.34/1.1.4! (Fixes https://mods.factorio.com/mod/Bio_Industries/discussion/5ff517c391699300236170a2)
-- Moved here from data-final-fixes.lua for 0.18.34/1.1.4! (Fixes https://mods.factorio.com/mod/Bio_Industries_2/discussion/5ff517c391699300236170a2)
-- "Transport drones" ruins rails by removing object-layer from the collision mask. That
-- causes problems for our "Wooden rail bridges" as they will also pass through cliffs.
require("prototypes.Wood_Products.rail_updates")

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
if not BI then BI = {} end
if not BI.Settings then BI.Settings = {} end

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
if not thxbob.lib.machine then thxbob.lib.machine = {} end

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
-- Merges table2's contents into table1.

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
if not thxbob.lib.item then thxbob.lib.item = {} end

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
if not thxbob.lib.recipe then thxbob.lib.recipe = {} end

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
if not thxbob.lib.tech then thxbob.lib.tech = {} end

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
local terrains = {}

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
--~ game.reload_script()

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
--~ game.reload_script()

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
--~ game.reload_script()

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
--~ game.reload_script()

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
--~ game.reload_script()

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
--~ game.reload_script()

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
--~ game.reload_script()

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
--~ game.reload_script()

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
------------------------------------------------------------------------------------
-- For some reason, the recipe for bi-biomass-2 was more advanced than the recipe
-- for bi-biomass-3. This worked because we changed their order whereever they've

View file

@ -1,7 +1,7 @@
------------------------------------------------------------------------------------
-- Just remove some obsolete global tables!
------------------------------------------------------------------------------------
--~ local BioInd = require('__Bio_Industries__/common')('Bio_Industries')
--~ local BioInd = require('__Bio_Industries_2__/common')('Bio_Industries_2')
if global and global.bi then
global.bi.terrains = nil

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
data:extend({

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
local ENTITYPATH = BioInd.modRoot .. "/graphics/entities/bio_cannon/"

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
if BI.Settings.Bio_Cannon then
data:extend({

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/entities/bio_cannon/projectiles/"
@ -297,7 +297,7 @@ if BI.Settings.Bio_Cannon then
},
sound = {
{
filename = "__Bio_Industries__/sound/boom.ogg",
filename = "__Bio_Industries_2__/sound/boom.ogg",
volume = 4.0
},
},

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/weapon/"

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
if BI.Settings.Bio_Cannon then

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
if BI.Settings.Bio_Cannon then

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
--~ if not mods["Natural_Evolution_Buildings"] and BI.Settings.Bio_Cannon then

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/technology/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/"
@ -128,7 +128,7 @@ if not data.raw.item["resin"] then
main_procuct = "",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
})
-- Order in table reflects order in display (Tech tree), so we remove the last
@ -369,7 +369,7 @@ if data.raw.item["wooden-board"] and mods["bobelectronics"] then
},
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
})
thxbob.lib.tech.add_recipe_unlock("electronics", "bi-press-wood")

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
--~ local ICONPATH = BioInd.modRoot .. "/graphics/entities/biofarm/"
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -515,7 +515,7 @@ data:extend({
},
allowed_effects = {"consumption", "speed", "pollution"},
animation = {
filename = "__Bio_Industries__/graphics/entities/cokery/cokery_sheet.png",
filename = "__Bio_Industries_2__/graphics/entities/cokery/cokery_sheet.png",
frame_count = 28,
line_length = 7,
width = 256,
@ -561,7 +561,7 @@ data:extend({
collision_box = {{-0.8, -0.8}, {0.8, 0.8}},
selection_box = {{-1.0, -1.0}, {1.0, 1.0}},
animation = {
filename = "__Bio_Industries__/graphics/entities/stone-crusher/stone_crusher_anim.png",
filename = "__Bio_Industries_2__/graphics/entities/stone-crusher/stone_crusher_anim.png",
priority = "high",
width = 65,
height = 78,
@ -570,7 +570,7 @@ data:extend({
shift = {0.0, -0.1}
},
working_visualisations = {
filename = "__Bio_Industries__/graphics/entities/stone-crusher/stone-crusher-anim.png",
filename = "__Bio_Industries_2__/graphics/entities/stone-crusher/stone-crusher-anim.png",
priority = "high",
width = 65,
height = 78,

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -190,28 +190,28 @@ function BioFarm_Pipe_Connectors_Left()
return
{
north = {
filename = "__Bio_Industries__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_l.png",
filename = "__Bio_Industries_2__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_l.png",
priority = "extra-high",
width = 51,
height = 35,
shift = {0.25, 1},
},
east = {
filename = "__Bio_Industries__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_l.png",
filename = "__Bio_Industries_2__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_l.png",
priority = "extra-high",
width = 18,
height = 48,
shift = {-1, -0.25},
},
south = {
filename = "__Bio_Industries__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_l.png",
filename = "__Bio_Industries_2__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_l.png",
priority = "extra-high",
width = 49,
height = 25,
shift = {0.5, -1},
},
west = {
filename = "__Bio_Industries__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_l.png",
filename = "__Bio_Industries_2__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_l.png",
priority = "extra-high",
width = 16,
height = 51,

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -35,7 +35,7 @@ data:extend({
order = "a[bi]-ssw-a1[bi-seed-1]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -69,7 +69,7 @@ data:extend({
order = "a[bi]-ssw-a1[bi-seed-2]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -103,7 +103,7 @@ data:extend({
order = "a[bi]-ssw-a1[bi-seed-3]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -137,7 +137,7 @@ data:extend({
order = "a[bi]-ssw-a1[bi-seed-4]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -170,7 +170,7 @@ data:extend({
order = "b[bi]-ssw-b1[bi-Seedling_Mk1]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -204,7 +204,7 @@ data:extend({
order = "b[bi]-ssw-b1[bi-Seedling_Mk2]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -237,7 +237,7 @@ data:extend({
order = "b[bi]-ssw-b1[bi-Seedling_Mk3]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -271,7 +271,7 @@ data:extend({
order = "b[bi]-ssw-b1[bi-Seedling_Mk4]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -305,7 +305,7 @@ data:extend({
order = "c[bi]-ssw-c1[raw-wood1]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -340,7 +340,7 @@ data:extend({
order = "c[bi]-ssw-c1[raw-wood2]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -375,7 +375,7 @@ data:extend({
order = "c[bi]-ssw-c1[raw-wood3]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -410,7 +410,7 @@ data:extend({
order = "c[bi]-ssw-c1[raw-wood4]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -546,7 +546,7 @@ data:extend({
allow_decomposition = false, -- Added for 0.18.34/1.1.4
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -579,7 +579,7 @@ data:extend({
allow_decomposition = false, -- Added for 0.18.34/1.1.4
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -615,7 +615,7 @@ data:extend({
allow_decomposition = false, -- Added for 0.18.34/1.1.4
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -649,7 +649,7 @@ data:extend({
allow_decomposition = true, -- Changed for 0.18.34/1.1.4
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -682,7 +682,7 @@ data:extend({
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -715,7 +715,7 @@ data:extend({
main_product = "",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -744,7 +744,7 @@ data:extend({
allow_as_intermediate = false,
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -773,7 +773,7 @@ data:extend({
allow_as_intermediate = false,
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
@ -905,7 +905,7 @@ data:extend({
--~ localised_name = {"item-name.pellet-coke"},
--~ localised_description = {"item-description.pellet-coke"},
icon = ICONPATH .. "pellet_coke_solid.png",
--icon = "__Bio_Industries__/graphics/icons/pellet_coke_c.png",
--icon = "__Bio_Industries_2__/graphics/icons/pellet_coke_c.png",
icon_size = 64,
icons = {
{
@ -1372,7 +1372,7 @@ data:extend({
order = "b[bi-fertilizer]-b[bi-adv-fertilizer-2]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local coal_processing = require("prototypes.Bio_Farm.coal_processing")
local ICONPATH = BioInd.modRoot .. "/graphics/technology/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/technology/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
--[[
@ -127,7 +127,7 @@ for id, prototype in pairs(data.raw.tree) do
local max = 2
if i <= max then
variation.trunk.layers = {{
filename = "__Bio_Industries__/graphics/icons/Seedling_a.png",
filename = "__Bio_Industries_2__/graphics/icons/Seedling_a.png",
priority = "extra-high",
width = 64,
height = 64,

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
local ENTITYPATH = "__base__/graphics/entity/boiler/"
@ -77,7 +77,7 @@ data:extend({
collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
animation = {
filename = "__Bio_Industries__/graphics/entities/bioreactor/bioreactor.png",
filename = "__Bio_Industries_2__/graphics/entities/bioreactor/bioreactor.png",
priority = "high",
width = 128,
height = 150,

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
local ENTITYPATH = "__base__/graphics/entity/assembling-machine-2/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
--~ local new_battery_icon = BioInd.check_base_version("0.18.47")
@ -244,7 +244,7 @@ if BI.Settings.BI_Bio_Fuel then
--~ order = "b[cellulose-2]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
-- PLASTIC 1 --
@ -286,7 +286,7 @@ if BI.Settings.BI_Bio_Fuel then
--~ order = "b[bi-plastic-1]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
-- PLASTIC 2 --

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/technology/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -37,7 +37,7 @@ data:extend({
off_when_no_fluid_recipe = true
},
animation = {
filename = "__Bio_Industries__/graphics/entities/biogarden/bio_garden_x.png",
filename = "__Bio_Industries_2__/graphics/entities/biogarden/bio_garden_x.png",
width = 160,
height = 160,
frame_count = 12,
@ -48,7 +48,7 @@ data:extend({
open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 },
close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 },
working_sound = {
sound = { { filename = "__Bio_Industries__/sound/rainforest_ambience.ogg", volume = 0.8 } },
sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 0.8 } },
idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
apparent_volume = 1.5,
},

View file

@ -1,7 +1,7 @@
------------------------------------------------------------------------------------
-- Create fluid fertilizers, recipes, and unlocks if the setting requires it! --
------------------------------------------------------------------------------------
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
--~ BioInd.show("fluid_fertilizer.lua -- BI.Settings.BI_Easy_Bio_Gardens", BI.Settings.BI_Easy_Bio_Gardens)

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -38,7 +38,7 @@ data:extend({
always_show_made_in = false, -- Changed for 0.18.34/1.1.4
allow_decomposition = true, -- Changed for 0.18.34/1.1.4 -- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},

View file

@ -1,8 +1,8 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
require ("util")
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
local ENTITYPATH = "__Bio_Industries__/graphics/entities/bio_solar_farm/"
local ENTITYPATH = "__Bio_Industries_2__/graphics/entities/bio_solar_farm/"
--~ local BIGICONS = BioInd.check_base_version("0.18.0")
@ -410,7 +410,7 @@ data:extend({
fire_glow_flicker_enabled = false,
fire_glow = {
north = {
filename = "__Bio_Industries__/graphics/entities/small-lamp/light-on-patch.png",
filename = "__Bio_Industries_2__/graphics/entities/small-lamp/light-on-patch.png",
priority = "extra-high",
frame_count = 1,
width = 62,
@ -420,7 +420,7 @@ data:extend({
blend_mode = "additive",
},
east = {
filename = "__Bio_Industries__/graphics/entities/small-lamp/light-on-patch.png",
filename = "__Bio_Industries_2__/graphics/entities/small-lamp/light-on-patch.png",
priority = "extra-high",
frame_count = 1,
width = 62,
@ -429,7 +429,7 @@ data:extend({
blend_mode = "additive",
},
south = {
filename = "__Bio_Industries__/graphics/entities/small-lamp/light-on-patch.png",
filename = "__Bio_Industries_2__/graphics/entities/small-lamp/light-on-patch.png",
priority = "extra-high",
frame_count = 1,
width = 62,
@ -438,7 +438,7 @@ data:extend({
blend_mode = "additive",
},
west = {
filename = "__Bio_Industries__/graphics/entities/small-lamp/light-on-patch.png",
filename = "__Bio_Industries_2__/graphics/entities/small-lamp/light-on-patch.png",
priority = "extra-high",
frame_count = 1,
width = 62,

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -203,7 +203,7 @@ return
{
layers = {
{
filename = "__Bio_Industries__/graphics/entities/bio_turret/bio_turret.png",
filename = "__Bio_Industries_2__/graphics/entities/bio_turret/bio_turret.png",
priority = "medium",
scale = 0.5,
width = 224,
@ -274,7 +274,7 @@ data:extend({
}, ]]
range = 20,
sound = {
filename = "__Bio_Industries__/sound/dart-turret.ogg",
filename = "__Bio_Industries_2__/sound/dart-turret.ogg",
volume = 0.85
},
},
@ -309,7 +309,7 @@ data:extend({
projectile_creation_distance = 1.125,
range = 17,
sound = {
filename = "__Bio_Industries__/sound/dart-turret.ogg",
filename = "__Bio_Industries_2__/sound/dart-turret.ogg",
volume = 0.65
},
},

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
--~ local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -50,7 +50,7 @@ data:extend({
order = "[bio-ammo]-a-[darts]-1",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
--- Standard Dart Ammo
@ -249,7 +249,7 @@ data:extend({
order = "b[turret]-e[bi-dart-turret]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
--- Dart Rifle
@ -303,5 +303,5 @@ data:extend({
},
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
})

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
if mods["IndustrialRevolution"] then
------------------------------------------------------------------------------------

View file

@ -2,7 +2,7 @@ if not BI.Settings.BI_Bigger_Wooden_Chests then
return
end
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
BioInd.writeDebug("Creating bigger wooden chests!")

View file

@ -2,7 +2,7 @@ if not BI.Settings.BI_Bigger_Wooden_Chests then
return
end
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -2,7 +2,7 @@ if not BI.Settings.BI_Bigger_Wooden_Chests then
return
end
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
local WOODPATH = BioInd.modRoot .. "/graphics/entities/wood_products/"

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
--~ local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -134,7 +134,7 @@ local pipes_sheet = {
}
}
local sheet_path = "__Bio_Industries__/graphics/entities/wood_products/wood_pipe/"
local sheet_path = "__Bio_Industries_2__/graphics/entities/wood_products/wood_pipe/"
local sheet_name = "pipe_sheet.png"
function change_graphics (was_picture, sheet_element, quality)

View file

@ -1,4 +1,4 @@
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
@ -51,7 +51,7 @@ data:extend({
order = "a[energy]-b[small-electric-pole]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
--- Huge Wooden Pole
@ -103,7 +103,7 @@ data:extend({
order = "a[energy]-d[big-electric-pole]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
--- Wooden Fence
@ -150,7 +150,7 @@ data:extend({
subgroup = "defensive-structure",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
--- Wooden Rail
@ -411,7 +411,7 @@ data:extend({
order = "a[pipe]-1a[pipe]",
-- This is a custom property for use by "Krastorio 2" (it will change
-- ingredients/results; used for wood/wood pulp)
mod = "Bio_Industries",
mod = "Bio_Industries_2",
},
-- Wood Pipe to Ground

View file

@ -1,4 +1,4 @@
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
data:extend(
{
@ -8,11 +8,11 @@ data:extend(
name = "bio-industries",
order = "vaa-a",
inventory_order = "v-a",
icon = "__Bio_Industries__/graphics/technology/BioIndustries_64.png",
icon = "__Bio_Industries_2__/graphics/technology/BioIndustries_64.png",
icon_size = 64,
icons = {
{
icon = "__Bio_Industries__/graphics/technology/BioIndustries_64.png",
icon = "__Bio_Industries_2__/graphics/technology/BioIndustries_64.png",
icon_size = 64,
}
},

View file

@ -1,5 +1,5 @@
-- Add functions that are also used in other files (debugging output etc.)
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
BioInd.writeDebug("Entered prototypes.hidden_lamps.lua of \"%s\".", {BioInd.modName})
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,5 +1,5 @@
-- Add functions that are also used in other files (debugging output etc.)
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
BioInd.writeDebug("Entered prototypes.hidden_panels.lua of \"%s\".", {BioInd.modName})
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -1,5 +1,5 @@
-- Add functions that are also used in other files (debugging output etc.)
local BioInd = require('common')('Bio_Industries')
local BioInd = require('common')('Bio_Industries_2')
BioInd.writeDebug("Entered prototypes.hidden_radars.lua of \"%s\".", {BioInd.modName})
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"

View file

@ -4,7 +4,7 @@
-- read!
--------------------------------------------------------------------
--~ local BioInd = require('common')('Bio_Industries')
--~ local BioInd = require('common')('Bio_Industries_2')
local settings_changed = {}
@ -32,7 +32,7 @@ log("Entered function settings_changed.musk_floor!")
force = BioInd.MuskForceName
-- Singleplayer mode: use force of first player
elseif not game.is_multiplayer() then
-- Apparently, this crashed for someone (https://mods.factorio.com/mod/Bio_Industries/discussion/649d41b778d997d29385b8cf).
-- Apparently, this crashed for someone (https://mods.factorio.com/mod/Bio_Industries_2/discussion/649d41b778d997d29385b8cf).
-- Could it be that a game that was originally a multiplayer game has been saved and reused
-- as singleplayer game, but there was no player 1? Let's go over all players and break after
-- the first hit, so we make sure we'll get the single player whatever its index!