Compare commits

...

3 commits

Author SHA1 Message Date
Simon Brodtmann
aa85b5ce0d Thumbnail 2025-09-29 19:04:09 +02:00
Simon Brodtmann
9acefcbed1 Muluna support 2025-09-29 19:04:03 +02:00
Simon Brodtmann
9cad660242 Cactus tissue processing 2025-09-29 19:03:51 +02:00
10 changed files with 138 additions and 6 deletions

BIN
sources/thumbnail.afphoto Normal file

Binary file not shown.

2
wooden-arig/data.lua Normal file
View file

@ -0,0 +1,2 @@
require("prototypes/content/data")
require("prototypes/compatibility/data")

View file

@ -2,12 +2,14 @@
"name": "wooden-arig",
"version": "1.0.0",
"title": "Wooden Arig",
"description": "",
"description": "Adds wood production to Arig.",
"author": "cackling fiend",
"homepage": "https://discord.gg/ufvFUJtVwk",
"factorio_version": "2.0",
"space_travel_required": true,
"dependencies": [
"planetaris-unbounded"
"cf-lib",
"planetaris-unbounded",
"(?) planet-muluna"
]
}

View file

@ -1,2 +1,8 @@
[item-name]
cactus-tissue=Cactus tissue
cactus-tissue=Cactus tissue
[recipe-name]
cactus-tissue-processing=Cactus tissue processing
cactus-tissue-cultivation=Cactus tissue cultivation
cactus-tissue-dehydration=Cactus tissue dehydration
advanced-cactus-tissue-cultivation=Advanced cactus tissue cultivation

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

View file

@ -1,11 +1,11 @@
local space_age_item_sounds = require("__space-age__.prototypes.item_sounds")
local cactus = table.deepcopy(data.raw["optimized-decorative"]["arig-small-cactus"])
cactus.type = "simple-entity"
cactus.type = "tree"
cactus.minable = {
mining_time = 1,
results = {
{ type = "item", name = "cactus-tissue", amount_min = 1, amount_max = 5 }
{ type = "item", name = "cactus-tissue", amount_min = 4, amount_max = 10 }
}
}
cactus.localised_name = { "decorative-name.arig-small-cactus" }
@ -16,7 +16,7 @@ cactus.selection_box = { {-0.5, -0.5}, { 0.5, 0.5 } }
cactus.mining_sound = sound_variations("__space-age__/sound/mining/mining-cuttlepop", 6, 0.8)
cactus.mined_sound = sound_variations("__space-age__/sound/mining/mined-cuttlepop", 5, 0.7)
cactus.flags = {"placeable-neutral", "placeable-off-grid"}
cactus.map_color = { 125, 149, 54 }
cactus.map_color = { 138, 138, 48 }
cactus.icon = "__planetaris-unbounded__/graphics/decorative/arig-small-cactus/arig-cactus-9.png"
data:extend({

View file

@ -0,0 +1,2 @@
require("cactus")
require("tissue-processing")

View file

@ -0,0 +1,64 @@
local Technology = require("__cf-lib__/data/Technology")
data:extend({
{
type = "recipe",
name = "cactus-tissue-processing",
icons = {
{ icon = "__base__/graphics/icons/wood.png" },
{ icon = "__wooden-arig__/graphics/icons/pile-dust-yellowcake-1.png", scale = 0.25, shift = { 8, 8 } }
},
subgroup = "arig-bioprocessing",
category = "crafting",
ingredients = { { type = "item", name = "cactus-tissue", amount = 6 } },
results = { { type = "item", name = "wood", amount = 1 } },
energy_required = 4,
enabled = false,
allow_productivity = true,
auto_recycle = false
},
{
type = "recipe",
name = "cactus-tissue-cultivation",
icons = {
{ icon = "__wooden-arig__/graphics/icons/pile-dust-yellowcake-1.png" },
},
subgroup = "arig-bioprocessing",
category = "chemistry",
ingredients = {
{ type = "item", name = "cactus-tissue", amount = 10 },
{ type = "fluid", name = "steam", amount = 10 },
},
results = { { type = "item", name = "cactus-tissue", amount = 20 } },
energy_required = 6,
enabled = false,
allow_productivity = false,
auto_recycle = false
},
{
type = "recipe",
name = "cactus-tissue-dehydration",
icons = {
{ icon = "__base__/graphics/icons/wood.png" },
{ icon = "__wooden-arig__/graphics/icons/pile-dust-yellowcake-1.png", scale = 0.25, shift = { 8, 8 } }
},
subgroup = "arig-bioprocessing",
category = "chemistry",
ingredients = {
{ type = "item", name = "cactus-tissue", amount = 8 },
},
results = {
{ type = "item", name = "wood", amount = 2 },
{ type = "fluid", name = "steam", amount = 6, ignored_by_productivity = 6 },
},
energy_required = 10,
enabled = false,
allow_productivity = true,
auto_recycle = false
},
})
Technology:new("planet-discovery-arig")
:addRecipe("cactus-tissue-processing")
:addRecipe("cactus-tissue-cultivation")
:addRecipe("cactus-tissue-dehydration")

BIN
wooden-arig/thumbnail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB