Skip to content

Commit

Permalink
Adjust some upgrade things
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Dec 7, 2023
1 parent bd19201 commit 1446256
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ generate_upgrade_list!(
},
MovementPlugin: Upgrade {
name: "MovementPlugin".to_string(),
description: "Allows the entities to move. Increases the fun factor.".to_string(),
description: "Allows entities to move. Makes your game more fun.".to_string(),
fun_score: 1.0,
base_cost: 5.0,
install: Some(
world.register_system(|mut simulation: ResMut<Simulation>| {
Expand Down Expand Up @@ -339,7 +340,8 @@ generate_upgrade_list!(

SpeedupPlugin: Upgrade {
name: "SpeedupPlugin".to_string(),
description: "Increases the entity movement speed. Increases the fun factor.".to_string(),
description: "Increases the entity movement speed. Makes your game more fun.".to_string(),
fun_score: 1.0,
base_cost: 10.0,
cost_scale_factor: 1.2,
weight: 1.0,
Expand All @@ -355,7 +357,8 @@ generate_upgrade_list!(
},
EntitySizePlugin: Upgrade {
name: "EntitySizePlugin".to_string(),
description: "Increases the maximum entity size. Increases the fun factor.".to_string(),
description: "Increases the maximum entity size. Makes your game prettier.".to_string(),
presentation_score: 1.0,
base_cost: 10.0,
cost_scale_factor: 1.2,
weight: 1.0,
Expand All @@ -373,7 +376,7 @@ generate_upgrade_list!(

EntitySpawner: Upgrade {
name: "EntitySpawnerPlugin".to_string(),
description: "Periodically spawns entities. By default, generates 1 entity every 2 seconds.".to_string(),
description: "Spawns 1 entity every 2 seconds.".to_string(),
base_cost: 100.0,
tech_debt: 1.0,
weight: 1.0,
Expand All @@ -385,7 +388,7 @@ generate_upgrade_list!(
},
BatchSpawner: Upgrade {
name: "BatchSpawnerPlugin".to_string(),
description: "Doubles the amount of entities spawned by EntitySpawner.".to_string(),
description: "Doubles the amount of entities spawned by EntitySpawnerPlugin.".to_string(),
requirements: vec![(UpgradeKind::EntitySpawner, 1)],
base_cost: 50.0,
cost_scale_factor: 1.2,
Expand All @@ -399,7 +402,7 @@ generate_upgrade_list!(
},
OptimizeSpawner: Upgrade {
name: "Optimize Spawner".to_string(),
description: "Halves the period of the EntitySpawner by optimizing its code.".to_string(),
description: "Halves the cooldown of EntitySpawnerPlugin by optimizing its code.".to_string(),
requirements: vec![(UpgradeKind::EntitySpawner, 1)],
base_cost: 100.0,
cost_scale_factor: 1.2,
Expand Down Expand Up @@ -453,7 +456,7 @@ generate_upgrade_list!(
},
Rtfm: Upgrade {
name: "RTFM".to_string(),
description: "Multiplies the number of characters typed per key press by 2.".to_string(),
description: "Doubles the number of characters typed per key press.".to_string(),
base_cost: 50.0,
tech_debt: -1.0,
weight: 0.5,
Expand All @@ -470,7 +473,7 @@ generate_upgrade_list!(

ProceduralMacro: Upgrade {
name: "ProceduralMacroPlugin".to_string(),
description: "Periodically generates lines of code. By default, generates 1 line of code every 2 seconds.".to_string(),
description: "Writes 1 line of code every 2 seconds.".to_string(),
base_cost: 50.0,
tech_debt: 1.0,
weight: 1.0,
Expand All @@ -482,7 +485,7 @@ generate_upgrade_list!(
},
NewMacro: Upgrade {
name: "New Macro".to_string(),
description: "Doubles the amount of code generated by ProceduralMacroPlugin.".to_string(),
description: "Doubles the amount of code written by ProceduralMacroPlugin.".to_string(),
requirements: vec![(UpgradeKind::ProceduralMacro, 1)],
base_cost: 50.0,
cost_scale_factor: 1.2,
Expand All @@ -496,7 +499,7 @@ generate_upgrade_list!(
},
DynamicLinking: Upgrade {
name: "Dynamic Linking".to_string(),
description: "Reduces the period of the ProceduralMacroPlugin to one second by speeding up the build process.".to_string(),
description: "Halves the cooldown of ProceduralMacroPlugin by speeding up the build process.".to_string(),
requirements: vec![(UpgradeKind::ProceduralMacro, 1)],
base_cost: 50.0,
cost_scale_factor: 1.2,
Expand Down

0 comments on commit 1446256

Please sign in to comment.