new recipes for kerosene to rocket fuel

This commit is contained in:
PreLeyZero 2022-06-07 20:16:16 +02:00
parent f559fb8d34
commit 0fc2f7e592
9 changed files with 79 additions and 8 deletions

View file

@ -1728,6 +1728,14 @@ data:extend({
type = 'unlock-recipe',
recipe = 'fi_solid_2_recipe',
},
{
type = 'unlock-recipe',
recipe = 'fi_rocket_fuel_1_recipe',
},
{
type = 'unlock-recipe',
recipe = 'fi_rocket_fuel_2_recipe',
},
},
unit = {
count = '100',

View file

@ -54,14 +54,15 @@ data:extend({
},
max_health = 150,
corpse = 'small-remnants',
collision_box = {{-1.4,-1.4},{1.4,1.4}},
selection_box = {{-1.5,-1.5},{1.5,1.5}},
collision_box = data.raw['solar-panel']['solar-panel'].collision_box,
selection_box = data.raw['solar-panel']['solar-panel'].selection_box,
--energy
energy_source = {
type = 'electric',
usage_priority = 'solar',
input_flow_limit = '0W',
},
fast_replaceable_group = 'solar-panel',
production = solar_output(),
--picture
picture = {
@ -73,3 +74,8 @@ data:extend({
map_color = {r=1.7,g=1.7,b=1.7},
},
})
if data.raw["solar-panel"]["solar-panel"] then
data.raw["solar-panel"]["solar-panel"].next_upgrade = "el_solar_entity"
data.raw["solar-panel"]["solar-panel"].fast_replaceable_group = "solar-panel"
end

View file

@ -1495,4 +1495,44 @@ data:extend({
subgroup = 'fluid-recipes',
order = 'b[fluid-chemistry]-e[solid-fuel-from-heavy-oil]-b',
},
{
name = 'fi_rocket_fuel_2_recipe',
type = 'recipe',
enabled = 'false',
category = 'chemistry',
main_product = 'rocket-fuel',
icon = sprite('icons/fi_rocket_1.png'),
icon_size = 64,
ingredients = {
{type="fluid", name="el_desulfurized_kerosene", amount=30},
{type="item", name="solid-fuel", amount=10},
},
results = {
{type="item", name="rocket-fuel", amount=1},
},
result_count = 1,
energy_required = 30,
subgroup = 'fluid-recipes',
order = 'b[fluid-chemistry]-e[solid-fuel-from-heavy-oil]-c',
},
{
name = 'fi_rocket_fuel_1_recipe',
type = 'recipe',
enabled = 'false',
category = 'chemistry',
main_product = 'rocket-fuel',
icon = sprite('icons/fi_rocket_2.png'),
icon_size = 64,
ingredients = {
{type="fluid", name="el_kerosene", amount=20},
{type="item", name="solid-fuel", amount=10},
},
results = {
{type="item", name="rocket-fuel", amount=1},
},
result_count = 1,
energy_required = 30,
subgroup = 'fluid-recipes',
order = 'b[fluid-chemistry]-e[solid-fuel-from-heavy-oil]-d',
},
})

View file

@ -33,13 +33,14 @@ data:extend({
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}},
collision_box = data.raw['assembling-machine']['assembling-machine-1'].collision_box,
selection_box = data.raw['assembling-machine']['assembling-machine-1'].selection_box,
map_color = {r=0, g=0, b=1, a=1},
minable = {
mining_time = 1,
result = 'fi_crafter_item',
},
fast_replaceable_group = "assembling-machine",
crafting_categories = {'advanced-crafting','crafting','smelting','fi_crafting_category'},
crafting_speed = 3.5,
energy_source = {
@ -105,4 +106,6 @@ data:extend({
apparent_volume = 0.7,
},
},
})
})
data.raw['assembling-machine']['assembling-machine-3'].next_upgrade = 'fi_crafter_entity'

View file

@ -33,13 +33,14 @@ data:extend({
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}},
collision_box = data.raw['assembling-machine']['assembling-machine-1'].collision_box,
selection_box = data.raw['assembling-machine']['assembling-machine-1'].selection_box,
map_color = {r=0, g=0, b=1, a=1},
minable = {
mining_time = 1,
result = 'gr_crafter_item',
},
fast_replaceable_group = "assembling-machine",
crafting_categories = {'advanced-crafting','crafting','smelting','fi_crafting_category'},
crafting_speed = 10,
energy_source = {
@ -100,4 +101,6 @@ data:extend({
apparent_volume = 0.7,
},
},
})
})
data.raw['assembling-machine']['fi_crafter_entity'].next_upgrade = 'gr_crafter_entity'