diff --git a/wooden-arig/prototypes/compatibility/data.lua b/wooden-arig/prototypes/compatibility/data.lua new file mode 100644 index 0000000..fa526fe --- /dev/null +++ b/wooden-arig/prototypes/compatibility/data.lua @@ -0,0 +1 @@ +require("muluna") \ No newline at end of file diff --git a/wooden-arig/prototypes/compatibility/muluna.lua b/wooden-arig/prototypes/compatibility/muluna.lua new file mode 100644 index 0000000..bc59b14 --- /dev/null +++ b/wooden-arig/prototypes/compatibility/muluna.lua @@ -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 \ No newline at end of file