Skip to content

Commit

Permalink
Added migrations for all changed TURDs. Updated changelog. Made TURD …
Browse files Browse the repository at this point in the history
…migration reset free only once.
  • Loading branch information
Septiple committed Jan 6, 2024
1 parent 75cc07e commit b0ccc97
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 13 deletions.
26 changes: 14 additions & 12 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Version: 2.1.13
Date: ???
Changes:
- codex recipes no longer allow productivity effects
- 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
Expand All @@ -15,18 +16,19 @@ Date: ???
- added non blocking mode to caravans
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
- buffed all three paths of bioprinter turd
- buffed all three paths of rennea turd
- buffed all three paths of arthurian turd (path 1: abacus crafting time halfed, prod allowed in abacus recipe, prod module boost increased 15% -> 25%) (path 2: now also removes bedding from egg recipes & speeds egg recipes by 2x) (path 3: agar amount increased from 2 -> 5)
- buffed atomizer turd path 2; cognition-osteochain requirement reduced from 5 -> 2
- buffed sap turd path 2 to give resveratrol instead of cellulose
- buffed paths 1&2 of moondrop turd. path 1 output multipler increased from 10% to 20%. path 2 oxygen output increased 30->40. path 2 recipe time decreased 15s -> 8s. path 2 lamp recycle chance increased 50% -> 75%
- buffed all three paths of moss turd (chlorinated water is effected by productivity, path 2 gives 10% stone back as gravel, path 3 refined syngas recipe is now useable)
- added creature chamber turd (avalible at py science pack 2) credit: soren
- reworked scrondrix turd path 1 & 2
- reworked kicalk path 1
- fixed that tuuphra path 2 would just softlock you. lol
- added the option to unselect T.U.R.D paths for free once the next 10 hours after an update if you've chosen a path that got changed
- added a new T.U.R.D: the composter T.U.R.D. why is it unlocked at military science? don't ask too many questions
- buffed all three paths of bioprinter T.U.R.D
- buffed all three paths of rennea T.U.R.D
- buffed all three paths of arthurian T.U.R.D (path 1: abacus crafting time halfed, prod allowed in abacus recipe, prod module boost increased 15% -> 25%) (path 2: now also removes bedding from egg recipes & speeds egg recipes by 2x) (path 3: agar amount increased from 2 -> 5)
- buffed atomizer T.U.R.D path 2; cognition-osteochain requirement reduced from 5 -> 2
- buffed sap T.U.R.D path 2 to give resveratrol instead of cellulose
- buffed paths 1&2 of moondrop T.U.R.D. path 1 output multipler increased from 10% to 20%. path 2 oxygen output increased 30->40. path 2 recipe time decreased 15s -> 8s. path 2 lamp recycle chance increased 50% -> 75%
- buffed all three paths of moss T.U.R.D (chlorinated water is effected by productivity, path 2 gives 10% stone back as gravel, path 3 refined syngas recipe is now useable)
- added creature chamber T.U.R.D (avalible at py science pack 2) credit: soren
- reworked scrondrix T.U.R.D path 1 & 2
- reworked kicalk T.U.R.D path 1
- fixed that tuuphra T.U.R.D path 2 would just softlock you. lol
---------------------------------------------------------------------------------------------------
Version: 2.1.12
Date: 2023-11-22
Expand Down
18 changes: 18 additions & 0 deletions migrations/2.1.13.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
local turd_migrate = require('__pyalienlife__/scripts/turd/turd-migration')

turd_migrate('sap-upgrade', 'patch')
turd_migrate('bioprinting-upgrade', 'high-viability')
turd_migrate('bioprinting-upgrade', 'biomimetics')
turd_migrate('bioprinting-upgrade', 'covalent')
turd_migrate('rennea-upgrade', 'deadheading')
turd_migrate('rennea-upgrade', 'alltime')
turd_migrate('rennea-upgrade', 'aphid-cleaning')
turd_migrate('scrondrix-upgrade', 'boronb')
turd_migrate('scrondrix-upgrade', 'hspa')
turd_migrate('arthurian-upgrade', 'abacus')
turd_migrate('arthurian-upgrade', 'heated-stone')
turd_migrate('arthurian-upgrade', 'cannibalism')
turd_migrate('atomizer-upgrade', 'sub-atomic')
turd_migrate('kicalk-upgrade', 'wire-netting')
turd_migrate('moss-upgrade', 'spores')
turd_migrate('moss-upgrade', 'hd-moss')
turd_migrate('moss-upgrade', 'inbuilt-moss')
turd_migrate('moondrop-upgrade', 'cu')
turd_migrate('moondrop-upgrade', 'moon')
4 changes: 3 additions & 1 deletion scripts/turd/turd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@ gui_events[defines.events.on_gui_click]['py_turd_confirm_button'] = function(eve
end
force.print{'turd.font', {'turd.unselected-alert', {'technology-name.'..master_tech_name}, {'technology-name.'..sub_tech_name}, player.name, player.color.r, player.color.g, player.color.b}}
turd_bonuses[master_tech_name] = NOT_SELECTED
if not has_turd_migration(force_index, sub_tech_name) then
if has_turd_migration(force_index, sub_tech_name) then
global.turd_migrations[force_index][sub_tech_name] = 0
else
global.turd_reset_remaining[force_index] = global.turd_reset_remaining[force_index] - 1
end
unselect_recipes_for_subtech(tech_upgrades[master_tech_name].sub_techs[selection], force, find_all_assembling_machines(force))
Expand Down

0 comments on commit b0ccc97

Please sign in to comment.