Recipe
Code: Select all
{
type = "recipe",
name = "muluna-tree-growth-greenhouse",
enabled = false,
categories = {"muluna-greenhouse"},
icons = dual_icon("muluna-sapling","carbon-dioxide"),
ingredients = {
{type = "item",name = "tree-seed", amount=10}, --Reminder: 1 tree seed = 2 wood
{type = "fluid",name = "carbon-dioxide", amount=10000,fluidbox_index = 1},
{type = "fluid",name = "water", amount=500,fluidbox_index = 2},
},
results = {
{type = "item",name = "muluna-sapling", amount=10},
{type = "fluid",name = "oxygen", amount=10000,ignored_by_productivity=10000,fluidbox_index = 1}
},
energy_required=5*60,
subgroup="muluna-forestry",
max_productivity = 3,
allow_quality = false,
auto_recycle=false,
allow_productivity = true,
hide_from_signal_gui = false,
surface_conditions = {
{
property = "temperature",
max = 314
}
}
},Code: Select all
fluid_boxes = {
{
volume = 200,
pipe_covers = pipecoverspictures(),
pipe_picture = Muluna.pipe_pictures.greenhouse_pipe_pictures(),
pipe_connections =
{
{flow_direction = "input-output", direction = defines.direction.west, position = {-4.0, 3}},
{flow_direction = "input-output", direction = defines.direction.east, position = {4.0, 3}},
{flow_direction = "input-output", direction = defines.direction.south, position = {-3.0, 4}},
{flow_direction = "input-output", direction = defines.direction.north, position = {-3, -4}},
},
production_type = "input",
--filter = "carbon-dioxide"
},
{
volume = 200,
pipe_covers = pipecoverspictures(),
pipe_picture = Muluna.pipe_pictures.greenhouse_pipe_pictures(),
pipe_connections =
{
--{flow_direction = "input", direction = defines.direction.west, position = {-5.0, 0}},
--{flow_direction = "input", direction = defines.direction.east, position = {5.0, 0}},
--{flow_direction = "input", direction = defines.direction.south, position = {-0.0, 5}},
{flow_direction = "input", direction = defines.direction.north, position = {-0, -4}},
},
production_type = "input",
--filter = "water"
},
{
volume = 200,
pipe_covers = pipecoverspictures(),
pipe_picture = Muluna.pipe_pictures.greenhouse_pipe_pictures(),
--pipe_picture = require("__space-age__.prototypes.entity.cryogenic-plant-pictures").pipe_picture,
--always_draw_covers = true, -- fighting against FluidBoxPrototype::always_draw_covers crazy default
pipe_connections =
{
{flow_direction = "input-output", direction = defines.direction.west, position = {-4.0, -3}},
{flow_direction = "input-output", direction = defines.direction.east, position = {4.0, -3}},
{flow_direction = "input-output", direction = defines.direction.south, position = {3.0, 4}},
{flow_direction = "input-output", direction = defines.direction.north, position = {3, -4}},
},
production_type = "output",
--filter = "oxygen"
},
{
volume = 200,
pipe_covers = pipecoverspictures(),
pipe_picture = Muluna.pipe_pictures.greenhouse_pipe_pictures(),
pipe_connections =
{
--{flow_direction = "input", direction = defines.direction.west, position = {-5.0, 0}},
--{flow_direction = "input", direction = defines.direction.east, position = {5.0, 0}},
--{flow_direction = "input", direction = defines.direction.south, position = {-0.0, 5}},
{flow_direction = "input", direction = defines.direction.west, position = {-4, 0}},
},
production_type = "input",
--filter = "fluoroketone-cold",
},
{
volume = 200,
pipe_covers = pipecoverspictures(),
pipe_picture = Muluna.pipe_pictures.greenhouse_pipe_pictures(),
pipe_connections =
{
--{flow_direction = "input", direction = defines.direction.west, position = {-5.0, 0}},
--{flow_direction = "input", direction = defines.direction.east, position = {5.0, 0}},
--{flow_direction = "input", direction = defines.direction.south, position = {-0.0, 5}},
{flow_direction = "output", direction = defines.direction.east, position = {4, 0}},
},
production_type = "output",
--filter = "fluoroketone-hot",
},
},I don't believe this fluid mixing prevention system was intended to break existing fluidboxes or recipe fluidbox indices.
Muluna repo: https://github.com/nicholasgower/planet ... 6b663729c9
