diff --git a/src/Commands/ObjectInfo.h b/src/Commands/ObjectInfo.h index a0e5d73f85..3685ef2a17 100644 --- a/src/Commands/ObjectInfo.h +++ b/src/Commands/ObjectInfo.h @@ -233,6 +233,16 @@ class ObjectInfoCommandClass : public PhobosCommandClass append("Owner = %s (%s), ", pBuilding->Owner->get_ID(), pBuilding->Owner->PlainName); append("Location = (%d, %d)\n", pBuilding->GetMapCoords().X, pBuilding->GetMapCoords().Y); + if (pBuilding->Factory && pBuilding->Factory->Object) + { + append("Production: %s (%d%%)\n", pBuilding->Factory->Object->GetTechnoType()->ID, (pBuilding->Factory->GetProgress() * 100 / 54)); + } + + if (pBuilding->Type->Refinery || pBuilding->Type->ResourceGatherer) + { + append("Money: %d\n", pBuilding->Owner->Available_Money()); + } + if (pBuilding->Occupants.Count > 0) { append("Occupants: %s", pBuilding->Occupants.GetItem(0)->Type->ID);