rename util again
This commit is contained in:
parent
2cd53c60d8
commit
6dfc77c3a4
11 changed files with 10 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
local futil = require("util");
|
local futil = require("util");
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
if util.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods["Krastorio2"] then
|
if util.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods["Krastorio2"] then
|
||||||
log("Using advanced carbon furnace")
|
log("Using advanced carbon furnace")
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ require("tungsten-recipe-final-rrr")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
-- Only burners can make tungsten carbide in vanilla
|
-- Only burners can make tungsten carbide in vanilla
|
||||||
for i, entity in pairs(data.raw.furnace) do
|
for i, entity in pairs(data.raw.furnace) do
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
-- Enriched Titanium for Krastorio2
|
-- Enriched Titanium for Krastorio2
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
if mods["Krastorio2"] then
|
if mods["Krastorio2"] then
|
||||||
data:extend({
|
data:extend({
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
local resource_autoplace = require('resource-autoplace');
|
local resource_autoplace = require('resource-autoplace');
|
||||||
local noise = require('noise');
|
local noise = require('noise');
|
||||||
|
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
if mods["5dim_core"] then
|
if mods["5dim_core"] then
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
if mods["Rich-Rocks-Requiem"] then
|
if mods["Rich-Rocks-Requiem"] then
|
||||||
if data.raw.recipe["rrr-stone-processing"] then
|
if data.raw.recipe["rrr-stone-processing"] then
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
-- Deadlock stacking recipes
|
-- Deadlock stacking recipes
|
||||||
|
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
if deadlock then
|
if deadlock then
|
||||||
deadlock.add_stack("tungsten-ore", "__bztungsten__/graphics/icons/stacked/tungsten-ore-stacked.png", "deadlock-stacking-2", 64)
|
deadlock.add_stack("tungsten-ore", "__bztungsten__/graphics/icons/stacked/tungsten-ore-stacked.png", "deadlock-stacking-2", 64)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
-- Additional recipes if Space Exploration mod is enabled
|
-- Additional recipes if Space Exploration mod is enabled
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
if mods["space-exploration"] then
|
if mods["space-exploration"] then
|
||||||
se_delivery_cannon_recipes["tungsten-ore"] = {name= "tungsten-ore"}
|
se_delivery_cannon_recipes["tungsten-ore"] = {name= "tungsten-ore"}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
-- Lamps
|
-- Lamps
|
||||||
util.add_prerequisite("optics", util.tungsten_processing)
|
util.add_prerequisite("optics", util.tungsten_processing)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
-- Tungsten smelting
|
-- Tungsten smelting
|
||||||
|
|
||||||
local util = require("__bztungsten__.tungsten-util");
|
local util = require("__bztungsten__.data-util");
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{ type = "recipe-category", name = "smelting-carbon"},
|
{ type = "recipe-category", name = "smelting-carbon"},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue