rename util to data-util
This commit is contained in:
parent
f11cf11ae3
commit
67cbec7671
15 changed files with 15 additions and 15 deletions
|
|
@ -7,7 +7,7 @@ require("lead-recipe-final-rrr")
|
|||
|
||||
----
|
||||
|
||||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||
-- If furnaces are treated as furnaces, we need 2 outputs
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
-- Enriched Lead for Krastorio2
|
||||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
if mods["Krastorio2"] then
|
||||
data:extend(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
-- Matter recipes for Krastorio2
|
||||
if mods["Krastorio2"] then
|
||||
local matter = require("__Krastorio2__/lib/public/data-stages/matter-util")
|
||||
local matter = require("__Krastorio2__/lib/public/data-stages/matter-data-util")
|
||||
|
||||
data:extend(
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
local resource_autoplace = require('resource-autoplace');
|
||||
local noise = require('noise');
|
||||
|
||||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
data:extend({
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
if mods["5dim_core"] then
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
if mods["Rich-Rocks-Requiem"] then
|
||||
if data.raw.recipe["rrr-stone-processing"] then
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- Titanium recipe & tech changes
|
||||
-- These are in "final" for compatibility with other mods such as Space Exploration, AAI and Krastorio 2
|
||||
|
||||
local util = require("__bztitanium__.util");
|
||||
local util = require("__bztitanium__.data-util");
|
||||
|
||||
if (mods["bobrevamp"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||
-- TODO
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
-- Additional recipes if Space Exploration mod is enabled
|
||||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
if mods["space-exploration"] then
|
||||
se_delivery_cannon_recipes[util.me.lead_ore] = {name= util.me.lead_ore}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
-- Titanium recipe & tech changes
|
||||
--
|
||||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"] and not mods["IndustrialRevolution"]) then
|
||||
util.replace_ingredient("pipe", "iron-plate", "lead-plate")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
-- Lead smelting
|
||||
|
||||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"] and not mods["IndustrialRevolution"]) then
|
||||
data:extend({
|
||||
|
|
|
|||
2
omni.lua
2
omni.lua
|
|
@ -1,4 +1,4 @@
|
|||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||
if omni and omni.matter then
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
local leadutil = require("__bzlead__.util");
|
||||
require("util")
|
||||
local leadutil = require("__bzlead__.data-util");
|
||||
require("data-util")
|
||||
|
||||
if leadutil.me.more_entities() then
|
||||
data:extend({
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local util = require("__bzlead__.util");
|
||||
local util = require("__bzlead__.data-util");
|
||||
|
||||
|
||||
local ore = "lead-ore"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue