Added hint & tooltip for derelict structures

This commit is contained in:
Anuken
2021-07-24 12:48:25 -04:00
parent adbfcdf16a
commit 0ee137fe05
4 changed files with 14 additions and 2 deletions

View File

@@ -1071,7 +1071,9 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
}
public String getDisplayName(){
return block.localizedName;
return team == Team.derelict ?
block.localizedName + "\n" + Core.bundle.get("block.derelict"):
block.localizedName;
}
public TextureRegion getDisplayIcon(){