This commit is contained in:
Anuken 2019-10-27 22:18:53 -04:00
parent a299c39d7b
commit a5cec84be1
2 changed files with 7 additions and 3 deletions

View File

@ -181,12 +181,14 @@ public class Map implements Comparable<Map>, Publishable{
@Override
public FileHandle createSteamFolder(String id){
return null;
FileHandle mapFile = tmpDirectory.child("map_" + id).child("map.msav");
file.copyTo(mapFile);
return mapFile.parent();
}
@Override
public FileHandle createSteamPreview(String id){
return null;
return previewFile();
}
@Override

View File

@ -194,7 +194,9 @@ public class Drill extends Block{
});
stats.add(BlockStat.drillSpeed, 60f / drillTime * size * size, StatUnit.itemsSecond);
stats.add(BlockStat.boostEffect, liquidBoostIntensity, StatUnit.timesSpeed);
if(liquidBoostIntensity > 0){
stats.add(BlockStat.boostEffect, liquidBoostIntensity * liquidBoostIntensity, StatUnit.timesSpeed);
}
}
void countOre(Tile tile){