Added most necessary objectives

This commit is contained in:
Anuken
2022-04-13 15:32:33 -04:00
parent 2a8c4b51d4
commit 693482df83
5 changed files with 121 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
package mindustry.game;
import arc.struct.*;
import mindustry.type.*;
import mindustry.world.*;
public class GameStats{
@@ -18,4 +19,9 @@ public class GameStats{
public int unitsCreated;
/** Record of blocks that have been placed by count. Used for objectives only. */
public ObjectIntMap<Block> placedBlockCount = new ObjectIntMap<>();
/**
* Record of items that have entered the core through transport blocks. Used for objectives only.
* This can easily be ""spoofed"" with unloaders, so don't use it for anything remotely important.
* */
public ObjectIntMap<Item> coreItemCount = new ObjectIntMap<>();
}