forked from cacklingfiend/Bio_Industries_2
Compare commits
No commits in common. "80c904f82aaa3f4d1d4aeb0ac55ecd1f252d09ad" and "64bfb00826d9b5937b7ddeaa8d4a51dccb6f811a" have entirely different histories.
80c904f82a
...
64bfb00826
5 changed files with 143 additions and 123 deletions
|
|
@ -1,3 +0,0 @@
|
|||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
|
@ -1,9 +1,4 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.28
|
||||
Date: 01.11.2025
|
||||
Changes:
|
||||
- Add wooden rails again (thanks MAGGen)
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.27
|
||||
Date: 21.10.2025
|
||||
Changes:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Bio_Industries_2",
|
||||
"version": "2.0.28",
|
||||
"version": "2.0.27",
|
||||
"factorio_version": "2.0",
|
||||
"title": "Bio Industries",
|
||||
"author": "TheSAguy - Had a few Ideas, Pi-C (Programming Genius), Snouz (Graphics Wizard), Cackling Fiend - Conversion to F2.0",
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ if BI.Settings.BI_Game_Tweaks_Disassemble then
|
|||
},
|
||||
main_product = "",
|
||||
},
|
||||
----
|
||||
{
|
||||
type = "recipe",
|
||||
name = "bi-burner-inserter-disassemble",
|
||||
|
|
@ -60,6 +61,7 @@ if BI.Settings.BI_Game_Tweaks_Disassemble then
|
|||
},
|
||||
main_product = "",
|
||||
},
|
||||
----
|
||||
{
|
||||
type = "recipe",
|
||||
name = "bi-long-handed-inserter-disassemble",
|
||||
|
|
@ -83,6 +85,7 @@ if BI.Settings.BI_Game_Tweaks_Disassemble then
|
|||
},
|
||||
main_product = "",
|
||||
},
|
||||
---
|
||||
{
|
||||
type = "recipe",
|
||||
name = "bi-stone-furnace-disassemble",
|
||||
|
|
@ -104,6 +107,7 @@ if BI.Settings.BI_Game_Tweaks_Disassemble then
|
|||
},
|
||||
main_product = "",
|
||||
},
|
||||
---
|
||||
{
|
||||
type = "recipe",
|
||||
name = "bi-steel-furnace-disassemble",
|
||||
|
|
@ -130,8 +134,9 @@ if BI.Settings.BI_Game_Tweaks_Disassemble then
|
|||
})
|
||||
end
|
||||
|
||||
local KRAS = (mods["Krastorio2"] or mods["Krastorio"]) and true or false
|
||||
local SET = settings.startup["BI_Game_Tweaks_Production_Science"].value
|
||||
if SET and not mods["Krastorio2"] then
|
||||
if SET and not KRAS then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
|
|
@ -150,6 +155,5 @@ if SET and not mods["Krastorio2"] then
|
|||
--~ thxbob.lib.tech.add_recipe_unlock("production-science-pack", "bi-production-science-pack")
|
||||
BioInd.writeDebug("Added alternative recipe for Production science packs.")
|
||||
else
|
||||
BioInd.writeDebug("Didn't add alternative recipe for Production science packs! (\"Krastorio\": %s\tSetting: %s",
|
||||
{ (mods["Krastorio2"] and "active" or "not active"), (SET and "enabled" or "disabled") })
|
||||
BioInd.writeDebug("Didn't add alternative recipe for Production science packs! (\"Krastorio\": %s\tSetting: %s", {(KRAS and "active" or "not active"), (SET and "enabled" or "disabled")})
|
||||
end
|
||||
|
|
@ -1,10 +1,19 @@
|
|||
require ("prototypes.Wood_Products.rail-pictures-wood")
|
||||
|
||||
local BioInd = require('common')('Bio_Industries_2')
|
||||
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
|
||||
local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/"
|
||||
local item_sounds = require("__base__.prototypes.item_sounds")
|
||||
|
||||
|
||||
local hit_effects = require ("__base__.prototypes.entity.hit-effects")
|
||||
local sounds = require("__base__.prototypes.entity.sounds")
|
||||
local tile_sounds = require("__base__.prototypes.tile.tile-sounds")
|
||||
local simulations = require("__base__.prototypes.factoriopedia-simulations")
|
||||
|
||||
|
||||
if BI.Settings.BI_Game_Tweaks_Recipe then
|
||||
|
||||
|
||||
data:extend({
|
||||
---- ITEM
|
||||
|
|
@ -20,7 +29,8 @@ data:extend({
|
|||
drop_sound = item_sounds.train_inventory_move,
|
||||
place_result = "bi-straight-rail-wood",
|
||||
stack_size = 100,
|
||||
rails = {
|
||||
rails =
|
||||
{
|
||||
"bi-straight-rail-wood",
|
||||
"bi-curved-rail-a-wood",
|
||||
"bi-curved-rail-b-wood",
|
||||
|
|
@ -62,7 +72,8 @@ data:extend({
|
|||
name = "bi-rail-wood-to-concrete",
|
||||
icons = { {icon = ICONPATH_E .. "rail-wood-to-concrete.png", icon_size = 64, } },
|
||||
enabled = false,
|
||||
ingredients = {
|
||||
ingredients =
|
||||
{
|
||||
{type = "item", name = "bi-rail-wood", amount = 2},
|
||||
{type = "item", name = "stone-brick", amount = 6},
|
||||
|
||||
|
|
@ -84,10 +95,12 @@ data:extend({
|
|||
minable = {mining_time = 0.2, result = "bi-rail-wood", count = 1},
|
||||
max_health = 200,
|
||||
corpse = "straight-rail-remnants",
|
||||
dying_explosion = {
|
||||
dying_explosion =
|
||||
{
|
||||
name = "rail-explosion"
|
||||
},
|
||||
resistances = {
|
||||
resistances =
|
||||
{
|
||||
{
|
||||
type = "fire",
|
||||
percent = 100
|
||||
|
|
@ -124,7 +137,8 @@ data:extend({
|
|||
minable = {mining_time = 0.2, result = "bi-rail-wood", count = 2},
|
||||
max_health = 200,
|
||||
corpse = "half-diagonal-rail-remnants",
|
||||
dying_explosion = {
|
||||
dying_explosion =
|
||||
{
|
||||
{
|
||||
name = "rail-explosion",
|
||||
offset = {0.9, 2.2}
|
||||
|
|
@ -137,7 +151,8 @@ data:extend({
|
|||
offset = {-1.2, -2}
|
||||
}
|
||||
},
|
||||
resistances = {
|
||||
resistances =
|
||||
{
|
||||
{
|
||||
type = "fire",
|
||||
percent = 100
|
||||
|
|
@ -171,7 +186,8 @@ data:extend({
|
|||
minable = {mining_time = 0.2, result = "bi-rail-wood", count = 3},
|
||||
max_health = 200,
|
||||
corpse = "curved-rail-a-remnants",
|
||||
dying_explosion = {
|
||||
dying_explosion =
|
||||
{
|
||||
{
|
||||
name = "rail-explosion",
|
||||
offset = {0.9, 2.2}
|
||||
|
|
@ -184,7 +200,8 @@ data:extend({
|
|||
offset = {-1.2, -2}
|
||||
}
|
||||
},
|
||||
resistances = {
|
||||
resistances =
|
||||
{
|
||||
{
|
||||
type = "fire",
|
||||
percent = 100
|
||||
|
|
@ -219,7 +236,8 @@ data:extend({
|
|||
minable = {mining_time = 0.2, result = "bi-rail-wood", count = 3},
|
||||
max_health = 200,
|
||||
corpse = "curved-rail-b-remnants",
|
||||
dying_explosion = {
|
||||
dying_explosion =
|
||||
{
|
||||
{
|
||||
name = "rail-explosion",
|
||||
offset = {0.9, 2.2}
|
||||
|
|
@ -232,7 +250,8 @@ data:extend({
|
|||
offset = {-1.2, -2}
|
||||
}
|
||||
},
|
||||
resistances = {
|
||||
resistances =
|
||||
{
|
||||
{
|
||||
type = "fire",
|
||||
percent = 100
|
||||
|
|
@ -256,3 +275,8 @@ data:extend({
|
|||
fast_replaceable_group = "curved-rail-b",
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue