Added repair point block

This commit is contained in:
Anuken
2018-04-30 17:14:35 -04:00
parent 2b96c820fd
commit 0be49002ba
9 changed files with 203 additions and 67 deletions

View File

@@ -114,6 +114,8 @@ public class Recipes {
new Recipe(liquid, LiquidBlocks.pump, stack(Items.steel, 10)),
new Recipe(liquid, LiquidBlocks.fluxpump, stack(Items.steel, 10), stack(Items.densealloy, 5)),
new Recipe(units, UnitBlocks.repairPoint, stack(Items.steel, 10)),
//new Recipe(units, UnitBlocks.droneFactory, stack(Items.steel, 10)),
//new Recipe(units, UnitBlocks.vtolFactory, stack(Items.steel, 10)),
//new Recipe(units, UnitBlocks.droneFactory, stack(Items.steel, 10)),

View File

@@ -4,6 +4,7 @@ import io.anuke.mindustry.content.Items;
import io.anuke.mindustry.content.UnitTypes;
import io.anuke.mindustry.resource.ItemStack;
import io.anuke.mindustry.world.Block;
import io.anuke.mindustry.world.blocks.types.units.RepairPoint;
import io.anuke.mindustry.world.blocks.types.units.ResupplyPoint;
import io.anuke.mindustry.world.blocks.types.units.UnitFactory;
@@ -40,5 +41,9 @@ public class UnitBlocks {
resupplyPoint = new ResupplyPoint("resupplypoint"){{
size = 2;
itemCapacity = 30;
}},
repairPoint = new RepairPoint("repairpoint"){{
shadow = "repairpoint-shadow";
}};
}