diff --git a/src/lib/building.js b/src/lib/building.js index 376539a..b4a22eb 100644 --- a/src/lib/building.js +++ b/src/lib/building.js @@ -175,6 +175,36 @@ const TYPES = { } }; +const CATEGORY_TYPES = { + [CATEGORIES.STORAGE]: { + name: 'Storage', + }, + [CATEGORIES.EXTRACTION]: { + name: 'Extraction', + }, + [CATEGORIES.REFINING]: { + name: 'Refining', + }, + [CATEGORIES.AGRICULTURE]: { + name: 'Agriculture', + }, + [CATEGORIES.MANUFACTURING]: { + name: 'Manufacturing', + }, + [CATEGORIES.SHIPBUILDING]: { + name: 'Shipbuilding', + }, + [CATEGORIES.TRANSPORT]: { + name: 'Transport', + }, + [CATEGORIES.TRADE]: { + name: 'Trade', + }, + [CATEGORIES.HOUSING]: { + name: 'Housing', + }, +} + // NOTE: constructionTime is in-game seconds const CONSTRUCTION_TYPES = { [IDS.WAREHOUSE]: { @@ -255,6 +285,7 @@ const getConstructionTime = (buildingType, totalBonus = 1) => { export default { TYPES, CATEGORIES, + CATEGORY_TYPES, CONSTRUCTION_TYPES, CONSTRUCTION_STATUSES, CONSTRUCTION_STATUS_LABELS, diff --git a/src/lib/crewmate.js b/src/lib/crewmate.js index 6bdd0ab..0f5f7f9 100644 --- a/src/lib/crewmate.js +++ b/src/lib/crewmate.js @@ -389,9 +389,8 @@ const ABILITY_TYPES = { [ABILITY_IDS.FOOD_RATIONING_PENALTY]: { i: ABILITY_IDS.FOOD_RATIONING_PENALTY, name: 'Food Rationing Penalty', - departments: { - [DEPARTMENT_IDS.MEDICINE]: 0.0083 - } + departments: { [DEPARTMENT_IDS.MEDICINE]: 0.0083 }, + notFurtherModified: true }, [ABILITY_IDS.MARKETPLACE_FEE_ENFORCEMENT]: { i: ABILITY_IDS.MARKETPLACE_FEE_ENFORCEMENT,