Skip to content

Commit

Permalink
turd stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Dec 9, 2023
1 parent a9edb38 commit 6cd0a78
Show file tree
Hide file tree
Showing 11 changed files with 254 additions and 164 deletions.
9 changes: 6 additions & 3 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ Date: ???
Changes:
- fix zungrugor and numals not being disabled even when they had no animal modules
- fixed that fawogae mk4 and fawogae mk5 were both unlocked at the same science tier (py4)
- buffed the fawogae->coal recipe by requiring 1 fawogae input instead of 10
- buffed sap turd path 2 to give resveratrol instead of cellulose
- buffed the fawogae->coal recipe by requiring 1 fawogae input instead of 10
- added a new recipe for cumene+nickel+arthropod blood into organic solvent
- buffed bioprinting by removing primers from the pluripotent stem cells recipes
- fixed that bioprinting stage 2 unlocked both mk1 and mk2 of brain printing. mk1 recipe moved down to bioprinting stage 1
- moved native flora smart farming down to chemical science
TURD:
- added T.U.R.D unselect infinite tech to allow the indecisive to revert a single T.U.R.D selection
- added a new T.U.R.D: the composter turd. why is it unlocked at military science? don't ask too many questions
- moved native flora smart farming down to chemical science
- buffed all three paths of bioprinter turd
- added creature chamber turd (avalible at py science pack 2) credit: soren
- buffed sap turd path 2 to give resveratrol instead of cellulose
---------------------------------------------------------------------------------------------------
Version: 2.1.12
Date: 2023-11-22
Expand Down
14 changes: 7 additions & 7 deletions locale/en/techs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ biofactory-upgrade=Biofactory upgrade
bioreactor-upgrade=Bioreactor upgrade
cadaveric-arum-upgrade=Cadaveric arum upgrade
compost-upgrade=Compost upgrade
creature-upgrade=Creature chamber upgrade
creature-chamber-upgrade=Creature chamber upgrade
genlab-upgrade=Genlab upgrade
cridren-upgrade=Cridren upgrade
data-array-upgrade=Data-array upgrade
Expand Down Expand Up @@ -372,9 +372,9 @@ e-photo=Electrical photoneutralization
constant=Exothermic irrigation
humus=Sweet tooth
worm-hotel=Worm hotel
respiratory=Respiratory bioamplifier
respiratory=Knowledge transfer
neural-fusion=Neural fusion
cc=Catalytic cytoosmosis
cc=Planetary adaptation
hsn=High-speed nucleodeleter
enn=Extreme nucleotide neutralization
dwx=Hygroscopic addition
Expand Down Expand Up @@ -819,11 +819,11 @@ 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=Composting is always an exothermic process. The heat is generated by microbial activity and retained by 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 escape 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.
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 the perfect breeding ground for retrovirus. [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.
respiratory=Use the data array to open-source your scientific advancements with other researchers in the home galaxy. The alien data is revised by the community and returned with high fidelity. Due to the extra operational equipment, energy costs increase dramatically.
neural-fusion=Redesign the creature chamber for the arthurian brain cellular matrix to be useable as a standard procedure in neural and brain maturing and organization, speeding up the longest of embryo phases.
cc=The cellular blueprints for worker creatures such as caravans and digosaurs are not native to this galaxy. This forces the designs of these creatures to be generalized for function in all enviorments. Use additional DNA samples taken from this planet when constructing these creatures in order to make them more efficient. Speed and health are increased by 35%. The more complex biological construction process will take significantly longer.
hsn=Use computational models to track and delete any aberration in the ADAM42 DNA building process by a focused laser array.
enn=Nickel carbonyl is a nickel-based carbonyl with caustic and volatile properties, especially when exposed to biological material. A discovery was made that this biohazard could help in the synthesis of polyketide synthase enzymes (PKSs) by neutralization of nucleotides in the sample. The addition of this chemical will allow the chambers to have less than 0.0001% chance of xeno DNA mutation errors. The cycle in each stage will take longer, but the specimens will be the closest to perfection.
dwx=Polyvinylpyrrolidone is a hygroscopic, amorphous, synthetic polymer consisting of linear 1-vinyl-2-pyrrolidinone groups. This chemical will improve the effectivity of heavy-metal ATPases by absorbing any remaining moisture and forcing the plants to become hydrophobic.
Expand Down
151 changes: 62 additions & 89 deletions prototypes/technologies/turd-respec.lua
Original file line number Diff line number Diff line change
@@ -1,103 +1,76 @@
TECHNOLOGY {
type = 'technology',
name = 'turd-respec-1',
icon = '__pyalienlifegraphics3__/graphics/technology/updates/restart.png',
icon_size = 128,
prerequisites = {'dhilmos-upgrade', 'dingrits-upgrade'},
effects = {},
unit = {
count_formula = '2^(L-1)*5000',
ingredients = {
{'automation-science-pack', 100},
{'py-science-pack-1', 60},
{'logistic-science-pack', 30},
{'military-science-pack', 20},
{'py-science-pack-2', 20},
{'chemical-science-pack', 10},
{'py-science-pack-3', 6},
{'production-science-pack', 3},
{'py-science-pack-4', 2},
{'utility-science-pack', 1},
},
time = 1200,
},
max_level = 1,
is_turd = true,
localised_description = {'', {'turd.font', {'turd.tech'}}, '\n', {'technology-description.turd-respec'}}
}
local description = {'', {'turd.font', {'turd.tech'}}, '\n', {'technology-description.turd-partial-respec'}}

TECHNOLOGY {
type = 'technology',
name = 'turd-respec-2',
icon = '__pyalienlifegraphics3__/graphics/technology/updates/restart.png',
icon_size = 128,
prerequisites = {'turd-respec-1'},
effects = {},
unit = {
count_formula = '2^(L-1)*2500',
ingredients = {
{'automation-science-pack', 200},
{'py-science-pack-1', 100},
{'logistic-science-pack', 60},
{'military-science-pack', 30},
{'py-science-pack-2', 30},
{'chemical-science-pack', 20},
{'py-science-pack-3', 10},
{'production-science-pack', 6},
{'py-science-pack-4', 3},
{'utility-science-pack', 2},
{'space-science-pack', 1},
},
time = 1200,
},
max_level = 'infinite',
is_turd = true,
localised_description = {'', {'turd.font', {'turd.tech'}}, '\n', {'technology-description.turd-respec'}}
}
local science_packs
if mods.pystellarexpedition then
science_packs = {
'automation-science-pack',
'py-science-pack-1',
'logistic-science-pack',
'military-science-pack',
'py-science-pack-2',
'chemical-science-pack',
'space-science-pack-2',
'py-science-pack-3',
'production-science-pack',
'py-science-pack-4',
'utility-science-pack',
'space-science-pack',
}
else
science_packs = {
'automation-science-pack',
'py-science-pack-1',
'logistic-science-pack',
'py-science-pack-2',
'chemical-science-pack',
'py-science-pack-3',
'production-science-pack',
'py-science-pack-4',
'utility-science-pack',
'space-science-pack',
}
end

TECHNOLOGY {
type = 'technology',
name = 'turd-partial-respec-1',
icon = '__pyalienlifegraphics3__/graphics/technology/updates/single-restart.png',
icon_size = 128,
prerequisites = {'chemical-science-pack'},
effects = {},
unit = {
count_formula = '2^(L-1)*5000',
ingredients = {
{'automation-science-pack', 10},
{'py-science-pack-1', 6},
{'logistic-science-pack', 3},
{'py-science-pack-2', 2},
{'chemical-science-pack', 1},
local offset = 5

local ingredients = {}
for i = offset, #science_packs - 1 do
pack = science_packs[i]
ingredients[i] = {pack, 1}
TECHNOLOGY {
type = 'technology',
name = 'turd-partial-respec-' .. (i-offset+1),
icon = '__pyalienlifegraphics3__/graphics/technology/updates/restart.png',
icon_size = 128,
prerequisites = i ~= offset and {'turd-partial-respec-' .. (i-offset)} or {'ulric-upgrade'},
effects = {},
unit = {
count = 50,
ingredients = table.deepcopy(ingredients),
time = 30,
},
time = 1200,
},
max_level = 1,
is_turd = true,
localised_description = {'', {'turd.font', {'turd.tech'}}, '\n', {'technology-description.turd-partial-respec'}}
}
upgrade = true,
is_turd = true,
localised_description = {'', {'turd.font', {'turd.tech'}}, '\n', {'technology-description.turd-partial-respec'}}
}
end

ingredients[#science_packs] = {science_packs[#science_packs], 1}

TECHNOLOGY {
type = 'technology',
name = 'turd-partial-respec-2',
icon = '__pyalienlifegraphics3__/graphics/technology/updates/single-restart.png',
name = 'turd-partial-respec-' .. (#science_packs - offset),
icon = '__pyalienlifegraphics3__/graphics/technology/updates/restart.png',
icon_size = 128,
prerequisites = {'turd-partial-respec-1'},
prerequisites = {'turd-partial-respec-' .. (#science_packs - 1 - offset)},
effects = {},
unit = {
count_formula = '2^(L-1)*2500',
ingredients = {
{'automation-science-pack', 20},
{'py-science-pack-1', 10},
{'logistic-science-pack', 6},
{'py-science-pack-2', 3},
{'chemical-science-pack', 2},
{'production-science-pack', 1},
},
time = 1200,
count_formula = '2^(L-' .. (#science_packs - offset) .. ')*2500',
ingredients = ingredients,
time = 1800,
},
max_level = 'infinite',
is_turd = true,
upgrade = true,
localised_description = {'', {'turd.font', {'turd.tech'}}, '\n', {'technology-description.turd-partial-respec'}}
}
33 changes: 24 additions & 9 deletions prototypes/upgrades/bioprinting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,53 +8,64 @@ if data and not yafc_turd_integration then
table.deepcopy(data.raw.recipe['bio-scafold-4']),
} do
recipe.name = recipe.name .. '-with-lamp'
FUN.add_ingredient(recipe, {'small-lamp', 2})
FUN.add_ingredient(recipe, {'small-lamp', 1})
FUN.multiply_result_amount(recipe, 'bio-scafold', 2)
data:extend{recipe}
end

for i, recipe in pairs({
table.deepcopy(data.raw.recipe['bio-printer-mk01']),
table.deepcopy(data.raw.recipe['bio-printer-mk02']),
table.deepcopy(data.raw.recipe['bio-printer-mk03']),
table.deepcopy(data.raw.recipe['bio-printer-mk04']),
}) do
recipe.name = recipe.name .. '-yag'
FUN.add_ingredient(recipe, {type = 'item', name = 'yag-laser-module', amount = 2*i})
data:extend{recipe}
end

data:extend{
{
type = 'recipe',
name = 'stem-cell-recycle-1',
enabled = false,
category = 'atomizer',
results = {{type = 'fluid', name = 'psc', amount = 10}},
results = {{type = 'fluid', name = 'psc', amount = 30}},
ingredients = {
{'bones', 3},
{'chitin', 3},
{'mukmoux-fat', 5},
{name = 'oxygen', amount = 150, type = 'fluid'}
},
energy_required = 20
energy_required = 5
},
{
type = 'recipe',
name = 'stem-cell-recycle-2',
enabled = false,
category = 'atomizer',
results = {{type = 'fluid', name = 'psc', amount = 10}},
results = {{type = 'fluid', name = 'psc', amount = 30}},
ingredients = {
{'bonemeal', 3},
{'skin', 5},
{'brain', 2},
{name = 'oxygen', amount = 150, type = 'fluid'}
},
energy_required = 20
energy_required = 5
},
{
type = 'recipe',
name = 'stem-cell-recycle-3',
enabled = false,
category = 'atomizer',
results = {{type = 'fluid', name = 'psc', amount = 10}},
results = {{type = 'fluid', name = 'psc', amount = 30}},
ingredients = {
{'guts', 6},
{'meat', 4},
{type = 'fluid', name = 'blood', amount = 40},
{name = 'oxygen', amount = 150, type = 'fluid'}
},
energy_required = 20
energy_required = 5
}
}
end
Expand All @@ -71,7 +82,7 @@ return {
icon = '__pyalienlifegraphics3__/graphics/technology/updates/u-bioprinting.png',
icon_size = 128,
order = 'c-a',
prerequisites = {'organ-printing-mk02'},
prerequisites = {'organ-printing-mk02', 'parametric-oscilator'},
unit = {
count = 500,
ingredients = {
Expand Down Expand Up @@ -105,7 +116,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 = 2, speed = -1, productivity = 0.1, type = 'module-effects'}
{consumption = 2, speed = -1, productivity = 0.15, type = 'module-effects'},
{old = 'bio-printer-mk01', new = 'bio-printer-mk01-yag', type = 'recipe-replacement'},
{old = 'bio-printer-mk02', new = 'bio-printer-mk02-yag', type = 'recipe-replacement'},
{old = 'bio-printer-mk03', new = 'bio-printer-mk03-yag', type = 'recipe-replacement'},
{old = 'bio-printer-mk04', new = 'bio-printer-mk04-yag', type = 'recipe-replacement'},
}
},
{
Expand Down
33 changes: 8 additions & 25 deletions prototypes/upgrades/compost.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,34 +50,18 @@ if data and not yafc_turd_integration then

data:extend{{
type = 'recipe',
name = 'free-manure-bacteria',
category = 'compost',
enabled = false,
energy_required = 1,
name = 'cheap-retrovirus',
category = 'incubator',
ingredients = {
{type = 'item', name = 'biomass', amount = 4},
{type = 'fluid', name = 'water', amount = 60},
{'retrovirus', 1},
{'biomass', 2},
{type = 'fluid', name = 'hot-air', amount = 30},
},
results = {
{type = 'fluid', name = 'manure-bacteria', amount = 60},
{type = 'item', name = 'retrovirus', amount = 2, catalyst_amount = 1},
},
main_product = 'manure-bacteria',
}}

data:extend{{
type = 'recipe',
name = 'manure-bacteria-to-manure',
category = 'bio-reactor',
energy_required = 5,
enabled = false,
energy_required = 2,
ingredients = {
{type = 'fluid', name = 'manure-bacteria', amount = 60},
},
results = {
{type = 'item', name = 'manure', amount = 1},
{type = 'fluid', name = 'water', amount = 50},
},
main_product = 'manure',
}}

data:extend{{
Expand Down Expand Up @@ -254,8 +238,7 @@ return {
{type = 'machine-replacement', old = 'compost-plant-mk02', new = 'compost-plant-mk02-turd'},
{type = 'machine-replacement', old = 'compost-plant-mk03', new = 'compost-plant-mk03-turd'},
{type = 'machine-replacement', old = 'compost-plant-mk04', new = 'compost-plant-mk04-turd'},
{type = 'unlock-recipe', recipe = 'free-manure-bacteria'},
{type = 'unlock-recipe', recipe = 'manure-bacteria-to-manure'},
{type = 'unlock-recipe', recipe = 'cheap-retrovirus'},
{recipe = 'sweet-syrup', type = 'unlock-recipe', also_unlocked_by_techs = true},
{recipe = 'a-molasse', type = 'unlock-recipe', also_unlocked_by_techs = true},
}
Expand Down
Loading

0 comments on commit 6cd0a78

Please sign in to comment.