From ca28ebeaf074d4dc0d8300140c517a0de4f4e166 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 6 Dec 2021 04:29:50 +0100 Subject: [PATCH] [MIRROR] Adds a tab to the supply console that explains some delivery systems and department orders [MDB IGNORE] (#9895) * tgui: Help tab to the supply console (#63159) * Adds a tab to the supply console that explains some delivery systems and department orders Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> --- tgui/packages/tgui/interfaces/Cargo.js | 86 +++++++++++++++++++++++--- 1 file changed, 76 insertions(+), 10 deletions(-) diff --git a/tgui/packages/tgui/interfaces/Cargo.js b/tgui/packages/tgui/interfaces/Cargo.js index 0237bfd582c..6cf9ee9ff9a 100644 --- a/tgui/packages/tgui/interfaces/Cargo.js +++ b/tgui/packages/tgui/interfaces/Cargo.js @@ -1,5 +1,5 @@ import { useBackend, useSharedState } from '../backend'; -import { AnimatedNumber, Box, Button, Flex, LabeledList, Section, Table, Tabs } from '../components'; +import { AnimatedNumber, Box, Button, Flex, LabeledList, NoticeBox, Section, Table, Tabs } from '../components'; import { formatMoney } from '../format'; import { Window } from '../layouts'; @@ -44,15 +44,23 @@ export const CargoContent = (props, context) => { Requests ({requests.length}) {!requestonly && ( - 0 - && 'yellow'} - selected={tab === 'cart'} - onClick={() => setTab('cart')}> - Checkout ({cart.length}) - + <> + 0 + && 'yellow'} + selected={tab === 'cart'} + onClick={() => setTab('cart')}> + Checkout ({cart.length}) + + setTab('help')}> + Help + + )} @@ -65,6 +73,9 @@ export const CargoContent = (props, context) => { {tab === 'cart' && ( )} + {tab === 'help' && ( + + )} ); }; @@ -401,3 +412,58 @@ const CargoCart = (props, context) => { ); }; + +const CargoHelp = (props, context) => { + return ( + <> +
+ Each department on the station will order crates from their own personal + consoles. These orders are ENTIRELY FREE! They do not come out of + cargo's budget, and rather put the consoles on cooldown. So + here's where you come in: The ordered crates will show up on your + supply console, and you need to deliver the crates to the orderers. + You'll actually be paid the full value of the department crate on + delivery if the crate was not tampered with, making the system a good + source of income. +
+ + Examine a department order crate to get specific details about where + the crate needs to go. + +
+
+ MULEbots are slow but loyal delivery bots that will get crates delivered + with minimal technician effort required. It is slow, though, and can be + tampered with while en route. +
+ Setting up a MULEbot is easy:
+ 1. Drag the crate you want to deliver next to the MULEbot.
+ 2. Drag the crate on top of MULEbot. It should load on.
+ 3. Open your PDA.
+ 4. Click Delivery Bot Control.
+ 5. Click Scan for Active Bots.
+ 6. Choose your MULE.
+ 7. Click on Destination: (set).
+ 8. Choose a destination and click OK.
+ 9. Click Proceed. +
+
+ In addition to MULEs and hand-deliveries, you can also make use of the + disposals mailing system. Note that a break in the disposal piping could + cause your package to be lost (this hardly ever happens), so this is not + always the most secure ways to deliver something. You can wrap up a + piece of paper and mail it the same way if you (or someone at the desk) + wants to mail a letter. +
+ Using the Disposals Delivery System is even easier:
+ 1. Wrap your item/crate in packaging paper.
+ 2. Use the destinations tagger to choose where to send it.
+ 3. Tag the package.
+ 4. Stick it on the conveyor and let the system handle it.
+
+ + Pondering something not included here? When in doubt, ask the QM! + + + ); +};