checkStructureType (structureType) {
    return structureType === null
      ? {
        type: 'producer_structure',
        harvestingWeeks: new Set(),
        continuousProduction: false,
        turnipYield: 0
      }
      : structureType
  }
/**
   * If the structure type is undefined, create a new one.
   */
If the structure type is undefined, create a new one.
If the structure type is undefined create a new one .
checkStructureType (structureType) {
    return structureType === null
      ? {
        type: 'producer_structure',
        harvestingWeeks: new Set(),
        continuousProduction: false,
        turnipYield: 0
      }
      : structureType
  }
checkStructureType ( structureType ) { return structureType === null ? { type : 'producer_structure' , harvestingWeeks : new Set ( ) , continuousProduction : false , turnipYield : 0 } : structureType }
If the structure type is undefined, create a new one.
If the structure type is undefined create a new one .