Bannable units / Show tech tree icon for unresearched units

This commit is contained in:
Anuken
2021-08-05 23:01:58 -04:00
parent 6fdbe1d5f0
commit 4fa04b9e23
9 changed files with 137 additions and 84 deletions

View File

@@ -94,6 +94,8 @@ public class Rules{
public Seq<WeatherEntry> weather = new Seq<>(1);
/** Blocks that cannot be placed. */
public ObjectSet<Block> bannedBlocks = new ObjectSet<>();
/** Units that cannot be built. */
public ObjectSet<UnitType> bannedUnits = new ObjectSet<>();
/** Reveals blocks normally hidden by build visibility. */
public ObjectSet<Block> revealedBlocks = new ObjectSet<>();
/** Unlocked content names. Only used in multiplayer when the campaign is enabled. */