Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd5e530c4e | ||
|
|
bdec333538 | ||
|
|
e732daf307 |
11 changed files with 26 additions and 9 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.1.1
|
||||||
|
Date: 16.03.2026
|
||||||
|
Bug Fixes:
|
||||||
|
- bzlib fixes
|
||||||
|
- SE: Fix scrap recycling
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Date: 11.03.2026
|
Date: 11.03.2026
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
4
Cobalt2/data-util.lua
Normal file
4
Cobalt2/data-util.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
local me = require("me")
|
||||||
|
local util = require("__bzlib__/data-util");
|
||||||
|
util.initialize(me)
|
||||||
|
return util
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Cobalt2",
|
"name": "Cobalt2",
|
||||||
"version": "2.1.0",
|
"version": "2.1.1",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "Cobalt",
|
"title": "Cobalt",
|
||||||
"description": "Cobalt is a mod adding the element Cobalt.\n\nThis mod is inspired by Brevven's BZ mods.",
|
"description": "Cobalt is a mod adding the element Cobalt.\n\nThis mod is inspired by Brevven's BZ mods.",
|
||||||
|
|
|
||||||
7
Cobalt2/me.lua
Normal file
7
Cobalt2/me.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
local me = {}
|
||||||
|
|
||||||
|
me.name = "Cobalt2"
|
||||||
|
me.bypass = {}
|
||||||
|
me.add_modified = function() end
|
||||||
|
|
||||||
|
return me
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bzlib__/data-util")
|
local util = require("data-util")
|
||||||
|
|
||||||
if mods["248k-Redux"] then
|
if mods["248k-Redux"] then
|
||||||
data:extend({
|
data:extend({
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bzlib__/data-util")
|
local util = require("data-util")
|
||||||
|
|
||||||
if mods["Krastorio2"] then
|
if mods["Krastorio2"] then
|
||||||
data:extend(
|
data:extend(
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
-- Additional recipes if Space Exploration mod is enabled
|
-- Additional recipes if Space Exploration mod is enabled
|
||||||
local util = require("__bzlib__/data-util")
|
local util = require("data-util")
|
||||||
|
|
||||||
if mods["space-exploration"] then
|
if mods["space-exploration"] then
|
||||||
se_delivery_cannon_recipes["cobaltite-ore"] = {name= "cobaltite-ore"}
|
se_delivery_cannon_recipes["cobaltite-ore"] = {name= "cobaltite-ore"}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bzlib__/data-util")
|
local util = require("data-util")
|
||||||
|
|
||||||
data:extend({{
|
data:extend({{
|
||||||
type = "item-subgroup",
|
type = "item-subgroup",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bzlib__/data-util")
|
local util = require("data-util")
|
||||||
|
|
||||||
local cobaltCarbidePre = {"chemical-science-pack"}
|
local cobaltCarbidePre = {"chemical-science-pack"}
|
||||||
local cobaltCarbideIng = {
|
local cobaltCarbideIng = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bzlib__/data-util")
|
local util = require("data-util")
|
||||||
|
|
||||||
if mods["space-exploration"] then
|
if mods["space-exploration"] then
|
||||||
util.add_product("se-core-fragment-omni", { type = "item", name = "cobaltite-ore", amount = 3 })
|
util.add_product("se-core-fragment-omni", { type = "item", name = "cobaltite-ore", amount = 3 })
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local util = require("__bzlib__/data-util")
|
local util = require("data-util")
|
||||||
|
|
||||||
-- Main vanilla changes
|
-- Main vanilla changes
|
||||||
util.set_main_product("copper-plate", "copper-plate")
|
util.set_main_product("copper-plate", "copper-plate")
|
||||||
|
|
@ -52,7 +52,7 @@ if mods["Krastorio2"] then
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods["space-exploration"] then
|
if mods["space-exploration"] then
|
||||||
util.add_product(mods["space-exploration"] and "se-scrap-recycling", {type="item", name="cobaltite-ore", amount=1, probability=0.05})
|
util.add_product(mods["space-exploration"] and "se-scrap-hard-recycling", {type="item", name="cobaltite-ore", amount=1, probability=0.05})
|
||||||
|
|
||||||
util.remove_ingredient("se-space-plasma-generator", "nickel-electromagnet")
|
util.remove_ingredient("se-space-plasma-generator", "nickel-electromagnet")
|
||||||
util.add_ingredient("se-space-plasma-generator", "cobalt-electromagnet", 100)
|
util.add_ingredient("se-space-plasma-generator", "cobalt-electromagnet", 100)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue