fluid/item handler

This commit is contained in:
PreLeyZero 2022-04-09 17:37:15 +02:00
parent bb10790579
commit 66c0bed896
6 changed files with 99 additions and 26 deletions

View file

@ -85,6 +85,10 @@ data:extend({
type = 'unlock-recipe',
recipe = 'el_burner_kerosene_recipe',
},
{
type = 'unlock-recipe',
recipe = 'fu_burner_recipe',
},
},
unit = {
count = '150',
@ -192,10 +196,10 @@ data:extend({
type = 'unlock-recipe',
recipe = 'el_purify_stone_acidic_recipe',
},
{
type = 'unlock-recipe',
recipe = 'el_purify_uranium_acidic_recipe',
},
--{
-- type = 'unlock-recipe',
-- recipe = 'el_purify_uranium_acidic_recipe',
--},
{
type = 'unlock-recipe',
recipe = 'el_dirty_water_vent_2_recipe',
@ -1877,14 +1881,6 @@ data:extend({
type = 'unlock-recipe',
recipe = 'fu_boiler_recipe',
},
{
type = 'unlock-recipe',
recipe = 'fu_burn_oxygen_recipe',
},
{
type = 'unlock-recipe',
recipe = 'fu_burner_recipe',
},
{
type = 'unlock-recipe',
recipe = 'fu_lithium_6_recipe',

View file

@ -202,7 +202,7 @@ data:extend({
{type="fluid", name="el_kerosene", amount=200},
},
results = {
{type="fluid", name="el_desulfurized_kerosene", amount=80,temperature=40},
{type="fluid", name="el_desulfurized_kerosene", amount=80},
{type="fluid", name="el_acidic_water", amount=120},
},
result_count = 1,

View file

@ -81,9 +81,8 @@ data:extend({
hidden = false,
ingredients = {
{'el_burner_item',1},
{'pipe',60},
{'fu_materials_KFK',25},
{'fu_materials_TIM',15}
{'pipe',20},
{'electronic-circuit',20}
},
result = 'fu_burner_item',
result_count = 1,
@ -1541,7 +1540,8 @@ data:extend({
category = 'fu_burner_category',
icon = '__248k__/ressources/elements/fu_oxygen.png',
icon_size = 64,
enabled = 'false',
enabled = true,
hidden = true,
ingredients = {
{type="fluid", name="fu_oxygen", amount=60},
},
@ -1551,6 +1551,39 @@ data:extend({
always_show_made_in = true,
subgroup = 'fu_item_subgroup_f',
},
{
name = 'fu_burn_steam_recipe',
type = 'recipe',
category = 'fu_burner_category',
enabled = true,
hidden = true,
ingredients = {
{type="fluid", name="steam", amount=100},
},
results = {
{type="fluid", name="water", amount=100},
},
result_count = 1,
energy_required = 1,
always_show_made_in = true,
subgroup = 'fu_item_subgroup_f',
},
{
name = 'fu_burn_water_recipe',
type = 'recipe',
category = 'fu_burner_category',
icon = data.raw.fluid["water"].icon,
icon_size = data.raw.fluid["water"].icon_size,
hidden = true,
ingredients = {
{type="fluid", name="water", amount=100},
},
results = {},
result_count = 1,
energy_required = 1,
always_show_made_in = true,
subgroup = 'fu_item_subgroup_f',
},
})

View file

@ -16,8 +16,8 @@ data:extend({
icon_size = 64,
place_result = 'fu_burner_entity',
stack_size = 20,
subgroup = 'fu_item_subgroup_c',
order = 'a-b',
subgroup = 'el_item_subgroup_c',
order = 'a-a',
},
})
@ -56,8 +56,8 @@ data:extend({
height = 2,
base_level = -1,
production_type = 'input',
--pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
pipe_picture = south_basic_pipe_picture,
pipe_connections = {
{type = "input", position = {2, 0}},
--{type = "output", position = {-2, 0}},
@ -68,8 +68,8 @@ data:extend({
height = 2,
base_level = 1,
production_type = 'output',
--pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
pipe_picture = south_basic_pipe_picture,
pipe_connections = {
{type = "output", position = {-2, 0}},
--{type = "output", position = {-2, 0}},
@ -84,7 +84,7 @@ data:extend({
line_length = 1,
frame_count = 1,
animation_speed = 0.5,
shift = {0,-0.4}
shift = {0,-0.5}
},
map_color = {r=0, g=0, b=1, a=1},
working_sound =