message: Extract common expression to `storageCapacities()` helper method
diff: @@ -68,15 +68,21 @@ public:
  protected:
  std::array<int, 4> OreConversionDivisor{2, 2, 3, 3};
  - void think() override
  - {
  - if (isIdle())
  + StorableResources storageCapacities() const
  {
  - if (storage() < StorableResources{
  + return {
  + IndividualMaterialCapacity(),
  IndividualMaterialCapacity(),
  IndividualMaterialCapacity(),
  IndividualMaterialCapacity(),
  - IndividualMaterialCapacity()})
  + };
  + }
  +
  + void think() override
  + {
  + if (isIdle())
  + {
  + if (storage() < storageCapacities())
  {
  enable();
  }
  @@ -120,11 +126,7 @@ protected:
  ore += deconvertedResources;
  - if (ore >= StorableResources{
  - IndividualMaterialCapacity(),
  - IndividualMaterialCapacity(),
  - IndividualMaterialCapacity(),
  - IndividualMaterialCapacity()})
  + if (ore >= storageCapacities())
  {
  idle(IdleReason::InternalStorageFull);
  }
  