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