Skip to content

Commit

Permalink
feat: remove Ugly/Deformed from Feline/Lupine mutation path (#5163)
Browse files Browse the repository at this point in the history
* Remove Ugly/Deformed from Feline/Lupine mutation path

Feline and Lupine have both Ugly/Deformed and Pretty/Beautiful in their mutation categories, so often instead of advancing other mutations they will swap back and forth between Pretty and Ugly and waste your mutagen.

* Update mutation_test.cpp

---------

Co-authored-by: Chaosvolt <[email protected]>
  • Loading branch information
DoubleBullfrog and chaosvolt authored Aug 8, 2024
1 parent 61e2064 commit 8aa9613
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions data/json/mutations/mutations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@
"starting_trait": true,
"cancels": [ "PRETTY", "BEAUTIFUL", "BEAUTIFUL2", "BEAUTIFUL3" ],
"changes_to": [ "DEFORMED" ],
"category": [ "RAPTOR", "FELINE", "LUPINE" ]
"category": [ "RAPTOR" ]
},
{
"type": "mutation",
Expand Down Expand Up @@ -4314,7 +4314,7 @@
"cancels": [ "PRETTY", "BEAUTIFUL", "BEAUTIFUL2", "BEAUTIFUL3" ],
"prereqs": [ "UGLY" ],
"changes_to": [ "DEFORMED2" ],
"category": [ "FISH", "CATTLE", "INSECT", "CEPHALOPOD", "FELINE", "LUPINE", "SPIDER" ]
"category": [ "FISH", "CATTLE", "INSECT", "CEPHALOPOD", "SPIDER" ]
},
{
"type": "mutation",
Expand Down
2 changes: 1 addition & 1 deletion tests/mutation_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ TEST_CASE( "Having all pre-threshold mutations gives a sensible threshold breach
"[mutations]" )
{
const float BREACH_CHANCE_MIN = 0.2f;
const float BREACH_CHANCE_MAX = 0.4f;
const float BREACH_CHANCE_MAX = 0.5f;

for( auto &cat : mutation_category_trait::get_all() ) {
const auto &cur_cat = cat.second;
Expand Down

0 comments on commit 8aa9613

Please sign in to comment.