Pad ammo autofill / Per-mission waves / Better core resource selection
This commit is contained in:
@@ -110,6 +110,12 @@ public class UnitInventory implements Saveable{
|
||||
ammos.add(entry);
|
||||
}
|
||||
|
||||
public void fillAmmo(AmmoType type){
|
||||
totalAmmo = ammoCapacity();
|
||||
ammos.clear();
|
||||
ammos.add(new AmmoEntry(type, ammoCapacity()));
|
||||
}
|
||||
|
||||
public int capacity(){
|
||||
return unit.getItemCapacity();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user