first part of overhaul towards 1.0

This commit is contained in:
Paul 2021-08-30 01:12:28 +02:00
parent cc3bbdd1bf
commit 8459cd9a34
111 changed files with 3689 additions and 335 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
makefile
*.ps1

View file

@ -17,6 +17,12 @@ require('prototypes/electronic/el_train_fuel')
require('prototypes/electronic/el_train_equipment') require('prototypes/electronic/el_train_equipment')
require('prototypes/electronic/el_energy_crystal') require('prototypes/electronic/el_energy_crystal')
require('prototypes/electronic/el_arc_furnace')
require('prototypes/electronic/el_caster')
require('prototypes/electronic/el_purifier')
require('prototypes/electronic/el_grower')
require('prototypes/electronic/el_materials')
require('prototypes/fission/fi_crafter') require('prototypes/fission/fi_crafter')
require('prototypes/fission/fi_miner') require('prototypes/fission/fi_miner')
require('prototypes/fission/fi_fuel') require('prototypes/fission/fi_fuel')
@ -30,6 +36,9 @@ require('prototypes/fission/fi_energy_crystal')
require('prototypes/fission/fi_robo') require('prototypes/fission/fi_robo')
require('prototypes/fission/fi_modules') require('prototypes/fission/fi_modules')
require('prototypes/fission/fi_fiberer')
require('prototypes/fission/fi_compound_machine')
require('prototypes/fusion/fu_fusor') require('prototypes/fusion/fu_fusor')
require('prototypes/fusion/fu_boiler') require('prototypes/fusion/fu_boiler')
require('prototypes/fusion/fu_burner') require('prototypes/fusion/fu_burner')
@ -46,6 +55,11 @@ require('prototypes/fusion/fu_star_engine/fu_star_engine_heater')
require('prototypes/fusion/fu_star_engine/fu_star_engine_heater_left') require('prototypes/fusion/fu_star_engine/fu_star_engine_heater_left')
require('prototypes/fusion/fu_space_probe') require('prototypes/fusion/fu_space_probe')
require('prototypes/fusion/fu_laser')
require('prototypes/fusion/fu_plasma')
require('prototypes/fusion/fu_materials')
require('prototypes/fusion/fu_magnet')
require('prototypes/gravitation/gr_crafter') require('prototypes/gravitation/gr_crafter')
require('prototypes/gravitation/gr_materials') require('prototypes/gravitation/gr_materials')
require('prototypes/gravitation/gr_train') require('prototypes/gravitation/gr_train')

View file

@ -158,4 +158,184 @@ data:extend({
subgroup = 'fu_item_subgroup_e', subgroup = 'fu_item_subgroup_e',
order = 'a-a', order = 'a-a',
}, },
{
name = 'el_dirty_water',
type = 'fluid',
icon = sprite('el_dirty_water.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.36, g=0.36, b=0.6 },
flow_color = { r=0.26, g=0.26, b=0.75 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'el_item_subgroup_e',
order = 'a-a',
},
{
name = 'el_arc_pure_iron',
type = 'fluid',
icon = sprite('el_arc_pure_iron.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'el_item_subgroup_e',
order = 'a-a',
},
{
name = 'el_arc_pure_copper',
type = 'fluid',
icon = sprite('el_arc_pure_copper.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'el_item_subgroup_e',
order = 'a-a',
},
{
name = 'el_arc_pure_aluminum',
type = 'fluid',
icon = sprite('el_arc_pure_aluminum.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'el_item_subgroup_e',
order = 'a-a',
},
{
name = 'fi_arc_glass',
type = 'fluid',
icon = sprite('fi_arc_glass.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fi_item_subgroup_f',
order = 'a-a',
},
{
name = 'fi_arc_gold',
type = 'fluid',
icon = sprite('fi_arc_gold.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fi_item_subgroup_f',
order = 'a-a',
},
{
name = 'fi_arc_titan',
type = 'fluid',
icon = sprite('fi_arc_titan.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fi_item_subgroup_f',
order = 'a-a',
},
{
name = 'fi_arc_neodym',
type = 'fluid',
icon = sprite('fi_arc_neodym.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fi_item_subgroup_f',
order = 'a-a',
},
{
name = 'fu_arc_pure_lead',
type = 'fluid',
icon = sprite('fu_arc_pure_lead.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fi_item_subgroup_f',
order = 'a-a',
},
{
name = 'fi_strong_acid',
type = 'fluid',
icon = sprite('fi_strong_acid.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fi_item_subgroup_f',
order = 'a-a',
},
{
name = 'fi_dirty_water',
type = 'fluid',
icon = sprite('fi_dirty_water.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fi_item_subgroup_f',
order = 'a-a',
},
{
name = 'fu_metal_foam',
type = 'fluid',
icon = sprite('fu_metal_foam.png'),
icon_size = 64,
default_temperature = 15,
max_temperature = 1500,
heat_capacity = '100kJ',
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
subgroup = 'fu_item_subgroup_f',
order = 'a-a',
},
}) })

View file

@ -415,6 +415,42 @@ data:extend({
name = 'el_special_fluid', name = 'el_special_fluid',
type = 'recipe-category', type = 'recipe-category',
}, },
{
name = 'el_purifier_category',
type = 'recipe-category',
},
{
name = 'el_arc_furnace_category',
type = 'recipe-category',
},
{
name = 'el_caster_category',
type = 'recipe-category',
},
{
name = 'el_grower_category',
type = 'recipe-category',
},
{
name = 'fi_fiberer_category',
type = 'recipe-category',
},
{
name = 'fi_compound_machine_category',
type = 'recipe-category',
},
{
name = 'fu_laser_category',
type = 'recipe-category',
},
{
name = 'fu_plasma_category',
type = 'recipe-category',
},
{
name = 'fu_magnet_category',
type = 'recipe-category',
},
{ {
name = "gr_cooker_fluid", name = "gr_cooker_fluid",
type = "recipe-category" type = "recipe-category"

File diff suppressed because it is too large Load diff

View file

@ -30,67 +30,7 @@ data:extend({
order = 'a-a-2', order = 'a-a-2',
}, },
--el_aluminum_ore --el_aluminum_ore
{
name = 'el_aluminum_ore_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting-with-fluid',
ingredients = {
{'stone',2},
{type="fluid", name="sulfuric-acid", amount=20},
},
result = 'el_aluminum_ore_item',
result_count = 4,
energy_required = 2,
always_show_made_in = true,
order = 'a-a',
},
--el_aluminum_item
{
name = 'el_aluminum_item_recipe',
type = 'recipe',
enabled = 'false',
category = 'smelting',
ingredients = {
{'el_aluminum_ore_item',2},
},
result = 'el_aluminum_item',
result_count = 4,
energy_required = 2,
always_show_made_in = true,
order = 'a-c',
},
--el_lithium_ore
{
name = 'el_lithium_ore_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting-with-fluid',
ingredients = {
{'stone',2},
{type="fluid", name="sulfuric-acid", amount=20},
},
result = 'el_lithium_ore_item',
result_count = 4,
energy_required = 2,
always_show_made_in = true,
order = 'a-b',
},
--el_lithium_item
{
name = 'el_lithium_item_recipe',
type = 'recipe',
enabled = 'false',
category = 'smelting',
ingredients = {
{'el_lithium_ore_item',2},
},
result = 'el_lithium_item',
result_count = 4,
energy_required = 2,
always_show_made_in = true,
order = 'a-d',
},
--el_lithium_basic_battery --el_lithium_basic_battery
{ {
name = 'el_lithium_basic_battery_recipe', name = 'el_lithium_basic_battery_recipe',
@ -132,7 +72,7 @@ data:extend({
ingredients = { ingredients = {
{'iron-gear-wheel',40}, {'iron-gear-wheel',40},
{'steel-plate',15}, {'steel-plate',15},
{'el_aluminum_item',15}, {'el_materials_ALK',10},
{'electronic-circuit',10} {'electronic-circuit',10}
}, },
result = 'el_burner_item', result = 'el_burner_item',
@ -162,7 +102,7 @@ data:extend({
ingredients = { ingredients = {
{'iron-gear-wheel',60}, {'iron-gear-wheel',60},
{'engine-unit',15}, {'engine-unit',15},
{'el_aluminum_item',30}, {'el_materials_ALK',20},
{'electronic-circuit',20}, {'electronic-circuit',20},
{'pipe',30}, {'pipe',30},
{'copper-cable',20}, {'copper-cable',20},
@ -180,7 +120,7 @@ data:extend({
ingredients = { ingredients = {
{'iron-gear-wheel',40}, {'iron-gear-wheel',40},
{'pipe',40}, {'pipe',40},
{'el_aluminum_item',15}, {'el_materials_ALK',10},
{'electronic-circuit',15} {'electronic-circuit',15}
}, },
result = 'el_pressurizer_item', result = 'el_pressurizer_item',
@ -216,8 +156,8 @@ data:extend({
{'locomotive',1}, {'locomotive',1},
{'engine-unit',15}, {'engine-unit',15},
{'iron-gear-wheel',40}, {'iron-gear-wheel',40},
{'advanced-circuit',25}, {'advanced-circuit',15},
{'el_aluminum_item',25}, {'el_materials_ALK',25},
}, },
result = 'el_diesel_train_item', result = 'el_diesel_train_item',
result_count = 1, result_count = 1,
@ -348,19 +288,20 @@ data:extend({
}, },
--el_energy_crystal --el_energy_crystal
{ {
name = 'el_energy_crystal_recipe', name = 'el_grow_energy_crystal_recipe',
type = 'recipe', type = 'recipe',
enabled = 'false', enabled = 'false',
category = 'crafting-with-fluid', category = 'el_grower_category',
ingredients = { ingredients = {
{type="item", name="stone", amount=10}, {type="item", name="el_energy_crystal_item", amount=1},
{type="fluid", name="el_acidic_water", amount=30}, {type="fluid", name="el_acidic_water", amount=15},
}, },
results = { results = {
{type="item", name="el_energy_crystal_item", amount=3}, {type="item", name="el_energy_crystal_item", amount=2},
}, },
result_count = 1, result_count = 1,
energy_required = 10, energy_required = 30,
always_show_made_in = true
}, },
--el_energy_crystal_fuel --el_energy_crystal_fuel
{ {
@ -387,7 +328,7 @@ data:extend({
category = 'crafting', category = 'crafting',
ingredients = { ingredients = {
{type="item", name="steel-plate", amount=20}, {type="item", name="steel-plate", amount=20},
{type="item", name="el_aluminum_item", amount=10}, {type="item", name="el_materials_ALK", amount=10},
{type="item", name="electronic-circuit", amount=20}, {type="item", name="electronic-circuit", amount=20},
}, },
results = { results = {
@ -403,7 +344,7 @@ data:extend({
category = 'crafting', category = 'crafting',
ingredients = { ingredients = {
{type="item", name="steel-plate", amount=20}, {type="item", name="steel-plate", amount=20},
{type="item", name="low-density-structure", amount=10}, {type="item", name="fi_materials_neodym", amount=5},
{type="item", name="advanced-circuit", amount=20}, {type="item", name="advanced-circuit", amount=20},
{type="item", name="el_ki_beacon_item", amount=1}, {type="item", name="el_ki_beacon_item", amount=1},
}, },
@ -441,7 +382,7 @@ data:extend({
{type="item", name="concrete", amount=500}, {type="item", name="concrete", amount=500},
{type="item", name="electronic-circuit", amount=100}, {type="item", name="electronic-circuit", amount=100},
{type="item", name="advanced-circuit", amount=100}, {type="item", name="advanced-circuit", amount=100},
{type="item", name="el_aluminum_item", amount=140}, {type="item", name="el_materials_ALK", amount=140},
{type="item", name="el_energy_crystal_item", amount=40}, {type="item", name="el_energy_crystal_item", amount=40},
{type="item", name="el_solar_item", amount=10}, {type="item", name="el_solar_item", amount=10},
{type="item", name="el_lithium_battery", amount=40}, {type="item", name="el_lithium_battery", amount=40},
@ -461,7 +402,7 @@ data:extend({
category = 'crafting', category = 'crafting',
ingredients = { ingredients = {
{type="item", name="fi_crafter_item", amount=10}, {type="item", name="fi_crafter_item", amount=10},
{type="item", name="fi_miner_item", amount=10}, {type="item", name="fi_materials_neodym", amount=100},
{type="item", name="fi_crusher_item", amount=10}, {type="item", name="fi_crusher_item", amount=10},
{type="item", name="fi_modules_core_item", amount=20}, {type="item", name="fi_modules_core_item", amount=20},
{type="item", name="low-density-structure", amount=100}, {type="item", name="low-density-structure", amount=100},
@ -509,7 +450,7 @@ data:extend({
{type="item", name="steel-plate", amount=40}, {type="item", name="steel-plate", amount=40},
{type="item", name="concrete", amount=60}, {type="item", name="concrete", amount=60},
{type="item", name="advanced-circuit", amount=100}, {type="item", name="advanced-circuit", amount=100},
{type="item", name="el_aluminum_item", amount=100}, {type="item", name="el_materials_ALK", amount=100},
}, },
results = { results = {
{type="item", name="el_ki_memory_item", amount=1}, {type="item", name="el_ki_memory_item", amount=1},
@ -523,10 +464,10 @@ data:extend({
enabled = 'false', enabled = 'false',
category = 'crafting', category = 'crafting',
ingredients = { ingredients = {
{type="item", name="fi_industrial_steel_item", amount=80}, {type="item", name="fi_materials_neodym", amount=20},
{type="item", name="concrete", amount=120}, {type="item", name="concrete", amount=120},
{type="item", name="advanced-circuit", amount=100}, {type="item", name="advanced-circuit", amount=100},
{type="item", name="low-density-structure", amount=100}, {type="item", name="fi_materials_GFK", amount=100},
}, },
results = { results = {
{type="item", name="fi_ki_circuit_item", amount=1}, {type="item", name="fi_ki_circuit_item", amount=1},
@ -756,7 +697,7 @@ data:extend({
{type="item", name="steel-plate", amount=40}, {type="item", name="steel-plate", amount=40},
{type="item", name="concrete", amount=60}, {type="item", name="concrete", amount=60},
{type="item", name="advanced-circuit", amount=100}, {type="item", name="advanced-circuit", amount=100},
{type="item", name="el_aluminum_item", amount=100}, {type="item", name="el_materials_ALK", amount=100},
}, },
results = { results = {
{type="item", name="el_ki_cpu_item", amount=1}, {type="item", name="el_ki_cpu_item", amount=1},
@ -882,6 +823,317 @@ data:extend({
results = {}, results = {},
energy_required = 15, energy_required = 15,
}, },
{
name = 'el_arc_furnace_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting',
ingredients = {
{'iron-gear-wheel',40},
{'steel-plate',25},
{'stone-furnace',2}
},
result = 'el_arc_furnace_item',
result_count = 1,
energy_required = 4,
},
{
name = 'el_caster_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting',
ingredients = {
{'iron-gear-wheel',40},
{'steel-plate',25},
{'electronic-circuit',20}
},
result = 'el_caster_item',
result_count = 1,
energy_required = 4,
},
{
name = 'el_purifier_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting',
ingredients = {
{'iron-gear-wheel',40},
{'steel-plate',15},
{'electronic-circuit',10}
},
result = 'el_purifier_item',
result_count = 1,
energy_required = 4,
},
{
name = 'el_grower_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting',
ingredients = {
{'iron-gear-wheel',40},
{'steel-plate',15},
{'el_materials_ALK',15},
{'electronic-circuit',10}
},
result = 'el_grower_item',
result_count = 1,
energy_required = 4,
},
{
name = 'el_purify_stone_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'el_dirty_water',
ingredients = {
{type="fluid", name="water", amount=100},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="stone", amount=10}
},
results = {
{type="fluid", name="el_dirty_water", amount=100},
{type="item", name="el_materials_pure_iron", amount=1},
{type="item", name="el_materials_pure_copper", amount=1},
{type="item", name="el_materials_pure_aluminum", amount=2},
},
energy_required = 1,
always_show_made_in = true
},
{
name = 'el_purify_iron_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'el_dirty_water',
ingredients = {
{type="fluid", name="water", amount=50},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="iron-ore", amount=10}
},
results = {
{type="fluid", name="el_dirty_water", amount=50},
{type="item", name="el_materials_pure_iron", amount=5},
},
energy_required = 1,
always_show_made_in = true
},
{
name = 'el_purify_copper_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'el_dirty_water',
ingredients = {
{type="fluid", name="water", amount=50},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="copper-ore", amount=10}
},
results = {
{type="fluid", name="el_dirty_water", amount=50},
{type="item", name="el_materials_pure_copper", amount=5},
},
energy_required = 1,
always_show_made_in = true
},
{
name = 'el_purify_stone_acidic_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'el_energy_crystal_item',
ingredients = {
{type="fluid", name="el_acidic_water", amount=200},
{type="fluid", name="water", amount=50},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="stone", amount=10}
},
results = {
{type="fluid", name="el_dirty_water", amount=50},
{type="item", name="el_energy_crystal_item", amount=1},
{type="item", name="el_materials_pure_iron", amount=1},
{type="item", name="el_materials_pure_copper", amount=1},
},
energy_required = 2,
always_show_made_in = true
},
{
name = 'el_purify_uranium_acidic_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'el_energy_crystal_item',
ingredients = {
{type="fluid", name="el_acidic_water", amount=1000},
{type="fluid", name="water", amount=500},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="uranium-ore", amount=100}
},
results = {
{type="fluid", name="el_dirty_water", amount=500},
{type="item", name="el_energy_crystal_item", amount=50},
{type="item", name="uranium-238", amount=9},
{type="item", name="uranium-235", amount=1},
},
energy_required = 10,
always_show_made_in = true
},
{
name = 'el_aluminum_item_recipe',
type = 'recipe',
enabled = 'false',
category = 'smelting',
ingredients = {
{'el_aluminum_ore_item',2},
},
result = 'el_aluminum_item',
result_count = 4,
energy_required = 2,
always_show_made_in = true,
order = 'a-c',
},
{
name = 'el_lithium_ore_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting-with-fluid',
main_product = 'el_lithium_item',
ingredients = {
{type="fluid", name="el_dirty_water", amount=100},
},
results = {
{type="fluid", name="water", amount=100},
{type="item", name="el_lithium_item", amount=1},
},
energy_required = 0.2,
order = 'a-b',
},
{
name = 'el_arc_pure_iron_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_arc_furnace_category',
ingredients = {
{type="item", name="el_materials_pure_iron", amount=1},
},
results = {
{type="fluid", name="el_arc_pure_iron", amount=200},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'el_cast_pure_iron_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_caster_category',
ingredients = {
{type="fluid", name="el_arc_pure_iron", amount=100},
},
results = {
{type="item", name="iron-plate", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
allow_decomposition = false
},
{
name = 'el_arc_pure_copper_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_arc_furnace_category',
ingredients = {
{type="item", name="el_materials_pure_copper", amount=1},
},
results = {
{type="fluid", name="el_arc_pure_copper", amount=200},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'el_cast_pure_copper_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_caster_category',
ingredients = {
{type="fluid", name="el_arc_pure_copper", amount=100},
},
results = {
{type="item", name="copper-plate", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
allow_decomposition = false
},
{
name = 'el_arc_pure_aluminum_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_arc_furnace_category',
ingredients = {
{type="item", name="el_materials_pure_aluminum", amount=1},
},
results = {
{type="fluid", name="el_arc_pure_aluminum", amount=200},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'el_cast_pure_aluminum_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_caster_category',
ingredients = {
{type="fluid", name="el_arc_pure_aluminum", amount=100},
},
results = {
{type="item", name="el_aluminum_item", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'el_ceramic_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting-with-fluid',
ingredients = {
{type="fluid", name="steam", amount=100},
{type="item", name="stone", amount=2},
},
results = {
{type="item", name="el_materials_ceramic", amount=1},
},
energy_required = 1,
order = 'a-b',
},
{
name = 'el_ALK_recipe',
type = 'recipe',
enabled = 'false',
ingredients = {
{type="item", name="el_materials_ceramic", amount=2},
{type="item", name="el_aluminum_item", amount=6},
},
results = {
{type="item", name="el_materials_ALK", amount=3},
},
energy_required = 1,
order = 'a-b',
},

View file

@ -0,0 +1,177 @@
--local functions
local function config(name)
return settings.startup['el_arc_furnace_'..name].value
end
local function sprite(name)
return '__248k__/ressources/electronic/el_arc_furnace/el_arc_furnace_'..name
end
--item
data:extend({
{
name = 'el_arc_furnace_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'el_arc_furnace_entity',
stack_size = 20,
subgroup = 'el_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'el_arc_furnace_entity',
type = 'assembling-machine',
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 = 'el_arc_furnace_item',
},
crafting_categories = {'el_arc_furnace_category'},
crafting_speed = 1,
--fixed_recipe = 'el_water_pressure_recipe',
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
},
allowed_effects = {"speed", "consumption", "pollution"},
module_specification = {
module_info_icon_shift = {
0,
0.8
},
module_slots = 2
},
energy_usage = '400kW',
fluid_boxes = {
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {0, -4}},
},
production_type = "output"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {-4, 0}}
},
production_type = "output"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {4, 0}},
--{type = "output", position = {2, -2.5}}
},
production_type = "output"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {0, 4}},
},
production_type = "output"
},
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.1}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
--lines_per_file = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.1}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.1}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.1}
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})
--{
-- production_type = "input",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {
-- { type="input", position = {-2, -2,5} },
-- { type="input", position = {2, -2.5} },
-- },
-- },
-- {
-- production_type = "output",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = 1,
-- pipe_connections = {{ type="output", position = {2, 2.5} }},
-- },
-- off_when_no_fluid_recipe = true

View file

@ -0,0 +1,181 @@
--local functions
local function config(name)
return settings.startup['el_caster_'..name].value
end
local function sprite(name)
return '__248k__/ressources/electronic/el_caster/el_caster_'..name
end
--item
data:extend({
{
name = 'el_caster_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'el_caster_entity',
stack_size = 20,
subgroup = 'el_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'el_caster_entity',
type = 'assembling-machine',
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 = 'el_caster_item',
},
crafting_categories = {'el_caster_category'},
crafting_speed = 1,
ingredient_count = 2,
--fixed_recipe = 'el_water_pressure_recipe',
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
},
allowed_effects = {"speed", "consumption", "pollution"},
module_specification = {
module_info_icon_shift = {
0,
0.8
},
module_slots = 2
},
energy_usage = '100kW',
fluid_boxes = {
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, -4}},
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {-4, 0}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {4, 0}},
--{type = "output", position = {2, -2.5}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, 4}},
},
production_type = "input"
},
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.1}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.1}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.1}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.1}
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})
--{
-- production_type = "input",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {
-- { type="input", position = {-2, -2,5} },
-- { type="input", position = {2, -2.5} },
-- },
-- },
-- {
-- production_type = "output",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = 1,
-- pipe_connections = {{ type="output", position = {2, 2.5} }},
-- },
-- off_when_no_fluid_recipe = true

View file

@ -0,0 +1,152 @@
--local functions
local function config(name)
return settings.startup['el_grower_'..name].value
end
local function sprite(name)
return '__248k__/ressources/electronic/el_grower/el_grower_'..name
end
--item
data:extend({
{
name = 'el_grower_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'el_grower_entity',
stack_size = 20,
subgroup = 'el_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'el_grower_entity',
type = 'assembling-machine',
icon = sprite('icon.png'),
icon_size = 64,
flags = {"player-creation","placeable-neutral"},
max_health = 300,
corpse = 'big-remnants',
collision_box = {{-2.4,-2.4},{2.4,2.4}},
selection_box = {{-2.5,-2.5},{2.5,2.5}},
map_color = {r=0, g=0, b=1, a=1},
minable = {
mining_time = 1,
result = 'el_grower_item',
},
crafting_categories = {'el_grower_category'},
crafting_speed = 1,
ingredient_count = 3,
--fixed_recipe = 'el_water_pressure_recipe',
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
},
allowed_effects = {"speed", "productivity", "consumption", "pollution"},
module_specification = {
module_info_icon_shift = {
0,
0.8
},
module_slots = 2
},
energy_usage = '200kW',
fluid_boxes = {
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, -3}},
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {-3, 0}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {3, 0}},
--{type = "output", position = {2, -2.5}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, 3}},
},
production_type = "input"
},
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.32,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0, -0.2}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.32,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0, -0.2}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.32,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0, -0.2}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.32,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0, -0.2}
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})

View file

@ -0,0 +1,57 @@
--local functions
local function config(name)
return settings.startup['el_materials_'..name].value
end
local function sprite(name)
return '__248k__/ressources/electronic/el_materials/el_materials_'..name
end
--item
data:extend({
{
name = 'el_materials_pure_iron',
type = 'item',
icon = sprite('pure_iron.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'el_item_subgroup_a',
order = 'a-a',
},
{
name = 'el_materials_pure_copper',
type = 'item',
icon = sprite('pure_copper.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'el_item_subgroup_a',
order = 'a-b',
},
{
name = 'el_materials_pure_aluminum',
type = 'item',
icon = sprite('pure_aluminum.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'el_item_subgroup_a',
order = 'a-c',
},
{
name = 'el_materials_ceramic',
type = 'item',
icon = sprite('ceramic.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'el_item_subgroup_a',
order = 'a-c',
},
{
name = 'el_materials_ALK',
type = 'item',
icon = sprite('ALK.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'el_item_subgroup_a',
order = 'a-c',
},
})

View file

@ -0,0 +1,177 @@
--local functions
local function config(name)
return settings.startup['el_purifier_'..name].value
end
local function sprite(name)
return '__248k__/ressources/electronic/el_purifier/el_purifier_'..name
end
--item
data:extend({
{
name = 'el_purifier_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'el_purifier_entity',
stack_size = 20,
subgroup = 'el_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'el_purifier_entity',
type = 'assembling-machine',
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 = 'el_purifier_item',
},
crafting_categories = {'el_purifier_category'},
crafting_speed = 1,
ingredient_count = 2,
--fixed_recipe = 'el_water_pressure_recipe',
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
},
allowed_effects = {"speed", "consumption", "pollution"},
module_specification = {
module_info_icon_shift = {
0,
0.8
},
module_slots = 2
},
energy_usage = '40kW',
fluid_boxes = {
{
filter = 'water',
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, -4}},
},
production_type = "input"
},
{
filter = 'water',
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {-4, 0}}
},
production_type = "input"
},
{
filter = 'el_dirty_water',
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {4, 0}},
--{type = "output", position = {2, -2.5}}
},
production_type = "output"
},
{
filter = 'el_dirty_water',
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {0, 4}},
},
production_type = "output"
},
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.1}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.1}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.1}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.1}
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})
--{
-- production_type = "input",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {
-- { type="input", position = {-2, -2,5} },
-- { type="input", position = {2, -2.5} },
-- },
-- },
-- {
-- production_type = "output",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = 1,
-- pipe_connections = {{ type="output", position = {2, 2.5} }},
-- },
-- off_when_no_fluid_recipe = true

View file

@ -15,7 +15,7 @@ data:extend({
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{'concrete',30}, {'concrete',30},
{'fi_compound_material_item',10}, {'fi_materials_GFK',20},
{'iron-gear-wheel',20}, {'iron-gear-wheel',20},
{'electronic-circuit',15}, {'electronic-circuit',15},
{'el_energy_crystal_item',4}, {'el_energy_crystal_item',4},
@ -31,10 +31,10 @@ data:extend({
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{'concrete',60}, {'concrete',60},
{'fi_compound_material_item',20}, {'el_materials_ALK',20},
{'iron-gear-wheel',40}, {'iron-gear-wheel',40},
{'electric-engine-unit',15}, {'electric-engine-unit',15},
{'el_energy_crystal_item',2}, {'el_energy_crystal_item',10},
}, },
result = 'fi_crusher_item', result = 'fi_crusher_item',
result_count = 1, result_count = 1,
@ -129,11 +129,11 @@ data:extend({
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{'steel-plate',450}, {'steel-plate',450},
{'concrete',800}, {'concrete',400},
{'fi_compound_material_item',600}, {'fi_materials_GFK',300},
{'copper-plate',200}, {'fi_materials_NFK',300},
{'el_energy_crystal_item',40}, {'fi_energy_crystal_item',40},
{'advanced-circuit',700}, {'advanced-circuit',500},
}, },
result = 'fi_solid_reactor_item', result = 'fi_solid_reactor_item',
result_count = 1, result_count = 1,
@ -160,8 +160,8 @@ data:extend({
category = 'fi_crafting_category', category = 'fi_crafting_category',
subgroup = 'fi_item_subgroup_b', subgroup = 'fi_item_subgroup_b',
ingredients = { ingredients = {
{'el_aluminum_item',8}, {'fi_materials_glass_fiber',3},
{'steel-plate',4}, {'el_materials_ALK',3},
{'copper-plate',30}, {'copper-plate',30},
}, },
result = 'low-density-structure', result = 'low-density-structure',
@ -282,7 +282,7 @@ data:extend({
{'fi_pure_fuel_item',1}, {'fi_pure_fuel_item',1},
}, },
result = 'fi_equipment_player_reactor_item', result = 'fi_equipment_player_reactor_item',
result_count = 2, result_count = 4,
energy_required = 20, energy_required = 20,
}, },
{ {
@ -310,7 +310,7 @@ data:extend({
{'fi_pure_fuel_item',1}, {'fi_pure_fuel_item',1},
}, },
result = 'fi_train_equipment_generator_item', result = 'fi_train_equipment_generator_item',
result_count = 2, result_count = 4,
energy_required = 20, energy_required = 20,
}, },
--crystals --crystals
@ -318,12 +318,13 @@ data:extend({
name = 'fi_energy_crystal_recipe', name = 'fi_energy_crystal_recipe',
type = 'recipe', type = 'recipe',
enabled = 'false', enabled = 'false',
category = 'smelting', category = 'el_grower_category',
ingredients = { ingredients = {
{'fi_base_crystal_item',2}, {type="item", name="el_energy_crystal_item", amount=1},
{type="fluid", name="fi_crystal_fluid", amount=50},
}, },
result = 'fi_energy_crystal_item', result = 'fi_energy_crystal_item',
result_count = 1, result_count = 2,
energy_required = 4, energy_required = 4,
always_show_made_in = true, always_show_made_in = true,
}, },
@ -359,10 +360,10 @@ data:extend({
enabled = 'false', enabled = 'false',
category = 'fi_crushing', category = 'fi_crushing',
ingredients = { ingredients = {
{'el_energy_crystal_item',4}, {'el_energy_crystal_item',1},
}, },
result = 'fi_crushed_crystal_item', result = 'fi_crushed_crystal_item',
result_count = 1, result_count = 2,
energy_required = 2, energy_required = 2,
always_show_made_in = true, always_show_made_in = true,
}, },
@ -373,13 +374,13 @@ data:extend({
category = 'chemistry', category = 'chemistry',
main_product = 'fi_crystal_fluid', main_product = 'fi_crystal_fluid',
ingredients = { ingredients = {
{type="item", name="fi_crushed_crystal_item", amount=2}, {type="item", name="fi_crushed_crystal_item", amount=1},
{type="item", name="fi_crushed_lithium_item", amount=1}, {type="item", name="fi_crushed_lithium_item", amount=1},
}, },
results = { results = {
{type="fluid", name="fi_crystal_fluid", amount=100}, {type="fluid", name="fi_crystal_fluid", amount=100},
}, },
energy_required = 4, energy_required = 1,
always_show_made_in = true, always_show_made_in = true,
}, },
{ {
@ -402,10 +403,10 @@ data:extend({
enabled = 'false', enabled = 'false',
category = 'fi_crushing', category = 'fi_crushing',
ingredients = { ingredients = {
{'el_lithium_item',4}, {'el_lithium_item',1},
}, },
result = 'fi_crushed_lithium_item', result = 'fi_crushed_lithium_item',
result_count = 1, result_count = 2,
energy_required = 2, energy_required = 2,
always_show_made_in = true, always_show_made_in = true,
}, },
@ -415,10 +416,10 @@ data:extend({
enabled = 'false', enabled = 'false',
category = 'fi_crushing', category = 'fi_crushing',
ingredients = { ingredients = {
{'iron-plate',4}, {'iron-plate',1},
}, },
result = 'fi_crushed_iron_item', result = 'fi_crushed_iron_item',
result_count = 1, result_count = 2,
energy_required = 2, energy_required = 2,
always_show_made_in = true, always_show_made_in = true,
}, },
@ -428,10 +429,10 @@ data:extend({
enabled = 'false', enabled = 'false',
category = 'fi_crushing', category = 'fi_crushing',
ingredients = { ingredients = {
{'copper-plate',4}, {'copper-plate',1},
}, },
result = 'fi_crushed_copper_item', result = 'fi_crushed_copper_item',
result_count = 1, result_count = 2,
energy_required = 2, energy_required = 2,
always_show_made_in = true, always_show_made_in = true,
}, },
@ -441,10 +442,10 @@ data:extend({
enabled = 'false', enabled = 'false',
category = 'fi_crushing', category = 'fi_crushing',
ingredients = { ingredients = {
{'el_aluminum_item',4}, {'el_aluminum_item',1},
}, },
result = 'fi_crushed_aluminum_item', result = 'fi_crushed_aluminum_item',
result_count = 1, result_count = 2,
energy_required = 2, energy_required = 2,
always_show_made_in = true, always_show_made_in = true,
}, },
@ -454,10 +455,36 @@ data:extend({
enabled = 'false', enabled = 'false',
category = 'fi_crushing', category = 'fi_crushing',
ingredients = { ingredients = {
{'coal',4}, {'coal',1},
}, },
result = 'fi_crushed_coal_item', result = 'fi_crushed_coal_item',
result_count = 1, result_count = 2,
energy_required = 2,
always_show_made_in = true,
},
{
name = 'fi_crushed_stone_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_crushing',
ingredients = {
{'stone',1},
},
result = 'fi_crushed_stone_item',
result_count = 2,
energy_required = 2,
always_show_made_in = true,
},
{
name = 'fi_crushed_uranium_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_crushing',
ingredients = {
{'uranium-238',1},
},
result = 'fi_crushed_uranium_item',
result_count = 2,
energy_required = 2, energy_required = 2,
always_show_made_in = true, always_show_made_in = true,
}, },
@ -510,9 +537,9 @@ data:extend({
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{'fi_robo_charger_item',1}, {'fi_robo_charger_item',1},
{'fi_industrial_steel_item',80}, {'fi_materials_GFK',40},
{'fi_energy_crystal_item',25}, {'fi_materials_titan',10},
{'fi_compound_material_item',80}, {'fi_materials_NFK',20},
}, },
result = 'fi_robo_port_item', result = 'fi_robo_port_item',
result_count = 1, result_count = 1,
@ -524,7 +551,7 @@ data:extend({
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{'roboport',1}, {'roboport',1},
{'fi_industrial_steel_item',60}, {'el_materials_ALK',60},
{'fi_energy_crystal_item',25}, {'fi_energy_crystal_item',25},
{'el_energy_crystal_item',25}, {'el_energy_crystal_item',25},
}, },
@ -551,7 +578,7 @@ data:extend({
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{'fi_modules_base_item',1}, {'fi_modules_base_item',1},
{'fi_base_crystal_item',2}, {'fi_materials_GFK',1},
}, },
result = 'fi_modules_core_item', result = 'fi_modules_core_item',
result_count = 1, result_count = 1,
@ -637,4 +664,371 @@ data:extend({
result_count = 1, result_count = 1,
energy_required = 6, energy_required = 6,
}, },
{
name = 'fi_fiberer_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting',
ingredients = {
{'concrete',60},
{'el_materials_ALK',20},
{'iron-gear-wheel',40},
{'electric-engine-unit',15},
{'el_energy_crystal_item',10},
},
result = 'fi_fiberer_item',
result_count = 1,
energy_required = 4,
},
{
name = 'fi_natural_fiber_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_fiberer_category',
main_product = 'fi_materials_natural_fiber',
ingredients = {
{type="item", name="wood", amount=1},
--{type="fluid", name="steam", amount=240, temperature=165},
},
results = {
{type="item", name="fi_materials_natural_fiber", amount=2},
},
energy_required = 2,
always_show_made_in = true
},
{
name = 'fi_glass_fiber_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_fiberer_category',
main_product = 'fi_materials_glass_fiber',
ingredients = {
{type="item", name="fi_crushed_glass_item", amount=2},
--{type="fluid", name="steam", amount=240, temperature=165},
},
results = {
{type="item", name="fi_materials_glass_fiber", amount=1},
},
energy_required = 2,
always_show_made_in = true
},
{
name = 'fi_arc_glass_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_arc_furnace_category',
ingredients = {
{type="item", name="stone", amount=5},
},
results = {
{type="fluid", name="fi_arc_glass", amount=200},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'fi_cast_glass_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_caster_category',
ingredients = {
{type="fluid", name="fi_arc_glass", amount=100},
},
results = {
{type="item", name="fi_materials_glass", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fi_crushed_glass_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_crushing',
ingredients = {
{'fi_materials_glass',1},
},
result = 'fi_crushed_glass_item',
result_count = 2,
energy_required = 1,
always_show_made_in = true,
},
{
name = 'fi_flourite_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting-with-fluid',
main_product = 'fi_materials_flourite',
ingredients = {
{type="fluid", name="el_dirty_water", amount=100},
},
results = {
{type="fluid", name="water", amount=100},
{type="item", name="fi_materials_flourite", amount=1},
},
energy_required = 0.2,
order = 'a-b',
},
{
name = 'fi_strong_acid_recipe',
type = 'recipe',
enabled = 'false',
category = 'chemistry',
main_product = 'fi_strong_acid',
ingredients = {
{type="fluid", name="water", amount=50},
{type="fluid", name="sulfuric-acid", amount=50},
{type="item", name="fi_materials_flourite", amount=1},
},
results = {
{type="fluid", name="el_acidic_water", amount=20},
{type="fluid", name="fi_strong_acid", amount=80},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fi_purify_stone_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'fi_dirty_water',
ingredients = {
{type="fluid", name="fi_strong_acid", amount=100},
{type="fluid", name="water", amount=50},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="stone", amount=10}
},
results = {
{type="fluid", name="fi_dirty_water", amount=50},
{type="item", name="el_energy_crystal_item", amount=3},
{type="item", name="el_materials_pure_iron", amount=3},
{type="item", name="el_materials_pure_copper", amount=3},
},
energy_required = 2,
always_show_made_in = true
},
{
name = 'fi_purify_iron_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'fi_thorium232_item',
ingredients = {
{type="fluid", name="fi_strong_acid", amount=200},
{type="fluid", name="water", amount=50},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="iron-ore", amount=10}
},
results = {
{type="fluid", name="fi_dirty_water", amount=50},
{type="item", name="fi_thorium232_item", amount=2},
{type="item", name="el_materials_pure_iron", amount=8}
},
energy_required = 4,
always_show_made_in = true
},
{
name = 'fi_purify_copper_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'uranium-238',
ingredients = {
{type="fluid", name="fi_strong_acid", amount=200},
{type="fluid", name="water", amount=50},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="copper-ore", amount=10}
},
results = {
{type="fluid", name="fi_dirty_water", amount=50},
{type="item", name="uranium-238", amount=2},
{type="item", name="el_materials_pure_copper", amount=8}
},
energy_required = 2,
always_show_made_in = true
},
{
name = 'fi_purify_uranium_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_purifier_category',
main_product = 'fi_dirty_water',
ingredients = {
{type="fluid", name="fi_strong_acid", amount=1000},
{type="fluid", name="water", amount=500},
--{type="fluid", name="steam", amount=240, temperature=165},
{type="item", name="uranium-ore", amount=100}
},
results = {
{type="fluid", name="fi_dirty_water", amount=500},
{type="item", name="el_energy_crystal_item", amount=50},
{type="item", name="uranium-238", amount=20},
{type="item", name="uranium-235", amount=4},
},
energy_required = 2,
always_show_made_in = true
},
{
name = 'fi_arc_pure_gold_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_arc_furnace_category',
ingredients = {
{type="item", name="fi_materials_pure_gold", amount=1},
},
results = {
{type="fluid", name="fi_arc_gold", amount=200},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'fi_cast_gold_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_caster_category',
ingredients = {
{type="fluid", name="fi_arc_gold", amount=100},
},
results = {
{type="item", name="fi_materials_gold", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fi_arc_pure_titan_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_arc_furnace_category',
ingredients = {
{type="item", name="fi_materials_pure_titan", amount=1},
},
results = {
{type="fluid", name="fi_arc_titan", amount=200},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'fi_cast_titan_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_caster_category',
ingredients = {
{type="fluid", name="fi_arc_titan", amount=100},
},
results = {
{type="item", name="fi_materials_titan", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fi_arc_pure_neodym_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_arc_furnace_category',
ingredients = {
{type="item", name="fi_materials_pure_neodym", amount=1},
},
results = {
{type="fluid", name="fi_arc_neodym", amount=200},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'fi_cast_neodym_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_caster_category',
ingredients = {
{type="fluid", name="fi_arc_neodym", amount=100},
},
results = {
{type="item", name="fi_materials_neodym", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fi_compound_machine_recipe',
type = 'recipe',
enabled = 'false',
ingredients = {
{'concrete',60},
{'el_materials_ALK',60},
{'iron-gear-wheel',40},
{'electric-engine-unit',15},
{'el_energy_crystal_item',20},
},
result = 'fi_compound_machine_item',
result_count = 1,
energy_required = 4,
},
{
name = 'fi_NFK_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_compound_machine_category',
ingredients = {
{type="fluid", name="petroleum-gas", amount=10},
{type="item", name="fi_materials_natural_fiber", amount=1},
{type="item", name="plastic-bar", amount=1},
},
results = {
{type="item", name="fi_materials_NFK", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fi_GFK_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_compound_machine_category',
ingredients = {
{type="fluid", name="petroleum-gas", amount=10},
{type="item", name="fi_materials_glass_fiber", amount=1},
{type="item", name="plastic-bar", amount=1},
},
results = {
{type="item", name="fi_materials_GFK", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fi_pure_ore_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting-with-fluid',
main_product = 'fi_materials_pure_gold',
ingredients = {
{type="fluid", name="fi_dirty_water", amount=50},
},
results = {
{type="fluid", name="water", amount=50},
{type="item", name="fi_materials_pure_gold", amount=2},
{type="item", name="fi_materials_pure_neodym", amount=2},
{type="item", name="fi_materials_pure_titan", amount=2},
},
energy_required = 0.2,
order = 'a-b',
},
}) })

View file

@ -0,0 +1,177 @@
--local functions
local function config(name)
return settings.startup['fi_compound_machine_'..name].value
end
local function sprite(name)
return '__248k__/ressources/fission/fi_compound_machine/fi_compound_machine_'..name
end
--item
data:extend({
{
name = 'fi_compound_machine_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'fi_compound_machine_entity',
stack_size = 20,
subgroup = 'fi_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'fi_compound_machine_entity',
type = 'assembling-machine',
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 = 'fi_compound_machine_item',
},
crafting_categories = {'fi_compound_machine_category'},
crafting_speed = 1,
--fixed_recipe = 'el_water_pressure_recipe',
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
},
allowed_effects = {"speed", "consumption", "productivity", "pollution"},
module_specification = {
module_info_icon_shift = {
0,
0.8
},
module_slots = 2
},
energy_usage = '400kW',
fluid_boxes = {
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, -4}},
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {-4, 0}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {4, 0}},
--{type = "output", position = {2, -2.5}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, 4}},
},
production_type = "input"
},
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.1}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
--lines_per_file = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.1}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.1}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.1}
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})
--{
-- production_type = "input",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {
-- { type="input", position = {-2, -2,5} },
-- { type="input", position = {2, -2.5} },
-- },
-- },
-- {
-- production_type = "output",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = 1,
-- pipe_connections = {{ type="output", position = {2, 2.5} }},
-- },
-- off_when_no_fluid_recipe = true

View file

@ -54,4 +54,31 @@ data:extend({
subgroup = 'fi_item_subgroup_a-b', subgroup = 'fi_item_subgroup_a-b',
order = 'a-f', order = 'a-f',
}, },
{
name = 'fi_crushed_glass_item',
type = 'item',
icon = sprite('glass_item.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fi_item_subgroup_a-b',
order = 'a-f',
},
{
name = 'fi_crushed_stone_item',
type = 'item',
icon = sprite('stone_item.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fi_item_subgroup_a-b',
order = 'a-f',
},
{
name = 'fi_crushed_uranium_item',
type = 'item',
icon = sprite('uranium_item.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fi_item_subgroup_a-b',
order = 'a-f',
},
}) })

View file

@ -0,0 +1,105 @@
--local functions
local function config(name)
return settings.startup['fi_fiberer_'..name].value
end
local function sprite(name)
return '__248k__/ressources/fission/fi_fiberer/fi_fiberer_'..name
end
--item
data:extend({
{
name = 'fi_fiberer_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'fi_fiberer_entity',
stack_size = 20,
subgroup = 'fi_item_subgroup_c',
order = 'a-a',
},
})
--entity
data:extend({
--prototype
{
name = 'fi_fiberer_entity',
type = 'assembling-machine',
icon = sprite('icon.png'),
icon_size = 64,
flags = {"player-creation","placeable-neutral"},
max_health = 300,
corpse = 'big-remnants',
collision_box = {{-1.4,-1.4},{1.4,1.4}},
selection_box = {{-1.5,-1.5},{1.5,1.5}},
map_color = {r=0, g=0, b=1, a=1},
minable = {
mining_time = 1,
result = 'fi_fiberer_item',
},
crafting_categories = {'fi_fiberer_category'},
crafting_speed = 3.5,
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
--input_flow_limit = '4MW',
},
energy_usage = '1MW',
allowed_effects = {"speed", "productivity", "consumption", "pollution"},
module_specification = {
module_info_icon_shift = {
0,
0.8
},
module_slots = 2
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {480,448},
scale = 0.2,
line_length = 3,
lines_per_file = 3,
frame_count = 4,
animation_speed = 0.5,
},
east = {
filename = sprite('entity_animation.png'),
size = {480,448},
scale = 0.2,
line_length = 3,
lines_per_file = 3,
frame_count = 4,
animation_speed = 0.5,
},
south = {
filename = sprite('entity_animation.png'),
size = {480,448},
scale = 0.2,
line_length = 3,
lines_per_file = 3,
frame_count = 4,
animation_speed = 0.5,
},
west = {
filename = sprite('entity_animation.png'),
size = {480,448},
scale = 0.2,
line_length = 3,
lines_per_file = 3,
frame_count = 4,
animation_speed = 0.5,
},
},
working_sound = {
sound = { filename = '__base__/sound/nuclear-reactor-1.ogg'},
idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
apparent_volume = 0.7,
},
},
})

View file

@ -27,6 +27,113 @@ data:extend({
subgroup = 'fi_item_subgroup_a-c', subgroup = 'fi_item_subgroup_a-c',
order = 'a-a', order = 'a-a',
}, },
{
name = 'fi_materials_natural_fiber',
type = 'item',
icon = sprite('natural_fiber.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_glass_fiber',
type = 'item',
icon = sprite('glass_fiber.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_glass',
type = 'item',
icon = sprite('glass.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_flourite',
type = 'item',
icon = sprite('flourite.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_pure_gold',
type = 'item',
icon = sprite('pure_gold.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_pure_titan',
type = 'item',
icon = sprite('pure_titan.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_pure_neodym',
type = 'item',
icon = sprite('pure_neodym.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_gold',
type = 'item',
icon = sprite('gold.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_neodym',
type = 'item',
icon = sprite('neodym.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_titan',
type = 'item',
icon = sprite('titan.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_a-c',
order = 'a-a',
},
{
name = 'fi_materials_NFK',
type = 'item',
icon = sprite('NFK.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_b',
order = 'a-a',
},
{
name = 'fi_materials_GFK',
type = 'item',
icon = sprite('GFK.png'),
icon_size = 64,
stack_size = 50,
subgroup = 'fi_item_subgroup_b',
order = 'a-a',
},
}) })

View file

@ -8,18 +8,16 @@ local function sprite(name)
end end
local limitation_list = { local limitation_list = {
'el_aluminum_ore_recipe',
'el_aluminum_item_recipe',
'el_lithium_ore_recipe',
'el_lithium_item_recipe',
'el_train_fuel_diesel_recipe', 'el_train_fuel_diesel_recipe',
'el_energy_crystal_recipe', 'el_grow_energy_crystal_recipe',
'fi_compound_material_recipe', 'fi_compound_material_recipe',
'fi_materials_industrial_steel_recipe', 'fi_materials_industrial_steel_recipe',
'fu_lead_ore_recipe', 'fu_lead_ore_recipe',
'fi_base_crystal_recipe', 'fi_base_crystal_recipe',
'fi_catalyst_crystal_recipe', 'fi_catalyst_crystal_recipe',
'fi_energy_crystal_recipe' 'fi_energy_crystal_recipe',
'fi_glass_fiber_recipe',
'fi_natural_fiber_recipe'
} }
--item --item

View file

@ -89,7 +89,7 @@ data:extend({
}, },
--tech sign --tech sign
{ {
name = 'fu_tech_sign_1_recipe', name = 'fu_fusion_card_1_recipe',
type = 'recipe', type = 'recipe',
category = 'fu_fusor_crafting_category', category = 'fu_fusor_crafting_category',
enabled = 'false', enabled = 'false',
@ -97,13 +97,13 @@ data:extend({
{type="fluid", name="fu_lithium_6", amount=100}, {type="fluid", name="fu_lithium_6", amount=100},
{type="fluid", name="fu_protium", amount=100}, {type="fluid", name="fu_protium", amount=100},
}, },
result = 'fu_tech_sign_item', result = 'fu_materials_fusion_card',
result_count = 5, result_count = 5,
energy_required = 100, energy_required = 100,
always_show_made_in = true, always_show_made_in = true,
}, },
{ {
name = 'fu_tech_sign_2_recipe', name = 'fu_fusion_card_2_recipe',
type = 'recipe', type = 'recipe',
category = 'fu_fusor_crafting_category', category = 'fu_fusor_crafting_category',
enabled = 'false', enabled = 'false',
@ -111,13 +111,13 @@ data:extend({
{type="fluid", name="fu_lithium_6", amount=100}, {type="fluid", name="fu_lithium_6", amount=100},
{type="fluid", name="fu_deuterium", amount=100}, {type="fluid", name="fu_deuterium", amount=100},
}, },
result = 'fu_tech_sign_item', result = 'fu_materials_fusion_card',
result_count = 100, result_count = 30,
energy_required = 100, energy_required = 100,
always_show_made_in = true, always_show_made_in = true,
}, },
{ {
name = 'fu_tech_sign_3_recipe', name = 'fu_fusion_card_3_recipe',
type = 'recipe', type = 'recipe',
category = 'fu_fusor_crafting_category', category = 'fu_fusor_crafting_category',
enabled = 'false', enabled = 'false',
@ -125,13 +125,13 @@ data:extend({
{type="fluid", name="fu_lithium_6", amount=100}, {type="fluid", name="fu_lithium_6", amount=100},
{type="fluid", name="fu_helium_3", amount=100}, {type="fluid", name="fu_helium_3", amount=100},
}, },
result = 'fu_tech_sign_item', result = 'fu_materials_fusion_card',
result_count = 100, result_count = 100,
energy_required = 100, energy_required = 100,
always_show_made_in = true, always_show_made_in = true,
}, },
{ {
name = 'fu_tech_sign_4_recipe', name = 'fu_fusion_card_4_recipe',
type = 'recipe', type = 'recipe',
category = 'fu_fusor_crafting_category', category = 'fu_fusor_crafting_category',
enabled = 'false', enabled = 'false',
@ -139,26 +139,26 @@ data:extend({
{type="fluid", name="fu_deuterium", amount=100}, {type="fluid", name="fu_deuterium", amount=100},
{type="fluid", name="fu_tritium", amount=100}, {type="fluid", name="fu_tritium", amount=100},
}, },
result = 'fu_tech_sign_item', result = 'fu_materials_fusion_card',
result_count = 10000, result_count = 100,
energy_required = 100, energy_required = 100,
always_show_made_in = true, always_show_made_in = true,
}, },
{ {
name = 'fu_tech_sign_5_recipe', name = 'fu_fusion_card_5_recipe',
type = 'recipe', type = 'recipe',
category = 'fu_fusor_crafting_category', category = 'fu_fusor_crafting_category',
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{type="fluid", name="fu_deuterium", amount=200}, {type="fluid", name="fu_deuterium", amount=100},
}, },
result = 'fu_tech_sign_item', result = 'fu_materials_fusion_card',
result_count = 2000, result_count = 40,
energy_required = 100, energy_required = 100,
always_show_made_in = true, always_show_made_in = true,
}, },
{ {
name = 'fu_tech_sign_6_recipe', name = 'fu_fusion_card_6_recipe',
type = 'recipe', type = 'recipe',
category = 'fu_fusor_crafting_category', category = 'fu_fusor_crafting_category',
enabled = 'false', enabled = 'false',
@ -166,21 +166,21 @@ data:extend({
{type="fluid", name="fu_deuterium", amount=100}, {type="fluid", name="fu_deuterium", amount=100},
{type="fluid", name="fu_helium_3", amount=100}, {type="fluid", name="fu_helium_3", amount=100},
}, },
result = 'fu_tech_sign_item', result = 'fu_materials_fusion_card',
result_count = 1000, result_count = 20,
energy_required = 100, energy_required = 100,
always_show_made_in = true, always_show_made_in = true,
}, },
{ {
name = 'fu_tech_sign_7_recipe', name = 'fu_fusion_card_7_recipe',
type = 'recipe', type = 'recipe',
category = 'fu_fusor_crafting_category', category = 'fu_fusor_crafting_category',
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{type="fluid", name="fu_protium", amount=20000}, {type="fluid", name="fu_protium", amount=20000},
}, },
result = 'fu_tech_sign_item', result = 'fu_materials_fusion_card',
result_count = 10, result_count = 1,
energy_required = 100, energy_required = 100,
always_show_made_in = true, always_show_made_in = true,
}, },
@ -296,14 +296,17 @@ data:extend({
{ {
name = 'fu_lead_recipe', name = 'fu_lead_recipe',
type = 'recipe', type = 'recipe',
category = 'smelting',
enabled = 'false', enabled = 'false',
category = 'el_caster_category',
ingredients = { ingredients = {
{type="item", name="fu_lead_ore_item", amount=4}, {type="fluid", name="fu_arc_pure_lead", amount=100},
}, },
result = 'fu_lead_item', results = {
result_count = 2, {type="item", name="fu_lead_item", amount=1},
energy_required = 2, },
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
}, },
{ {
name = 'fu_lead_crushed_recipe', name = 'fu_lead_crushed_recipe',
@ -311,10 +314,10 @@ data:extend({
category = 'fi_crushing', category = 'fi_crushing',
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{type="item", name="fu_lead_item", amount=4}, {type="item", name="fu_lead_item", amount=1},
}, },
result = 'fu_crushed_lead_item', result = 'fu_crushed_lead_item',
result_count = 1, result_count = 2,
energy_required = 2, energy_required = 2,
}, },
{ {
@ -338,7 +341,7 @@ data:extend({
category = 'fu_stelar_reactor_crafting_category', category = 'fu_stelar_reactor_crafting_category',
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{type="fluid", name="fu_lead_fluid", amount=1000, temperature=500}, {type="fluid", name="fu_lead_fluid", amount=1000},
{type="fluid", name="fu_protium", amount=20}, {type="fluid", name="fu_protium", amount=20},
}, },
results = { results = {
@ -353,7 +356,7 @@ data:extend({
category = 'fu_stelar_reactor_crafting_category', category = 'fu_stelar_reactor_crafting_category',
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{type="fluid", name="fu_lead_fluid", amount=1000, temperature=500}, {type="fluid", name="fu_lead_fluid", amount=1000},
{type="fluid", name="fu_deuterium", amount=1}, {type="fluid", name="fu_deuterium", amount=1},
{type="fluid", name="fu_tritium", amount=1}, {type="fluid", name="fu_tritium", amount=1},
}, },
@ -369,7 +372,7 @@ data:extend({
category = 'fu_stelar_reactor_crafting_category', category = 'fu_stelar_reactor_crafting_category',
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{type="fluid", name="fu_lead_fluid", amount=1000, temperature=500}, {type="fluid", name="fu_lead_fluid", amount=1000},
{type="fluid", name="fu_protium", amount=15}, {type="fluid", name="fu_protium", amount=15},
{type="fluid", name="fu_lithium_6", amount=15}, {type="fluid", name="fu_lithium_6", amount=15},
}, },
@ -386,7 +389,7 @@ data:extend({
category = 'fu_tokamak_reactor_crafting_category', category = 'fu_tokamak_reactor_crafting_category',
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{type="fluid", name="fu_lead_fluid", amount=110000, temperature=500}, {type="fluid", name="fu_lead_fluid", amount=110000},
{type="fluid", name="fu_deuterium", amount=200}, {type="fluid", name="fu_deuterium", amount=200},
}, },
results = { results = {
@ -401,7 +404,7 @@ data:extend({
category = 'fu_tokamak_reactor_crafting_category', category = 'fu_tokamak_reactor_crafting_category',
enabled = 'false', enabled = 'false',
ingredients = { ingredients = {
{type="fluid", name="fu_lead_fluid", amount=180000, temperature=500}, {type="fluid", name="fu_lead_fluid", amount=180000},
{type="fluid", name="fu_deuterium", amount=100}, {type="fluid", name="fu_deuterium", amount=100},
{type="fluid", name="fu_tritium", amount=100}, {type="fluid", name="fu_tritium", amount=100},
}, },
@ -1084,5 +1087,275 @@ data:extend({
result_count = 1, result_count = 1,
energy_required = 6, energy_required = 6,
}, },
{
name = 'fu_laser_recipe',
type = 'recipe',
enabled = 'false',
ingredients = {
{'concrete',60},
{'el_materials_ALK',60},
{'iron-gear-wheel',40},
{'electric-engine-unit',15},
{'el_energy_crystal_item',20},
},
result = 'fu_laser_item',
result_count = 1,
energy_required = 4,
},
{
name = 'fu_laser_crystal_recipe',
type = 'recipe',
category = 'fu_laser_category',
enabled = 'false',
main_product = 'fu_materials_energy_crystal',
subgroup = 'fu_item_subgroup_a-b',
ingredients = {
{type="fluid", name="fu_lead_fluid", amount=50},
{type="item", name="fu_materials_refined_crystal", amount=1}
},
results = {
{type="item", name="fu_materials_energy_crystal", amount=1},
{type="fluid", name="fu_lead_fluid", amount=50, temperature=1500}
},
result_count = 1,
energy_required = 3,
always_show_made_in = true,
},
{
name = 'fu_refined_crystal_recipe',
type = 'recipe',
category = 'el_grower_category',
enabled = 'false',
subgroup = 'fu_item_subgroup_a-b',
ingredients = {
{type="fluid", name="fi_crystal_fluid", amount=100},
{type="item", name="fi_energy_crystal_item", amount=2}
},
results = {
{type="item", name="fu_materials_refined_crystal", amount=1}
},
result_count = 1,
energy_required = 10,
always_show_made_in = true,
},
{
name = 'fu_plasma_recipe',
type = 'recipe',
enabled = 'false',
ingredients = {
{'concrete',60},
{'el_materials_ALK',60},
{'iron-gear-wheel',40},
{'electric-engine-unit',15},
{'el_energy_crystal_item',20},
},
result = 'fu_plasma_item',
result_count = 1,
energy_required = 4,
},
{
name = 'fu_magnet_recipe',
type = 'recipe',
enabled = 'false',
ingredients = {
{'concrete',60},
{'el_materials_ALK',60},
{'iron-gear-wheel',40},
{'electric-engine-unit',15},
{'el_energy_crystal_item',20},
},
result = 'fu_magnet_item',
result_count = 1,
energy_required = 4,
},
{
name = 'fu_magnet_1_recipe',
type = 'recipe',
enabled = 'false',
category = 'fu_magnet_category',
main_product = 'fu_materials_magnet',
ingredients = {
{type="fluid", name="fu_lead_fluid", amount=20},
{type="item", name="fi_materials_neodym", amount=6},
{type="item", name="fi_materials_GFK", amount=2},
},
results = {
{type="fluid", name="fu_lead_fluid", amount=20, temperature=1500},
{type="item", name="fu_materials_magnet", amount=1},
},
energy_required = 4,
always_show_made_in = true,
},
{
name = 'fu_KFK_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_compound_machine_category',
ingredients = {
{type="fluid", name="petroleum-gas", amount=20},
{type="item", name="fu_materials_carbon_fiber", amount=1},
{type="item", name="plastic-bar", amount=2},
},
results = {
{type="item", name="fu_materials_KFK", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fu_TIM_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_compound_machine_category',
ingredients = {
{type="fluid", name="fu_metal_foam", amount=20},
{type="item", name="fi_materials_titan", amount=4},
},
results = {
{type="item", name="fu_materials_TIM", amount=1},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fu_metal_foam_recipe',
type = 'recipe',
enabled = 'false',
category = 'chemistry',
ingredients = {
{type="fluid", name="steam", amount=300},
{type="item", name="el_aluminum_item", amount=4},
},
results = {
{type="fluid", name="fu_metal_foam", amount=20},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true,
},
{
name = 'fu_carbon_fiber_recipe',
type = 'recipe',
enabled = 'false',
category = 'fi_fiberer_category',
ingredients = {
{type="item", name="fi_crushed_coal_item", amount=6},
--{type="fluid", name="steam", amount=240, temperature=165},
},
results = {
{type="item", name="fu_materials_carbon_fiber", amount=1},
},
energy_required = 2,
always_show_made_in = true
},
{
name = 'fu_laser_card_recipe',
type = 'recipe',
enabled = 'false',
category = 'fu_laser_category',
main_product = 'fu_materials_laser_card',
ingredients = {
{type="fluid", name="fu_lead_fluid", amount=50}
},
results = {
{type="fluid", name="fu_lead_fluid", amount=50, temperature=1500},
{type="item", name="fu_materials_laser_card", amount=1}
},
energy_required = 1,
always_show_made_in = true
},
{
name = 'fu_plasma_card_recipe',
type = 'recipe',
enabled = 'false',
category = 'fu_plasma_category',
main_product = 'fu_materials_plasma_card',
ingredients = {
{type="fluid", name="fu_lead_fluid", amount=50},
{type="item", name="stone", amount=10}
},
results = {
{type="fluid", name="fu_lead_fluid", amount=50, temperature=1500},
{type="item", name="fu_materials_plasma_card", amount=1}
},
energy_required = 1,
always_show_made_in = true
},
{
name = 'fu_magnet_card_recipe',
type = 'recipe',
enabled = 'false',
category = 'fu_magnet_category',
main_product = 'fu_materials_magnet_card',
ingredients = {
{type="fluid", name="fu_lead_fluid", amount=50},
{type="item", name="fi_materials_neodym", amount=1}
},
results = {
{type="fluid", name="fu_lead_fluid", amount=50, temperature=1500},
{type="item", name="fu_materials_magnet_card", amount=1}
},
energy_required = 1,
always_show_made_in = true
},
{
name = 'fu_pure_ore_recipe',
type = 'recipe',
enabled = 'false',
category = 'crafting-with-fluid',
main_product = 'fu_materials_pure_lead',
ingredients = {
{type="fluid", name="fi_dirty_water", amount=50},
},
results = {
{type="fluid", name="water", amount=50},
{type="item", name="fi_materials_pure_gold", amount=2},
{type="item", name="fi_materials_pure_neodym", amount=2},
{type="item", name="fi_materials_pure_titan", amount=2},
{type="item", name="fu_materials_pure_lead", amount=2},
},
energy_required = 0.2,
order = 'a-b',
},
{
name = 'fu_arc_pure_lead_recipe',
type = 'recipe',
enabled = 'false',
category = 'el_arc_furnace_category',
ingredients = {
{type="item", name="fu_materials_pure_lead", amount=1},
},
results = {
{type="fluid", name="fu_arc_pure_lead", amount=200},
},
energy_required = 0.2,
order = 'a-b',
always_show_made_in = true
},
{
name = 'fu_tech_sign_recipe',
type = 'recipe',
enabled = 'false',
main_product = 'fu_tech_sign_item',
ingredients = {
{type="item", name="fu_materials_laser_card", amount=1},
{type="item", name="fu_materials_plasma_card", amount=1},
{type="item", name="fu_materials_fusion_card", amount=1},
{type="item", name="fu_materials_magnet_card", amount=1},
},
results = {
{type="item", name="fu_tech_sign_item", amount=2}
},
energy_required = 1,
order = 'a-b',
},
}) })

View file

@ -0,0 +1,169 @@
--local functions
local function config(name)
return settings.startup['fu_laser_'..name].value
end
local function sprite(name)
return '__248k__/ressources/fusion/fu_laser/fu_laser_'..name
end
--item
data:extend({
{
name = 'fu_laser_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'fu_laser_entity',
stack_size = 20,
subgroup = 'fu_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'fu_laser_entity',
type = 'assembling-machine',
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_laser_item',
},
crafting_categories = {'fu_laser_category'},
crafting_speed = 1,
ingredient_count = 2,
--fixed_recipe = 'el_water_pressure_recipe',
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
},
energy_usage = '60MW',
fluid_boxes = {
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, -4}},
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {-4, 0}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {4, 0}},
--{type = "output", position = {2, -2.5}}
},
production_type = "output"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {0, 4}},
},
production_type = "output"
},
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.1}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.1}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.1}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.1}
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})
--{
-- production_type = "input",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {
-- { type="input", position = {-2, -2,5} },
-- { type="input", position = {2, -2.5} },
-- },
-- },
-- {
-- production_type = "output",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = 1,
-- pipe_connections = {{ type="output", position = {2, 2.5} }},
-- },
-- off_when_no_fluid_recipe = true

View file

@ -0,0 +1,173 @@
--local functions
local function config(name)
return settings.startup['fu_magnet_'..name].value
end
local function sprite(name)
return '__248k__/ressources/fusion/fu_magnet/fu_magnet_'..name
end
--item
data:extend({
{
name = 'fu_magnet_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'fu_magnet_entity',
stack_size = 20,
subgroup = 'fu_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'fu_magnet_entity',
type = 'assembling-machine',
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_magnet_item',
},
crafting_categories = {'fu_magnet_category'},
crafting_speed = 1,
ingredient_count = 2,
--fixed_recipe = 'el_water_pressure_recipe',
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
},
energy_usage = '20MW',
fluid_boxes = {
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, -4}},
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {-4, 0}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {4, 0}},
--{type = "output", position = {2, -2.5}}
},
production_type = "output"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {0, 4}},
},
production_type = "output"
},
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.1}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.1}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.1}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.1}
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})
--{
-- production_type = "input",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {
-- { type="input", position = {-2, -2,5} },
-- { type="input", position = {2, -2.5} },
-- },
-- },
-- {
-- production_type = "output",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = 1,
-- pipe_connections = {{ type="output", position = {2, 2.5} }},
-- },
-- off_when_no_fluid_recipe = true

View file

@ -0,0 +1,111 @@
--local functions
local function config(name)
return settings.startup['fu_materials_'..name].value
end
local function sprite(name)
return '__248k__/ressources/fusion/fu_materials/fu_materials_'..name
end
--item
data:extend({
{
name = 'fu_materials_energy_crystal',
type = 'item',
icon = sprite('energy_crystal.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_a',
order = 'a-a',
},
{
name = 'fu_materials_refined_crystal',
type = 'item',
icon = sprite('refined_crystal.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_a',
order = 'a-a',
},
{
name = 'fu_materials_pure_lead',
type = 'item',
icon = sprite('pure_lead.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_a',
order = 'a-a',
},
{
name = 'fu_materials_KFK',
type = 'item',
icon = sprite('KFK.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_b',
order = 'a-a',
},
{
name = 'fu_materials_TIM',
type = 'item',
icon = sprite('TIM.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_b',
order = 'a-a',
},
{
name = 'fu_materials_magnet',
type = 'item',
icon = sprite('magnet.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_b',
order = 'a-a',
},
{
name = 'fu_materials_carbon_fiber',
type = 'item',
icon = sprite('carbon_fiber.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_b',
order = 'a-a',
},
{
name = 'fu_materials_plasma_card',
type = 'item',
icon = sprite('plasma_card.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_c',
order = 'c-a',
},
{
name = 'fu_materials_laser_card',
type = 'item',
icon = sprite('laser_card.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_c',
order = 'c-a',
},
{
name = 'fu_materials_magnet_card',
type = 'item',
icon = sprite('magnet_card.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_c',
order = 'c-a',
},
{
name = 'fu_materials_fusion_card',
type = 'item',
icon = sprite('fusion_card.png'),
icon_size = 64,
stack_size = 100,
subgroup = 'fu_item_subgroup_c',
order = 'c-a',
},
})

View file

@ -0,0 +1,173 @@
--local functions
local function config(name)
return settings.startup['fu_plasma_'..name].value
end
local function sprite(name)
return '__248k__/ressources/fusion/fu_plasma/fu_plasma_'..name
end
--item
data:extend({
{
name = 'fu_plasma_item',
type = 'item',
icon = sprite('icon.png'),
icon_size = 64,
place_result = 'fu_plasma_entity',
stack_size = 20,
subgroup = 'fu_item_subgroup_c',
order = 'a-b',
},
})
--entity
data:extend({
--prototype
{
name = 'fu_plasma_entity',
type = 'assembling-machine',
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_plasma_item',
},
crafting_categories = {'fu_plasma_category'},
crafting_speed = 1,
ingredient_count = 2,
--fixed_recipe = 'el_water_pressure_recipe',
energy_source = {
type = 'electric',
usage_priority = 'secondary-input',
},
energy_usage = '60MW',
fluid_boxes = {
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {0, -4}},
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input", position = {-4, 0}}
},
production_type = "input"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {4, 0}},
--{type = "output", position = {2, -2.5}}
},
production_type = "output"
},
{
base_area = 1,
height = 2,
base_level = 1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "output", position = {0, 4}},
},
production_type = "output"
},
},
--animation
animation = {
north = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 2,
lines_per_file = 2,
frame_count = 4,
animation_speed = 0.2,
shift = {0,-0.1}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 2,
lines_per_file = 2,
frame_count = 4,
animation_speed = 0.2,
shift = {0,-0.1}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 2,
lines_per_file = 2,
frame_count = 4,
animation_speed = 0.2,
shift = {0,-0.1}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 2,
lines_per_file = 2,
frame_count = 4,
animation_speed = 0.2,
shift = {0,-0.1}
},
},
working_sound =
{
sound = {filename = "__base__/sound/chemical-plant-3.ogg" },
apparent_volume = 0.3,
},
},
})
--{
-- production_type = "input",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {
-- { type="input", position = {-2, -2,5} },
-- { type="input", position = {2, -2.5} },
-- },
-- },
-- {
-- production_type = "output",
--pipe_picture = assembler2pipepictures(),
--pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = 1,
-- pipe_connections = {{ type="output", position = {2, 2.5} }},
-- },
-- off_when_no_fluid_recipe = true

View file

@ -228,7 +228,7 @@ data:extend({
--animation --animation
animation = { animation = {
north = { north = {
filename = sprite('tokamak_entity_animation_vertikal.png'), filename = sprite('tokamak_entity_animation.png'),
size = {512*3,512*2}, size = {512*3,512*2},
scale = 0.37, scale = 0.37,
line_length = 3, line_length = 3,
@ -238,7 +238,7 @@ data:extend({
shift = {2.34,0.3}, shift = {2.34,0.3},
}, },
east = { east = {
filename = sprite('tokamak_entity_animation_horizontal.png'), filename = sprite('tokamak_entity_animation.png'),
size = {512*3,512*2}, size = {512*3,512*2},
scale = 0.37, scale = 0.37,
line_length = 3, line_length = 3,
@ -248,7 +248,7 @@ data:extend({
shift = {2.34,0.3}, shift = {2.34,0.3},
}, },
south = { south = {
filename = sprite('tokamak_entity_animation_vertikal.png'), filename = sprite('tokamak_entity_animation.png'),
size = {512*3,512*2}, size = {512*3,512*2},
scale = 0.37, scale = 0.37,
line_length = 3, line_length = 3,
@ -258,7 +258,7 @@ data:extend({
shift = {2.34,0.3}, shift = {2.34,0.3},
}, },
west = { west = {
filename = sprite('tokamak_entity_animation_horizontal.png'), filename = sprite('tokamak_entity_animation.png'),
size = {512*3,512*2}, size = {512*3,512*2},
scale = 0.37, scale = 0.37,
line_length = 3, line_length = 3,

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View file

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Some files were not shown because too many files have changed in this diff Show more