big turbine

This commit is contained in:
PreLeyZero 2022-05-13 16:30:06 +02:00
parent 5c5e90af57
commit d20c0de598
12 changed files with 191 additions and 0 deletions

View file

@ -4,6 +4,7 @@ Date: 13.5.2022
Features: Features:
- added a better ceramic recipe in fission stage - added a better ceramic recipe in fission stage
- added descriptions to a lot of machines/items - added descriptions to a lot of machines/items
- added high capacity steam turbine
Changes: Changes:
- all building icons are now brighter - all building icons are now brighter

View file

@ -60,6 +60,7 @@ require('prototypes/fusion/fu_plasma')
require('prototypes/fusion/fu_materials') require('prototypes/fusion/fu_materials')
require('prototypes/fusion/fu_magnet') require('prototypes/fusion/fu_magnet')
require('prototypes/fusion/fu_miner') require('prototypes/fusion/fu_miner')
require('prototypes/fusion/fu_turbine')
require('prototypes/gravitation/gr_crafter') require('prototypes/gravitation/gr_crafter')
require('prototypes/gravitation/gr_materials') require('prototypes/gravitation/gr_materials')

View file

@ -206,6 +206,7 @@ fu_hydrogen=Hydrogen
fu_oxygen=Oxygen fu_oxygen=Oxygen
fu_lead_fluid_hot=Liquid lead coolant [color=red](1500°C)[/color] fu_lead_fluid_hot=Liquid lead coolant [color=red](1500°C)[/color]
fu_lead_fluid_cold=Liquid lead coolant [color=blue](500°C)[/color] fu_lead_fluid_cold=Liquid lead coolant [color=blue](500°C)[/color]
fu_hot_steam=Critical steam
fu_protium=Protium-H[1] fu_protium=Protium-H[1]
fu_deuterium=Deuterium-H[2] fu_deuterium=Deuterium-H[2]
fu_tritium=Tritium-H[3] fu_tritium=Tritium-H[3]
@ -399,6 +400,7 @@ fu_star_engine_cooler_up_entity=Star engine - cooling unit (top side)
fu_star_engine_core_entity=Star engine - fusion core fu_star_engine_core_entity=Star engine - fusion core
fu_star_engine_heater_entity=Star engine - heating unit (right side) fu_star_engine_heater_entity=Star engine - heating unit (right side)
fu_star_engine_heater_left_entity=Star engine - heating unit (left side) fu_star_engine_heater_left_entity=Star engine - heating unit (left side)
fu_turbine_entity=Big turbine
fu_laser_entity=Laser facility fu_laser_entity=Laser facility
fu_plasma_entity=Plasma facility fu_plasma_entity=Plasma facility
@ -482,6 +484,7 @@ fu_tokamak_tech=Tokamak reactor
fu_robo_tech=Advanced bots fu_robo_tech=Advanced bots
fu_activator_tech=Advanced isotopes fu_activator_tech=Advanced isotopes
fu_miner_tech=Stone mining fu_miner_tech=Stone mining
fu_turbine_tech=Big turbine
fu_hydrogen_1_tech=Hydrogen refining 1 fu_hydrogen_1_tech=Hydrogen refining 1
fu_hydrogen_2_tech=Hydrogen refining 2 fu_hydrogen_2_tech=Hydrogen refining 2

View file

@ -400,4 +400,19 @@ data:extend({
subgroup = 'fu_item_subgroup_f', subgroup = 'fu_item_subgroup_f',
order = 'a-a', order = 'a-a',
}, },
{
name = 'fu_hot_steam',
type = 'fluid',
icon = sprite('fu_hot_steam.png'),
icon_size = 64,
default_temperature = 500,
max_temperature = 1500,
heat_capacity = '2010J',
base_color = { r=0.7, g=0.7, b=0.7 },
flow_color = { r=0.7, g=0.7, b=0.7 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fu_item_subgroup_f',
order = 'a-a',
},
}) })

View file

@ -2286,6 +2286,37 @@ data:extend({
time = 45, time = 45,
}, },
}, },
{
name = 'fu_turbine_tech',
type = 'technology',
icon = sprite('fu_turbine_tech.png'),
icon_size = 128,
prerequisites = {'fu_energy_tech'},
effects = {
{
type = 'unlock-recipe',
recipe = 'fu_turbine_recipe',
},
--{
-- type = 'unlock-recipe',
-- recipe = 'fu_stelerator_1_recipe',
--},
{
type = 'unlock-recipe',
recipe = 'fu_exchanger_4_recipe',
},
},
unit = {
count = '400',
ingredients = {
{'chemical-science-pack',1},
{'automation-science-pack',1},
{'logistic-science-pack',1},
{'utility-science-pack',1}
},
time = 45,
},
},
--robo --robo
{ {
name = 'fu_robo_tech', name = 'fu_robo_tech',

View file

@ -515,6 +515,42 @@ data:extend({
order = 'b-a', order = 'b-a',
always_show_made_in = true, always_show_made_in = true,
}, },
{
name = 'fu_turbine_recipe',
type = 'recipe',
enabled = 'false',
ingredients = {
{type="item", name="steam-turbine", amount=5},
{type="item", name="fu_materials_KFK", amount=40},
{type="item", name="fu_materials_TIM", amount=40},
{type="item", name="concrete", amount=60},
},
results = {
{type="item", name="fu_turbine_item", amount=1},
},
result_count = 1,
energy_required = 10,
},
{
name = 'fu_exchanger_4_recipe',
type = 'recipe',
category = 'fu_exchanger_crafting_category',
main_product = 'fu_hot_steam',
enabled = 'false',
ingredients = {
{type="fluid", name="fu_lead_fluid_hot", amount=100},
{type="fluid", name="water", amount=100},
},
results = {
{type="fluid", name="fu_lead_fluid_cold", amount=100},
{type="fluid", name="fu_hot_steam", amount=100, temperature=1500},
},
result_count = 1,
energy_required = 1,
subgroup = 'fu_item_subgroup_e',
order = 'b-a',
always_show_made_in = true,
},
--fu_robo --fu_robo
{ {
name = 'fu_robo_logistic_recipe', name = 'fu_robo_logistic_recipe',

View file

@ -0,0 +1,104 @@
--local functions
local function config(name)
return settings.startup['fu_turbine_'..name].value
end
local function sprite(name)
return '__248k__/ressources/fusion/fu_turbine/fu_turbine_'..name
end
--item
data:extend({
{
name = 'fu_turbine_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'fu_turbine_entity',
stack_size = 20,
subgroup = 'fu_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'fu_turbine_entity',
type = 'generator',
icon = sprite('icon.png'),
icon_size = 64,
flags = {"player-creation","placeable-neutral"},
max_health = 300,
corpse = 'big-remnants',
collision_box = {{-3.4,-3.4},{3.4,3.4}},
selection_box = {{-3.5,-3.5},{3.5,3.5}},
map_color = {r=0, g=0, b=1, a=1},
minable = {
mining_time = 1,
result = 'fu_turbine_item',
},
effectivity = 1,
energy_source = {
type = 'electric',
usage_priority = 'primary-output',
},
fluid_usage_per_tick = 10/6,
maximum_temperature = 1500,
max_power_output = "200MW",
fluid_box = {
filter = "fu_hot_steam",
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_picture = grey_south_pipe_picture,
pipe_connections =
{
{type = "input-output", position = {-4, 0}},
{type = "input-output", position = {4, 0}},
{type = "input-output", position = {0, 4}},
{type = "input-output", position = {0, -4}}
},
production_type = "input-output"
},
--animation
horizontal_animation = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.7,
line_length = 5,
lines_per_file = 5,
frame_count = 25,
animation_speed = 0.5,
shift = {1.85,-0.6}
},
vertical_animation = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.7,
line_length = 5,
lines_per_file = 5,
frame_count = 25,
animation_speed = 0.5,
shift = {1.85,-0.6}
},
smoke = {
{
name = "smoke",
tape = "trival-smoke",
frequency = 1,
position = {0,-3},
--deviation = {x = -2, y = -2},
duration = 1,
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB