diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-08-11 23:02:35 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-08-11 23:02:35 +0200 |
commit | fe3fbbdd7b4c4cb243f859db63a0cc6070179839 (patch) | |
tree | b46340055c44bd313ff1ae305a25026713b7fe58 /src/engine/constants.rs | |
parent | 8a562b9f8cd37fe23bc61974ee2124d77bbd9885 (diff) |
Implemented most of the iron curtain changes
Still need to
- set it active
- make the random move selection choose it
- test against real engine
Diffstat (limited to 'src/engine/constants.rs')
-rw-r--r-- | src/engine/constants.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/engine/constants.rs b/src/engine/constants.rs index 458251f..11afa29 100644 --- a/src/engine/constants.rs +++ b/src/engine/constants.rs @@ -18,7 +18,7 @@ pub const TESLA_MAX: usize = 2; pub const TESLA_COOLDOWN: u8 = 10; pub const TESLA_FIRING_ENERGY: u16 = 100; pub const TESLA_DAMAGE: u8 = 20; -pub const TESLA_PRICE: u16 = 300; +pub const TESLA_PRICE: u16 = 100; pub const TESLA_CONSTRUCTION_TIME: u8 = 10; pub const ENERGY_GENERATED_BASE: u16 = 5; @@ -26,6 +26,10 @@ pub const ENERGY_GENERATED_TOWER: u16 = 3; pub const ENERGY_PRICE: u16 = 20; pub const ENERGY_CONSTRUCTION_TIME: u8 = 1; +pub const IRON_CURTAIN_PRICE: u16 = 100; +pub const IRON_CURTAIN_UNLOCK_INTERVAL: u8 = 30; +pub const IRON_CURTAIN_DURATION: u8 = 6; + pub const DECONSTRUCT_ENERGY: u16 = 5; pub const MAX_CONCURRENT_CONSTRUCTION: usize = 6; //2 teslas, and 3 of anything else, 1 extra because it's push here then update construction times |