Documentation cleanup

This commit is contained in:
Anuken
2022-03-08 19:32:05 -05:00
parent 7475e517e9
commit 775c7722b2
3 changed files with 2 additions and 12 deletions

View File

@@ -1655,16 +1655,6 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
return efficiency * delta(); return efficiency * delta();
} }
//TODO save/load this, new building version
//TODO unit tests:
//- 50% power efficiency -> 50% liquid consumption
//- 50% liquid consumption -> other liquid or item consumer runs at 50% efficiency
//- same as above but with overdrive and timeScale = 2 and differing delta values
//TODO test with overdraw, e.g. requesting 20/frame on a block with only 10 capacity
//- should lead to 50% efficiency, for example - make sure all blocks have, at minimum, 10x their capacity per frame - should last for a second at least
/** Called after efficiency is updated but before consumers are updated. Use to apply your own multiplier. */ /** Called after efficiency is updated but before consumers are updated. Use to apply your own multiplier. */
public void updateEfficiencyMultiplier(){ public void updateEfficiencyMultiplier(){

View File

@@ -74,7 +74,7 @@ public class EventType{
public static class MusicRegisterEvent{} public static class MusicRegisterEvent{}
/** Called *after* all the modded files have been added into Vars.tree */ /** Called *after* all the modded files have been added into Vars.tree */
public static class FileTreeInitEvent{} public static class FileTreeInitEvent{}
/** Called when a game begins and the world is loaded. */ /** Called when a game begins and the world tiles are loaded. Entities are not yet loaded at this stage. */
public static class WorldLoadEvent{} public static class WorldLoadEvent{}
public static class SaveLoadEvent{ public static class SaveLoadEvent{

View File

@@ -36,7 +36,7 @@ import static mindustry.Vars.*;
public class ServerControl implements ApplicationListener{ public class ServerControl implements ApplicationListener{
private static final int roundExtraTime = 12; private static final int roundExtraTime = 12;
private static final int maxLogLength = 1024 * 512; private static final int maxLogLength = 1024 * 1024 * 5;
protected static String[] tags = {"&lc&fb[D]&fr", "&lb&fb[I]&fr", "&ly&fb[W]&fr", "&lr&fb[E]", ""}; protected static String[] tags = {"&lc&fb[D]&fr", "&lb&fb[I]&fr", "&ly&fb[W]&fr", "&lr&fb[E]", ""};
protected static DateTimeFormatter dateTime = DateTimeFormatter.ofPattern("MM-dd-yyyy HH:mm:ss"), protected static DateTimeFormatter dateTime = DateTimeFormatter.ofPattern("MM-dd-yyyy HH:mm:ss"),