Skip to content

Commit

Permalink
Nerf Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Dec 11, 2023
1 parent bcfaac0 commit d9e9d43
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1068,10 +1068,10 @@ generate_upgrade_list!(
desc: "Improves the quality of the codebase.".to_string(),
sound: Some(SoundEffectKind::Backspace),
tech_debt: -5.0,
base_cost: 10.0,
base_cost: 50.0,
cost_scale_factor: 1.5,
weight: 2.0,
remaining: usize::MAX,
remaining: 8,
tech_debt_min: 10.0,
install: Some(world.register_system(|mut upgrade_list: ResMut<UpgradeList>| {
let this = &mut upgrade_list[Refactor];
Expand All @@ -1080,7 +1080,6 @@ generate_upgrade_list!(
..default()
},

// Unit test reduces both the technical debt and its multiplier slightly.
UnitTests: Upgrade {
name: "Unit Tests".to_string(),
desc: "Improves the quality of the codebase. Reduces all future technical debt increases by 5%.".to_string(),
Expand Down

0 comments on commit d9e9d43

Please sign in to comment.