├── packages
├── data
│ ├── .gitignore
│ ├── README.md
│ ├── src
│ │ ├── index.ts
│ │ ├── scripts
│ │ │ ├── ignored-properties.ts
│ │ │ ├── download-assets.ts
│ │ │ ├── reparse.ts
│ │ │ └── ignored-types.ts
│ │ └── types
│ │ │ └── dump.ts
│ ├── tsconfig.json
│ └── package.json
├── ui
│ ├── README.md
│ ├── .gitignore
│ ├── src
│ │ ├── ìnput.css
│ │ ├── hooks
│ │ │ ├── use-entry.ts
│ │ │ ├── use-entries-of-type.ts
│ │ │ └── use-resolve-joint-item-entries.ts
│ │ ├── parts
│ │ │ ├── locale-name.tsx
│ │ │ ├── locale-description.tsx
│ │ │ ├── ingredient.tsx
│ │ │ ├── technology-entity-button.stories.tsx
│ │ │ ├── group-tabs.tsx
│ │ │ ├── entity-grid.tsx
│ │ │ ├── data-provider.tsx
│ │ │ ├── factorio-image.tsx
│ │ │ ├── entity-button.tsx
│ │ │ ├── technology-entity-button.tsx
│ │ │ ├── entity-tooltip.tsx
│ │ │ └── entity-sections.tsx
│ │ ├── components
│ │ │ ├── tooltip-section.tsx
│ │ │ ├── tooltip-root.tsx
│ │ │ ├── technology-button.tsx
│ │ │ ├── tooltip.tsx
│ │ │ ├── table-cell.tsx
│ │ │ ├── content-section.tsx
│ │ │ ├── tabs.tsx
│ │ │ ├── quality-tiering.tsx
│ │ │ ├── button-grid.tsx
│ │ │ ├── surface.tsx
│ │ │ └── table.tsx
│ │ ├── utils.ts
│ │ ├── stories
│ │ │ ├── entity-button.stories.tsx
│ │ │ ├── entity-sections.stories.tsx
│ │ │ ├── ingredient.stories.tsx
│ │ │ ├── group-tabs.stories.tsx
│ │ │ ├── technology-button.stories.tsx
│ │ │ ├── tabs.stories.tsx
│ │ │ ├── quality-tiering.stories.tsx
│ │ │ ├── 1-hooks.mdx
│ │ │ ├── tooltip.stories.tsx
│ │ │ ├── entity-tooltip.stories.tsx
│ │ │ ├── content-section.stories.tsx
│ │ │ ├── data-hooks.stories.tsx
│ │ │ ├── table.stories.tsx
│ │ │ ├── 0-intro.mdx
│ │ │ ├── button-grid.stories.tsx
│ │ │ ├── entity-grid.stories.tsx
│ │ │ └── surface.stories.tsx
│ │ ├── index.ts
│ │ └── output.css
│ ├── tsconfig.json
│ ├── .storybook
│ │ ├── preview.tsx
│ │ └── main.ts
│ ├── tailwind.config.js
│ └── package.json
└── pedia
│ ├── src
│ ├── vite-env.d.ts
│ ├── tools
│ │ ├── index.ts
│ │ ├── dummy.tsx
│ │ ├── solarratio.tsx
│ │ ├── heatlist.tsx
│ │ ├── fuels.tsx
│ │ ├── unithealth.tsx
│ │ └── fusionratio.tsx
│ ├── urls.ts
│ ├── routes
│ │ ├── index.lazy.tsx
│ │ ├── tool.$tool.tsx
│ │ ├── about.lazy.tsx
│ │ ├── technology.$name.tsx
│ │ ├── pedia.$type.$name.tsx
│ │ └── __root.tsx
│ ├── components
│ │ ├── mobile-menu-provider.tsx
│ │ ├── tabbed-content-pane.tsx
│ │ └── two-column-container.tsx
│ ├── App.tsx
│ ├── index.css
│ └── main.tsx
│ ├── postcss.config.js
│ ├── tailwind.config.js
│ ├── tsconfig.json
│ ├── .gitignore
│ ├── index.html
│ ├── vite.config.ts
│ ├── tsconfig.node.json
│ ├── tsconfig.app.json
│ ├── package.json
│ └── public
│ └── vite.svg
├── .yarnrc.yml
├── lerna.json
├── tsconfig.lint.json
├── homepagedata.json
├── ideas.md
├── .gitignore
├── .github
└── workflows
│ ├── verify.yml
│ └── publish.yml
├── tsconfig.json
├── package.json
└── README.md
/packages/data/.gitignore:
--------------------------------------------------------------------------------
1 | data
--------------------------------------------------------------------------------
/packages/data/README.md:
--------------------------------------------------------------------------------
1 | TODO
--------------------------------------------------------------------------------
/packages/ui/README.md:
--------------------------------------------------------------------------------
1 | TODO
--------------------------------------------------------------------------------
/.yarnrc.yml:
--------------------------------------------------------------------------------
1 | nodeLinker: node-modules
2 |
--------------------------------------------------------------------------------
/packages/ui/.gitignore:
--------------------------------------------------------------------------------
1 | src/output.css
2 | storybook-static
--------------------------------------------------------------------------------
/packages/data/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from "./types/dump";
2 |
--------------------------------------------------------------------------------
/packages/pedia/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
19 | {label}:{" "}
20 |
21 | {quality ? (
22 |
18 | {label}:{" "} 19 | {children} 20 |
21 | ); 22 | 23 | export const EntityTooltip: FC< 24 | PropsWithChildren<{ name: string; type: string }> 25 | > = ({ name, type, children }) => { 26 | const { entries } = useFactorioData(); 27 | const description = useLocaleDescription(name); 28 | const entry = entries[name][type]; 29 | 30 | return ( 31 | 38 | {description &&