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