Skip to content

Commit

Permalink
composter turd path 3
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Dec 7, 2023
1 parent db95a43 commit db98c61
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 4 deletions.
2 changes: 2 additions & 0 deletions locale/en/items.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ antitumor=Antitumor nanomachines
enediyne=Enediynes
dynemicin=Dynemicin
trits=Trits
worm=Worm
trits-mk02=Trits MK 02
trits-mk03=Trits MK 03
trits-mk04=Trits MK 04
Expand Down Expand Up @@ -889,6 +890,7 @@ cadaveric-arum-mk04-a=Smelly plant which produces sulfur-based gases.
empty-petri-dish=Ready to receive substrate.
petri-dish=Basic microbiology material.
petri-dish-bacteria=Beautiful colonies of alien life.
worm=Having a bad day? Just [font=default-semibold][color=255,60,60]w[/color][color=60,255,60]o[/color][color=60,60,255]r[/color][color=255,255,0]m[/color][/font] your way out of it!
seaweed=Basic multipurpose material.
seaweed-mk02=Basic multipurpose material.
seaweed-mk03=Basic multipurpose material.
Expand Down
4 changes: 2 additions & 2 deletions locale/en/techs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,8 @@ acid-comtemplator=A standard greenhouse will use basic elements to neutralize th
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 the florishing of manure 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=Provides heat, humidity and aeration at the perfect balance to accommodate useful worm in ideal conditions. The will use the water extracts leached from composted materials reducing pollution and improving production.
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.
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.
cc=Low temperature cell aggregation at max thanks to the use of korlex cryoglands, we can command cells and even tissue to a specific location by a temperature gradient and some nexelit grains.
Expand Down
95 changes: 93 additions & 2 deletions prototypes/upgrades/compost.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if data and not yafc_turd_integration then
pipe_covers = DATA.Pipes.covers(false, true, true, true),
pipe_picture = DATA.Pipes.pictures('assembling-machine-3', nil, {0.0, -0.88}, nil, nil),
base_area = 1,
base_level = -1,
base_level = 1,
pipe_connections = {{type = 'output', position = {0.0, 6.0}}},
secondary_draw_orders = { north = -1 }
})
Expand Down Expand Up @@ -79,6 +79,93 @@ if data and not yafc_turd_integration then
},
main_product = 'manure',
}}

data:extend{{
type = 'item',
name = 'worm',
icon = '__pyalienlifegraphics2__/graphics/icons/worm.png',
icon_size = 64,
flags = {},
subgroup = 'py-alienlife-items',
order = 'q',
stack_size = 500
}}

data:extend{{
type = 'recipe',
name = 'worm',
category = 'biofactory',
enabled = false,
energy_required = 10,
ingredients = {
{type = 'item', name = 'biomass', amount = 1},
},
results = {
{type = 'item', name = 'worm', amount_min = 15, amount_max = 22},
{type = 'item', name = 'powdered-biomass', amount = 1},
},
main_product = 'worm',
}}

data:extend{{
type = 'recipe',
name = 'worm-stone',
category = 'bio-reactor',
enabled = false,
energy_required = 0.5,
ingredients = {
{type = 'item', name = 'worm', amount = 1},
{type = 'item', name = 'stone-brick', amount = 1},
},
results = {
{type = 'item', name = 'stone', amount = 2},
},
}}

data:extend{{
type = 'recipe',
name = 'worm-wood',
category = 'bio-reactor',
enabled = false,
energy_required = 0.5,
ingredients = {
{type = 'item', name = 'worm', amount = 1},
{type = 'item', name = 'wood', amount = 1},
},
results = {
{type = 'item', name = 'wood-seeds', amount = 1},
},
}}

data:extend{{
type = 'recipe',
name = 'worm-coarse',
category = 'bio-reactor',
enabled = false,
energy_required = 0.5,
ingredients = {
{type = 'item', name = 'worm', amount = 1},
{type = 'item', name = 'gravel', amount = 1},
},
results = {
{type = 'item', name = 'coarse', amount = 2},
},
}}

data:extend{{
type = 'recipe',
name = 'worm-manure',
category = 'bio-reactor',
enabled = false,
energy_required = 0.5,
ingredients = {
{type = 'item', name = 'worm', amount = 1},
{type = 'item', name = 'guts', amount = 2},
},
results = {
{type = 'item', name = 'manure', amount = 1},
},
}}
end

return {
Expand Down Expand Up @@ -136,7 +223,11 @@ 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.25, speed = 0, productivity = 0.2, type = 'module-effects'}
{type = 'unlock-recipe', recipe = 'worm'},
{type = 'unlock-recipe', recipe = 'worm-stone'},
{type = 'unlock-recipe', recipe = 'worm-wood'},
{type = 'unlock-recipe', recipe = 'worm-coarse'},
{type = 'unlock-recipe', recipe = 'worm-manure'},
}
}
}
Expand Down

0 comments on commit db98c61

Please sign in to comment.