Skip to content

Commit

Permalink
composter turd path 1
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Dec 8, 2023
1 parent 4766984 commit a023fd1
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 9 deletions.
6 changes: 3 additions & 3 deletions locale/en/techs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ jacket=Tank circuit
acid-comtemplator=Acid vitality-contemplator
solar-scope=Solar scope
e-photo=Electrical photoneutralization
constant=Constant irrigation
constant=Exothermic irrigation
humus=Sweet tooth
worm-hotel=Worm hotel
respiratory=Respiratory bioamplifier
Expand Down Expand Up @@ -818,8 +818,8 @@ jacket=Use nanozymes to force break and bound carbon links in complex substrates
acid-comtemplator=A standard greenhouse will use basic elements to neutralize the soil acidity which is naturally produced by this crop facility. Removing the dependence on acidic elements will increase crop density, however the soil will need to be replaced constantly.
solar-scope=Replace the greenhouse plastic with a special material made from a nano-lens. The medium will focus and increase the solar energy density over these crops, improving their growth rate and removing the energy requirement for artificial heating.
e-photo=Uses special light spectrums to break down and neutralize any excess acidity generated at the plant's roots. Grants a small byproduct of MSA acid in the soil that can be collected. The required light spectrums must be generated via artificial luminescence, increasing total energy usage.
constant=Better control of humidity grants a boost in the conversion speed, but also will need extra pumps.
humus=Certian strains of aerobic manure bacteria florish when mixed with the molasses contained in sweet tuuphra nectar. By adding this syrup to your compost bins, the resulting biomass becomes viable for this strain of bacteria bacteria. [font=default-semibold][color=255,60,60]WARNING: Picking this option will cause all composters to require a small amount of sweet syrup as a fluid fuel (0.1 per second per MK level).[/color][/font] Consumption rate is also scaled based on module effects. Due to the extra biological activity, composters also gain 5% productivity per MK level.
constant=Composting is always an exothermic process. The heat is generated by the microbial activity and retained by the insulation. At industrial scales, this residual heat can reach up to 250 degrees Celsius. Pouring water on the resulting biomass will instantly vaporize it, creating a significant amount of steam. Counterintuitively, the vaporizing process creates additional excape channels for existing moistures in the compost. This reduction in the overall moisture content will result in dry biomass.
humus=Certian strains of aerobic manure bacteria florish when mixed with the molasses contained in sweet tuuphra nectar. By adding this syrup to your compost bins, the resulting biomass becomes viable for this strain of bacteria. [font=default-semibold][color=255,60,60]WARNING: Picking this option will cause all composters to require a small amount of sweet syrup as a fluid fuel (0.1 per second per MK level).[/color][/font] Consumption rate is also scaled based on module effects. Due to the extra biological activity, composters also gain 5% productivity per MK level.
worm-hotel=Your composter attracts thousands of burrowing worms. The biofactory is able to seperate these earth dwellers from the biomass, leaving powdered compost behind. These worms are able to crush various materials more efficently than can be done through abiotic technologies.
respiratory=Install the special respiratory bioamplifier in the chambers, made with zipir parenchyma providing best cellular oxygenation and growth.
neural-fusion=Arthurian brain cellular matrix will now be used as a standard procedure in neural and brain maturing and organization, speeding up the longest of embryo phases.
Expand Down
55 changes: 49 additions & 6 deletions prototypes/upgrades/compost.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ if data and not yafc_turd_integration then
stack_size = 500
}}

data:extend{{
type = 'item-subgroup',
name = 'py-alienlife-worm',
group = 'py-alienlife',
order = 'bc'
}}

data:extend{{
type = 'recipe',
name = 'worm',
Expand All @@ -105,12 +112,14 @@ if data and not yafc_turd_integration then
{type = 'item', name = 'powdered-biomass', amount = 1},
},
main_product = 'worm',
subgroup = 'py-alienlife-worm',
order = 'a'
}}

data:extend{{
type = 'recipe',
name = 'worm-stone',
category = 'bio-reactor',
category = 'agitator',
enabled = false,
energy_required = 1,
ingredients = {
Expand All @@ -120,12 +129,14 @@ if data and not yafc_turd_integration then
results = {
{type = 'item', name = 'stone', amount = 4},
},
subgroup = 'py-alienlife-worm',
order = 'ba'
}}

data:extend{{
type = 'recipe',
name = 'worm-wood',
category = 'bio-reactor',
category = 'agitator',
enabled = false,
energy_required = 2,
ingredients = {
Expand All @@ -135,12 +146,14 @@ if data and not yafc_turd_integration then
results = {
{type = 'item', name = 'wood-seeds', amount = 2},
},
subgroup = 'py-alienlife-worm',
order = 'bb'
}}

data:extend{{
type = 'recipe',
name = 'worm-coarse',
category = 'bio-reactor',
category = 'agitator',
enabled = false,
energy_required = 3,
ingredients = {
Expand All @@ -150,22 +163,47 @@ if data and not yafc_turd_integration then
results = {
{type = 'item', name = 'coarse', amount = 2},
},
subgroup = 'py-alienlife-worm',
order = 'bc'
}}

data:extend{{
type = 'recipe',
name = 'worm-manure',
category = 'bio-reactor',
category = 'agitator',
enabled = false,
energy_required = 4,
ingredients = {
{type = 'item', name = 'worm', amount = 1},
{type = 'item', name = 'guts', amount = 2},
{type = 'item', name = 'guts', amount = 5},
},
results = {
{type = 'item', name = 'manure', amount = 1},
},
subgroup = 'py-alienlife-worm',
order = 'bd'
}}

for i, recipe in pairs({
table.deepcopy(data.raw.recipe['compost-plant-mk01']),
table.deepcopy(data.raw.recipe['compost-plant-mk02']),
table.deepcopy(data.raw.recipe['compost-plant-mk03']),
table.deepcopy(data.raw.recipe['compost-plant-mk04']),
}) do
recipe.name = recipe.name .. '-with-pump'
FUN.add_ingredient(recipe, {type = 'item', name = 'offshore-pump', amount = 2*i})
data:extend{recipe}
end

local fine_powdered_biomass = table.deepcopy(data.raw.recipe['fine-powdered-biomass'])
fine_powdered_biomass.name = 'fine-powdered-biomass-irragration'
FUN.add_ingredient(fine_powdered_biomass, {type = 'fluid', name = 'water', amount = 250})
fine_powdered_biomass.category = 'washer'
fine_powdered_biomass.energy_required = 3
fine_powdered_biomass.main_product = 'steam'
FUN.add_result(fine_powdered_biomass, {type = 'fluid', name = 'steam', amount = 250, temperature = 250})
FUN.add_result(fine_powdered_biomass, {type = 'item', name = 'dried-biomass', amount = 12})
data:extend{fine_powdered_biomass}
end

return {
Expand Down Expand Up @@ -198,7 +236,12 @@ return {
icon_size = 128,
order = 'c-a',
effects = { -- the effects the tech will have on the building. valid types: 'module-effects', 'unlock-recipe', 'recipe-replacement', 'machine-replacement'
{consumption = 0.0, speed = 0.15, productivity = -0.12, type = 'module-effects'}
{consumption = 0.45, speed = 0.3, productivity = 0, type = 'module-effects'},
{type = 'recipe-replacement', old = 'fine-powdered-biomass', new = 'fine-powdered-biomass-irragration'},
{type = 'recipe-replacement', old = 'compost-plant-mk01', new = 'compost-plant-mk01-with-pump'},
{type = 'recipe-replacement', old = 'compost-plant-mk02', new = 'compost-plant-mk02-with-pump'},
{type = 'recipe-replacement', old = 'compost-plant-mk03', new = 'compost-plant-mk03-with-pump'},
{type = 'recipe-replacement', old = 'compost-plant-mk04', new = 'compost-plant-mk04-with-pump'},
},
},
{
Expand Down

0 comments on commit a023fd1

Please sign in to comment.