mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/block/campaign.rs')
| -rw-r--r-- | src/block/campaign.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/block/campaign.rs b/src/block/campaign.rs new file mode 100644 index 0000000..9c87a15 --- /dev/null +++ b/src/block/campaign.rs @@ -0,0 +1,8 @@ +//! campaign blocks +use crate::block::make_register; +use crate::block::simple::{cost, SimpleBlock}; + +make_register! { + "launch-pad" => SimpleBlock::new(3, true, cost!(Copper: 350, Lead: 200, Titanium: 150, Silicon: 140)); + "interplanetary-accelerator" => SimpleBlock::new(7, true, cost!(Copper: 16000, Silicon: 11000, Thorium: 13000, Titanium: 12000, SurgeAlloy: 6000, PhaseFabric: 5000)); +} |