summaryrefslogtreecommitdiff
path: root/src/engine/constants.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-08-18 22:18:01 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-08-18 22:18:01 +0200
commit0c1636355918a82df0ec188252c8f90487206c7b (patch)
tree6a232a17a83f34b5a13f517164618b7230ae8653 /src/engine/constants.rs
parentc36278ec2593ff9b25bf3f5bad22ab547cca5447 (diff)
Implemented maximum number of energy buildings in a row
Diffstat (limited to 'src/engine/constants.rs')
-rw-r--r--src/engine/constants.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/constants.rs b/src/engine/constants.rs
index 9ece36d..60e8101 100644
--- a/src/engine/constants.rs
+++ b/src/engine/constants.rs
@@ -26,6 +26,8 @@ pub const ENERGY_GENERATED_TOWER: u16 = 3;
pub const ENERGY_PRICE: u16 = 20;
pub const ENERGY_CONSTRUCTION_TIME: u8 = 1;
+pub const ENERGY_MAX_IN_ROW: u32 = 2;
+
pub const IRON_CURTAIN_PRICE: u16 = 100;
pub const IRON_CURTAIN_UNLOCK_INTERVAL: u16 = 30;
pub const IRON_CURTAIN_DURATION: u8 = 6;