mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-21 13:17:39 +07:00
Added correctly named mech pads for alpha/dart
This commit is contained in:
BIN
core/assets-raw/sprites/blocks/mechs/alpha-mech-pad.png
Normal file
BIN
core/assets-raw/sprites/blocks/mechs/alpha-mech-pad.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
@ -873,7 +873,8 @@ block.pneumatic-drill.name = Pneumatic Drill
|
|||||||
block.laser-drill.name = Laser Drill
|
block.laser-drill.name = Laser Drill
|
||||||
block.water-extractor.name = Water Extractor
|
block.water-extractor.name = Water Extractor
|
||||||
block.cultivator.name = Cultivator
|
block.cultivator.name = Cultivator
|
||||||
block.dart-mech-pad.name = Alpha Mech Pad
|
block.dart-ship-pad.name = Dart Ship Pad
|
||||||
|
block.alpha-mech-pad.name = Alpha Mech Pad
|
||||||
block.delta-mech-pad.name = Delta Mech Pad
|
block.delta-mech-pad.name = Delta Mech Pad
|
||||||
block.javelin-ship-pad.name = Javelin Ship Pad
|
block.javelin-ship-pad.name = Javelin Ship Pad
|
||||||
block.trident-ship-pad.name = Trident Ship Pad
|
block.trident-ship-pad.name = Trident Ship Pad
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 727 B After Width: | Height: | Size: 732 B |
@ -79,7 +79,7 @@ public class Blocks implements ContentList{
|
|||||||
fortressFactory, repairPoint,
|
fortressFactory, repairPoint,
|
||||||
|
|
||||||
//upgrades
|
//upgrades
|
||||||
dartPad, deltaPad, tauPad, omegaPad, javelinPad, tridentPad, glaivePad;
|
dartPad, alphaPad, deltaPad, tauPad, omegaPad, javelinPad, tridentPad, glaivePad;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load(){
|
public void load(){
|
||||||
@ -1742,7 +1742,14 @@ public class Blocks implements ContentList{
|
|||||||
//endregion
|
//endregion
|
||||||
//region upgrades
|
//region upgrades
|
||||||
|
|
||||||
dartPad = new MechPad("dart-mech-pad"){{
|
dartPad = new MechPad("dart-ship-pad"){{
|
||||||
|
requirements(Category.upgrade, ItemStack.with(Items.lead, 100, Items.graphite, 50, Items.copper, 75));
|
||||||
|
mech = Mechs.dart;
|
||||||
|
size = 2;
|
||||||
|
consumes.power(0.5f);
|
||||||
|
}};
|
||||||
|
|
||||||
|
alphaPad = new MechPad("alpha-mech-pad"){{
|
||||||
requirements(Category.upgrade, ItemStack.with(Items.lead, 100, Items.graphite, 50, Items.copper, 75));
|
requirements(Category.upgrade, ItemStack.with(Items.lead, 100, Items.graphite, 50, Items.copper, 75));
|
||||||
mech = Mechs.alpha;
|
mech = Mechs.alpha;
|
||||||
size = 2;
|
size = 2;
|
||||||
|
@ -43,10 +43,9 @@ public class Mechs implements ContentList{
|
|||||||
homingPower = 20f;
|
homingPower = 20f;
|
||||||
damage = 3f;
|
damage = 3f;
|
||||||
speed = 3f;
|
speed = 3f;
|
||||||
bulletWidth = 4f;
|
bulletWidth = 6f;
|
||||||
bulletHeight = 4f;
|
bulletHeight = 6f;
|
||||||
lifetime = 60f;
|
lifetime = 60f;
|
||||||
|
|
||||||
}};
|
}};
|
||||||
}};
|
}};
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,9 @@ public abstract class SaveFileReader{
|
|||||||
protected final DataOutputStream dataBytes = new DataOutputStream(byteOutput);
|
protected final DataOutputStream dataBytes = new DataOutputStream(byteOutput);
|
||||||
protected final ReusableByteOutStream byteOutputSmall = new ReusableByteOutStream();
|
protected final ReusableByteOutStream byteOutputSmall = new ReusableByteOutStream();
|
||||||
protected final DataOutputStream dataBytesSmall = new DataOutputStream(byteOutputSmall);
|
protected final DataOutputStream dataBytesSmall = new DataOutputStream(byteOutputSmall);
|
||||||
protected final ObjectMap<String, String> fallback = ObjectMap.of();
|
protected final ObjectMap<String, String> fallback = ObjectMap.of(
|
||||||
|
"dart-mech-pad", "dart-ship-pad"
|
||||||
|
);
|
||||||
|
|
||||||
protected void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
|
protected void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
|
||||||
counter.resetCount();
|
counter.resetCount();
|
||||||
|
Reference in New Issue
Block a user