Skip to content

Commit

Permalink
Change upgrades price
Browse files Browse the repository at this point in the history
  • Loading branch information
NewfolderGames committed May 28, 2021
1 parent fc54b10 commit 0d0a888
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lights_out"
version = "0.1.0"
version = "0.1.1"
authors = ["이민용 <me@newfolder.games>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion src/assets/technology.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub fn load(stuff_manager: &mut StuffManager) {
"technology_workbench",
Box::new(|_| {
vec![
("resource_science", 45f64),
("resource_science", 40f64),
("resource_stone", 20f64),
("resource_wood", 20f64),
]
Expand Down
14 changes: 7 additions & 7 deletions src/assets/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn load(stuff_manager: &mut StuffManager) {
}),
Box::new(|_| {
vec![
("resource_science", 50f64),
("resource_science", 30f64),
]
})
));
Expand All @@ -28,8 +28,8 @@ pub fn load(stuff_manager: &mut StuffManager) {
}),
Box::new(|_| {
vec![
("resource_knowledge", 10f64),
("resource_wood", 50f64),
("resource_knowledge", 30f64),
("resource_wood", 30f64),
]
})
));
Expand All @@ -43,8 +43,8 @@ pub fn load(stuff_manager: &mut StuffManager) {
}),
Box::new(|_| {
vec![
("resource_knowledge", 50f64),
("resource_wood", 50f64),
("resource_knowledge", 30f64),
("resource_wood", 30f64),
]
})
));
Expand All @@ -58,8 +58,8 @@ pub fn load(stuff_manager: &mut StuffManager) {
}),
Box::new(|_| {
vec![
("resource_knowledge", 50f64),
("resource_wood", 50f64),
("resource_knowledge", 30f64),
("resource_wood", 30f64),
]
})
));
Expand Down
2 changes: 1 addition & 1 deletion src/game/game.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ impl Game {
if self.stuff_manager.purchase_building(name) {

self.rendering_manager.render(&self.stuff_manager);
self.rendering_manager.push_log(&format!("Built a building '{}'.", self.stuff_manager.get_text(&format!("{}_title", name)).unwrap_or(&name.to_uppercase())), Some("#44aaff"));
self.rendering_manager.push_log(&format!("Constructed a building '{}'.", self.stuff_manager.get_text(&format!("{}_title", name)).unwrap_or(&name.to_uppercase())), Some("#44aaff"));

}

Expand Down
2 changes: 1 addition & 1 deletion www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<header id="header">
<div class="left">
<span class="game">Lights Out</span>
<span class="version">v0.1.0</span>
<span class="version">v0.1.1</span>
<span class="creator">by NewfolderGames</span>
</div>
<div class="center"></div>
Expand Down

0 comments on commit 0d0a888

Please sign in to comment.