Added temporary no-op fields for item/planet hidden items

This commit is contained in:
Anuken
2024-08-22 07:18:38 -04:00
parent f888b3b77e
commit 587c23605a
2 changed files with 9 additions and 0 deletions

View File

@@ -48,6 +48,10 @@ public class Item extends UnlockableContent implements Senseable{
public boolean buildable = true; public boolean buildable = true;
public boolean hidden = false; public boolean hidden = false;
/** @deprecated no-op, do not use. */
@Deprecated
public @Nullable Planet[] hiddenOnPlanets;
public Item(String name, Color color){ public Item(String name, Color color){
super(name); super(name);
this.color = color; this.color = color;

View File

@@ -154,6 +154,11 @@ public class Planet extends UnlockableContent{
/** Loads the planet grid outline mesh. Clientside only. */ /** Loads the planet grid outline mesh. Clientside only. */
public Prov<Mesh> gridMeshLoader = () -> MeshBuilder.buildPlanetGrid(grid, outlineColor, outlineRad * radius); public Prov<Mesh> gridMeshLoader = () -> MeshBuilder.buildPlanetGrid(grid, outlineColor, outlineRad * radius);
/** @deprecated no-op, do not use. */
@Deprecated
public Seq<Item> itemWhitelist = new Seq<>(), hiddenItems = new Seq<>();
public Planet(String name, Planet parent, float radius){ public Planet(String name, Planet parent, float radius){
super(name); super(name);