Skip to content

Commit 56c4907

Browse files
authored
Obsolete and remove "speedydex" (#82143)
1 parent 1ac12e5 commit 56c4907

File tree

5 files changed

+7
-42
lines changed

5 files changed

+7
-42
lines changed

data/core/mod_migrations.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "mod_migration",
1616
"//": "Removed in 0.I",
1717
"id": "StatsThroughSkills",
18-
"removal_reason": "Hardcode that enabled this was removed and it doesn't meet repo inclusion criteria, non-hardcoded alternatives are available out of repo eg Erin105/StatsThroughSkills."
18+
"removal_reason": "Hardcode that enabled this was removed and it doesn't meet repo inclusion criteria, non-hardcoded alternatives are available out of repo."
1919
},
2020
{
2121
"type": "mod_migration",
@@ -34,5 +34,11 @@
3434
"//": "Removed in 0.H",
3535
"id": "No_Rail_Stations",
3636
"removal_reason": "Railway stations removed from vanilla and moved to \"Railroads\" mod making this mod redundant."
37+
},
38+
{
39+
"type": "mod_migration",
40+
"//": "Removed in 0.I",
41+
"id": "speedydex",
42+
"removal_reason": "Does not meet repo requirements of offering a different, curated gameplay experience. Mod can trivially be reproduced in JSON with enchantments."
3743
}
3844
]

data/mods/No_Hope/custom_difficulty_mod_template.url

Lines changed: 0 additions & 5 deletions
This file was deleted.

data/mods/No_Hope/help_files.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"No Hope adds 3 difficulties that allow you to pick between increasingly more harsh multipliers to spawn rates split by item category intended to make basic survival less trivial and progression slower and in turn require more exploration leading to greater risk while less powerful without decreasing the spawn rates of items such as mutagens and bionics that are intended as rewards for exploring more dangerous locations and are already rare and as such shouldn't be punished.",
2828
"The difficulty options can be used alongside the regular item spawn rate setting if desired with expected results.",
2929
"For exact numerical breakdowns of the options see difficulty_options.json along with DIFFICULTY_OPTIONS.md for a barebones breakdown of which categories are affected and why.",
30-
"If you wish to alter the difficulty settings past the 3 options you might prefer to use a personal mod to add a 4th option so that you don't need to keep editing files on update and can instead just copy paste the personal mod across, see https://github.com/Procyonae/CDDAMiniMods/tree/main/data/mods/No_Hope_Custom_Difficulty (shortcut in mod folder) for a template of such a mod that just needs the numbers tweaking to your liking.",
3130
"If you wish to change the selected option on an existing save you can do so by binding the debug menu then navigating to debug menu -> Game -> Activate EOC -> EOC_NH_set_difficulty. This notably won't change already generated item spawns anywhere that your reality bubble has touched."
3231
]
3332
}

data/mods/speedydex/modinfo.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/character.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4334,15 +4334,6 @@ int Character::get_int_bonus() const
43344334
return int_bonus;
43354335
}
43364336

4337-
static int get_speedydex_bonus( const int dex )
4338-
{
4339-
static const std::string speedydex_min_dex( "SPEEDYDEX_MIN_DEX" );
4340-
static const std::string speedydex_dex_speed( "SPEEDYDEX_DEX_SPEED" );
4341-
// this is the number to be multiplied by the increment
4342-
const int modified_dex = std::max( dex - get_option<int>( speedydex_min_dex ), 0 );
4343-
return modified_dex * get_option<int>( speedydex_dex_speed );
4344-
}
4345-
43464337
int Character::get_enchantment_speed_bonus() const
43474338
{
43484339
return enchantment_speed_bonus;
@@ -12493,8 +12484,6 @@ void Character::recalc_speed_bonus()
1249312484
}
1249412485
mod_speed_bonus( -carry_penalty, _( "Weight Carried" ) );
1249512486

12496-
mod_speed_bonus( +get_speedydex_bonus( get_dex() ), _( "Dexterity" ) );
12497-
1249812487
mod_speed_bonus( -get_pain_penalty().speed, _( "Pain" ) );
1249912488

1250012489
if( get_thirst() > 40 ) {

0 commit comments

Comments
 (0)