summaryrefslogtreecommitdiff
path: root/src/engine/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/constants.rs')
-rw-r--r--src/engine/constants.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/engine/constants.rs b/src/engine/constants.rs
index 9805f72..8453a54 100644
--- a/src/engine/constants.rs
+++ b/src/engine/constants.rs
@@ -27,3 +27,14 @@ pub const ENERGY_PRICE: u16 = 20;
pub const ENERGY_CONSTRUCTION_TIME: u8 = 1;
pub const DECONSTRUCT_ENERGY: u16 = 5;
+
+
+#[cfg(not(feature = "reduced-time"))]
+#[cfg(not(feature = "extended-time"))]
+pub const MAX_TIME_MILLIS: i64 = 1950;
+
+#[cfg(feature = "reduced-time")]
+pub const MAX_TIME_MILLIS: i64 = 950;
+
+#[cfg(feature = "extended-time")]
+pub const MAX_TIME_MILLIS: i64 = 19950;