Skip to content

Commit

Permalink
base_flow_rate
Browse files Browse the repository at this point in the history
  • Loading branch information
kingarthur91 committed Sep 26, 2024
1 parent 417568c commit 8a89efb
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 13 deletions.
1 change: 1 addition & 0 deletions bobelectronics/prototypes/chemicals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ data:extend({
icon = "__bobelectronics__/graphics/icons/ferric-chloride-solution.png",
icon_size = 32,
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0.6, b = 0.2 },
flow_color = { r = 0.5, g = 0.5, b = 0.5 },
Expand Down
12 changes: 8 additions & 4 deletions bobplates/prototypes/item/alien.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ then
order = "f[alien]-c",
default_temperature = 20,
max_temperature = 100,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.4, g = 0.0, b = 0.8 },
flow_color = { r = 0.6, g = 0.5, b = 1.0 },
},
Expand All @@ -50,7 +51,8 @@ then
order = "f[alien]-d",
default_temperature = 20,
max_temperature = 100,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.8, g = 0.8, b = 0.0 },
flow_color = { r = 1.0, g = 1.0, b = 0.5 },
},
Expand All @@ -63,7 +65,8 @@ then
subgroup = "bob-alien-resource",
order = "f[alien]-e",
default_temperature = 20,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.0, g = 0.8, b = 0.0 },
flow_color = { r = 0.5, g = 1.0, b = 0.5 },
max_temperature = 100,
Expand All @@ -77,7 +80,8 @@ then
subgroup = "bob-alien-resource",
order = "f[alien]-f",
default_temperature = 20,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.8, g = 0, b = 0 },
flow_color = { r = 1.0, g = 0.5, b = 0.5 },
max_temperature = 100,
Expand Down
14 changes: 14 additions & 0 deletions bobplates/prototypes/item/chemicals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ data:extend({
name = "liquid-air",
default_temperature = 25,
max_temperature = 100,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0, g = 0, b = 0 },
flow_color = { r = 0.5, g = 1.0, b = 1.0 },
Expand Down Expand Up @@ -49,6 +50,7 @@ data:extend({
type = "fluid",
name = "hydrogen",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0.7, b = 0.7 },
flow_color = { r = 1, g = 1, b = 1 },
Expand All @@ -65,6 +67,7 @@ data:extend({
type = "fluid",
name = "oxygen",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0, b = 0 },
flow_color = { r = 1, g = 0, b = 0 },
Expand All @@ -79,6 +82,7 @@ data:extend({
type = "fluid",
name = "nitrogen",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.0, g = 0.0, b = 1.0 },
flow_color = { r = 0.0, g = 0.0, b = 1.0 },
Expand All @@ -93,6 +97,7 @@ data:extend({
type = "fluid",
name = "chlorine",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0, g = 0.7, b = 0.2 },
flow_color = { r = 0, g = 1, b = 0.3 },
Expand All @@ -107,6 +112,7 @@ data:extend({
type = "fluid",
name = "hydrogen-chloride",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.2, g = 0.7, b = 0 },
flow_color = { r = 0.3, g = 1, b = 0 },
Expand All @@ -121,6 +127,7 @@ data:extend({
type = "fluid",
name = "nitrogen-dioxide",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.8, g = 0.0, b = 1.0 },
flow_color = { r = 0.8, g = 0.0, b = 1.0 },
Expand All @@ -135,6 +142,7 @@ data:extend({
type = "fluid",
name = "sulfur-dioxide",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0.7, b = 0 },
flow_color = { r = 1, g = 0.5, b = 0 },
Expand All @@ -149,6 +157,7 @@ data:extend({
type = "fluid",
name = "nitric-acid",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 1.0, g = 0.7, b = 0.0 },
flow_color = { r = 0.0, g = 0.0, b = 1.0 },
Expand All @@ -162,6 +171,7 @@ data:extend({
type = "fluid",
name = "tungstic-acid",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0, g = 0.2, b = 0.7 },
flow_color = { r = 0.5, g = 0.5, b = 0.5 },
Expand All @@ -175,6 +185,7 @@ data:extend({
type = "fluid",
name = "ferric-chloride-solution",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0.6, b = 0.2 },
flow_color = { r = 0.5, g = 0.5, b = 0.5 },
Expand All @@ -188,6 +199,7 @@ data:extend({
type = "fluid",
name = "liquid-fuel",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 1.0, g = 0.9, b = 0.5 },
flow_color = { r = 0.5, g = 0.5, b = 0.5 },
Expand Down Expand Up @@ -379,6 +391,7 @@ data:extend({
default_temperature = 25,
max_temperature = 100,
gas_temperature = -251.02,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0.7, b = 0.4 },
flow_color = { r = 1, g = 1, b = 0.6 },
Expand All @@ -394,6 +407,7 @@ data:extend({
default_temperature = 25,
max_temperature = 100,
gas_temperature = -60,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0.7, b = 0 },
flow_color = { r = 1, g = 1, b = 0.5 },
Expand Down
3 changes: 2 additions & 1 deletion bobrevamp/data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ if settings.startup["bobmods-revamp-oil"].value == true then
icon = "__bobrevamp__/graphics/icons/sour-gas.png",
icon_size = 64,
default_temperature = 25,
heat_capacity = "0.1kJ",
base_flow_rate = 100,
heat_capacity = "0.1kJ",
base_color = { r = 0.4, g = 0.1, b = 0.3 },
flow_color = { r = 0.8, g = 0.2, b = 0.6 },
max_temperature = 100,
Expand Down
3 changes: 2 additions & 1 deletion bobrevamp/prototypes/hard-mode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ if bobmods.plates and settings.startup["bobmods-revamp-hardmode"].value == true
default_temperature = 15,
max_temperature = 100,
gas_temperature = -56.6,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.5, g = 0.0, b = 0.0 },
flow_color = { r = 0.0, g = 0.0, b = 0.0 },
},
Expand Down
18 changes: 12 additions & 6 deletions bobrevamp/prototypes/rocket-fuel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ if data.raw.fluid.hydrogen and data.raw.fluid.oxygen and data.raw.fluid.nitrogen
order = "a[fluid]-g[ammonia]",
default_temperature = 15,
max_temperature = 100,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.5, g = 0.5, b = 1.0 },
flow_color = { r = 0.5, g = 0.5, b = 1.0 },
gas_temperature = -34,
Expand All @@ -22,7 +23,8 @@ if data.raw.fluid.hydrogen and data.raw.fluid.oxygen and data.raw.fluid.nitrogen
order = "a[fluid]-g[dinitrogen-tetroxide]",
default_temperature = 15,
max_temperature = 100,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0.7, b = 0.3 },
flow_color = { r = 0.3, g = 0.3, b = 0.7 },
gas_temperature = 21,
Expand All @@ -36,7 +38,8 @@ if data.raw.fluid.hydrogen and data.raw.fluid.oxygen and data.raw.fluid.nitrogen
order = "a[fluid]-g[hydrazine]",
default_temperature = 15,
max_temperature = 100,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.7, g = 0.7, b = 1.0 },
flow_color = { r = 0.3, g = 0.3, b = 0.0 },
gas_temperature = 114,
Expand All @@ -52,7 +55,8 @@ if data.raw.fluid.hydrogen and data.raw.fluid.oxygen and data.raw.fluid.nitrogen
order = "a[fluid]-g[hydrogen-peroxide]",
default_temperature = 15,
max_temperature = 100,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.0, g = 0.5, b = 1.0 },
flow_color = { r = 0.7, g = 0.7, b = 0.7 },
gas_temperature = 150,
Expand All @@ -69,7 +73,8 @@ if data.raw.fluid.hydrogen and data.raw.fluid.oxygen and data.raw.fluid.nitrogen
order = "a[fluid]-g[nitrogen-dioxide]",
default_temperature = 25,
max_temperature = 100,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.8, g = 0.0, b = 1.0 },
flow_color = { r = 0.8, g = 0.0, b = 1.0 },
gas_temperature = -12,
Expand Down Expand Up @@ -218,7 +223,8 @@ if data.raw.fluid.hydrogen and data.raw.fluid.oxygen and data.raw.fluid.nitrogen
order = "a[fluid]-g[nitric-oxide]",
default_temperature = 15,
max_temperature = 100,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 1.0, g = 0.0, b = 1.0 },
flow_color = { r = 1.0, g = 0.2, b = 1.0 },
gas_temperature = -152,
Expand Down
5 changes: 4 additions & 1 deletion bobwarfare/prototypes/item/fluid.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ if data.raw.fluid["nitric-acid"] then
type = "fluid",
name = "sulfuric-nitric-acid",
default_temperature = 25,
heat_capacity = "1kJ",
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.0, g = 0.0, b = 1.0 },
flow_color = { r = 1.0, g = 1.0, b = 0.0 },
max_temperature = 100,
Expand All @@ -20,6 +21,7 @@ data:extend({
type = "fluid",
name = "nitroglycerin",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 0.3, g = 0.3, b = 1.0 },
flow_color = { r = 1.0, g = 0.3, b = 0.3 },
Expand All @@ -33,6 +35,7 @@ data:extend({
type = "fluid",
name = "glycerol",
default_temperature = 25,
base_flow_rate = 100,
heat_capacity = "1kJ",
base_color = { r = 1.0, g = 1.0, b = 0.5 },
flow_color = { r = 0.5, g = 0.5, b = 0.5 },
Expand Down

0 comments on commit 8a89efb

Please sign in to comment.