Muluna support

This commit is contained in:
Simon Brodtmann 2025-09-29 19:04:03 +02:00
parent 9cad660242
commit 9acefcbed1
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1 @@
require("muluna")

View file

@ -0,0 +1,55 @@
local Technology = require("__cf-lib__/data/Technology")
if not mods["planet-muluna"] then return end
data:extend({
{
type = "recipe",
name = "advanced-cactus-tissue-cultivation",
icons = {
{ icon = "__wooden-arig__/graphics/icons/pile-dust-yellowcake-1.png" },
{ icon = "__planetaris-unbounded__/graphics/icons/fluid/pure-sand.png", scale = 0.25, shift = { 8, -8 }, draw_background = true },
},
subgroup = "arig-bioprocessing",
category = "muluna-greenhouse-11x11",
ingredients = {
{ type = "item", name = "cactus-tissue", amount = 20 },
{ type = "fluid", name = "planetaris-pure-sand", amount = 4 },
{ type = "fluid", name = "steam", amount = 25 },
},
results = { { type = "item", name = "cactus-tissue", amount = 50 } },
energy_required = 120,
enabled = false,
allow_productivity = false,
auto_recycle = false
},
{
type = "recipe",
name = "muluna-greenhouse-arig",
localised_name = { "entity-name.muluna-greenhouse-wood" },
category = "crafting",
icons = {
{ icon = "__muluna-graphics__/graphics/greenhouse/sprites/greenhouse-icon.png" },
{ icon = "__planetaris-unbounded__/graphics/icons/glass-panel.png", scale = 0.25, shift = { 8, -8 }, draw_background = true }
},
energy_required = 5,
enabled = false,
allow_productivity = false,
ingredients =
{
{ type = "item", name = "steel-plate", amount = 10 },
{ type = "item", name = "planetaris-heavy-glass", amount = 20 },
{ type = "item", name = "small-lamp", amount = 20 },
{ type = "item", name = "pipe", amount = 10 },
{ type = "item", name = "chemical-plant", amount = 5 },
{ type = "item", name = "planetaris-sandstone-brick", amount = 20 },
},
results = { { type = "item", name = "muluna-greenhouse-wood", amount = 1 } }
}
})
Technology:new("planetaris-sand-sifting")
:addRecipe("advanced-cactus-tissue-cultivation")
:addRecipe("muluna-greenhouse-arig")
data.raw.recipe["cactus-tissue-cultivation"].energy_required = 60