From 70ae3bb38bf7660c042fb873c8469f5799de1942 Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Tue, 3 Jun 2025 15:23:11 +0700 Subject: [PATCH] CORPORATION: Add UI hint about scripting tea/party and using Intern (#2179) --- src/Corporation/ui/DivisionOffice.tsx | 37 +++++++++++++++++++++------ 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/src/Corporation/ui/DivisionOffice.tsx b/src/Corporation/ui/DivisionOffice.tsx index 305ecb856..a95e4846a 100644 --- a/src/Corporation/ui/DivisionOffice.tsx +++ b/src/Corporation/ui/DivisionOffice.tsx @@ -21,6 +21,7 @@ import Paper from "@mui/material/Paper"; import ArrowForwardIcon from "@mui/icons-material/ArrowForward"; import ArrowDropUpIcon from "@mui/icons-material/ArrowDropUp"; import ArrowDropDownIcon from "@mui/icons-material/ArrowDropDown"; +import InfoIcon from "@mui/icons-material/Info"; import Tooltip from "@mui/material/Tooltip"; import Table from "@mui/material/Table"; import TableBody from "@mui/material/TableBody"; @@ -37,7 +38,7 @@ interface OfficeProps { interface IAutoAssignProps { office: OfficeSpace; job: CorpEmployeeJob; - desc: string; + desc: React.ReactElement; rerender: () => void; } @@ -72,7 +73,10 @@ function AutoAssignJob(props: IAutoAssignProps): React.ReactElement { - {props.job} + + {props.job} + {props.job === CorpEmployeeJob.Intern && } + @@ -274,7 +278,7 @@ function AutoManagement(props: OfficeProps): React.ReactElement { rerender={props.rerender} office={props.office} job={CorpEmployeeJob.Operations} - desc={"Manages supply chain operations. Improves the amount of Materials and Products you produce."} + desc={<>Manages supply chain operations. Improves the amount of Materials and Products you produce.} /> + Develops and maintains products and production systems. Increases the quality of everything you produce. + Also increases the amount you produce (not as much as Operations, however). + } /> @@ -290,7 +297,7 @@ function AutoManagement(props: OfficeProps): React.ReactElement { rerender={props.rerender} office={props.office} job={CorpEmployeeJob.Business} - desc={"Handles sales and finances. Improves the amount of Materials and Products you can sell."} + desc={<>Handles sales and finances. Improves the amount of Materials and Products you can sell.} /> + Leads and oversees employees and office operations. Improves the effectiveness of Engineer and Operations + employees. + } /> @@ -307,7 +317,10 @@ function AutoManagement(props: OfficeProps): React.ReactElement { office={props.office} job={CorpEmployeeJob.RandD} desc={ - "Research new innovative ways to improve the company. Generates Scientific Research. Also increases the quality of everything you produce (not as much as Engineer, however)." + <> + Research new innovative ways to improve the company. Generates Scientific Research. Also increases the + quality of everything you produce (not as much as Engineer, however). + } /> @@ -316,7 +329,15 @@ function AutoManagement(props: OfficeProps): React.ReactElement { office={props.office} job={CorpEmployeeJob.Intern} desc={ - "Set employee to intern, which will increase some of their stats. Employees in intern do not affect any company operations, but gain increased exp and improve morale and energy." + <> + Set employee to intern, which will increase some of their stats. Employees in intern do not affect any + company operations, but gain increased exp and improve morale and energy. +
+
+ Using interns is useful for maintaining morale and energy without scripting and expensive research, but + writing a script to buy tea and throw parties is easy. You should do that and stop wasting your employees + on this job. + } />