mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/block/storage.rs')
-rw-r--r--src/block/storage.rs22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/block/storage.rs b/src/block/storage.rs
index b64a0cd..f3a9089 100644
--- a/src/block/storage.rs
+++ b/src/block/storage.rs
@@ -4,17 +4,17 @@ use crate::block::make_register;
use crate::block::simple::{cost, make_simple};
make_register! {
- "core-shard" => StorageBlock::new(3, true, cost!(Copper: 1000, Lead: 800));
- "core-foundation" => StorageBlock::new(4, true, cost!(Copper: 3000, Lead: 3000, Silicon: 2000));
- "core-nucleus" => StorageBlock::new(5, true, cost!(Copper: 8000, Lead: 8000, Thorium: 4000, Silicon: 5000));
- "core-bastion" => StorageBlock::new(4, true, cost!(Graphite: 1000, Silicon: 1000, Beryllium: 800));
- "core-citadel" => StorageBlock::new(5, true, cost!(Silicon: 4000, Beryllium: 4000, Tungsten: 3000, Oxide: 1000));
- "core-acropolis" => StorageBlock::new(6, true, cost!(Beryllium: 6000, Silicon: 5000, Tungsten: 5000, Carbide: 3000, Oxide: 3000));
- "container" => StorageBlock::new(2, true, cost!(Titanium: 100));
- "vault" => StorageBlock::new(3, true, cost!(Titanium: 250, Thorium: 125));
- "unloader" => ItemBlock::new(1, true, cost!(Titanium: 25, Silicon: 30));
- "reinforced-container" => StorageBlock::new(2, true, cost!(Tungsten: 30, Graphite: 40));
- "reinforced-vault" => StorageBlock::new(3, true, cost!(Tungsten: 125, Thorium: 70, Beryllium: 100));
+ "core-shard" -> StorageBlock::new(3, true, cost!(Copper: 1000, Lead: 800));
+ "core-foundation" -> StorageBlock::new(4, true, cost!(Copper: 3000, Lead: 3000, Silicon: 2000));
+ "core-nucleus" -> StorageBlock::new(5, true, cost!(Copper: 8000, Lead: 8000, Thorium: 4000, Silicon: 5000));
+ "core-bastion" -> StorageBlock::new(4, true, cost!(Graphite: 1000, Silicon: 1000, Beryllium: 800));
+ "core-citadel" -> StorageBlock::new(5, true, cost!(Silicon: 4000, Beryllium: 4000, Tungsten: 3000, Oxide: 1000));
+ "core-acropolis" -> StorageBlock::new(6, true, cost!(Beryllium: 6000, Silicon: 5000, Tungsten: 5000, Carbide: 3000, Oxide: 3000));
+ "container" -> StorageBlock::new(2, true, cost!(Titanium: 100));
+ "vault" -> StorageBlock::new(3, true, cost!(Titanium: 250, Thorium: 125));
+ "unloader" -> ItemBlock::new(1, true, cost!(Titanium: 25, Silicon: 30));
+ "reinforced-container" -> StorageBlock::new(2, true, cost!(Tungsten: 30, Graphite: 40));
+ "reinforced-vault" -> StorageBlock::new(3, true, cost!(Tungsten: 125, Thorium: 70, Beryllium: 100));
}
make_simple!(StorageBlock);