@@ -42,12 +42,19 @@ export const Limbgrower = (props, context) => {
Containing data for {disk['name']},
Attempting to create genitalia will use the disk's data.
+ Any Synthetic Frameworks created will
+ overwrite the race category selected.
) : disk['disk'] ? "No data." : "No disk."}
- {total_reagents} / {max_reagents} reagent capacity used.
+ {/* Total_reagents could be null or undefined, so let's be safe */
+ `Total Reagents/Maximum Reagents:
+ ${total_reagents ? total_reagents : 0}/${max_reagents}`
+ }
+
{reagents.map(reagent => (
@@ -56,13 +63,15 @@ export const Limbgrower = (props, context) => {
label={reagent.reagent_name}
buttons={(
act('empty_reagent', {
- reagent_type: reagent.reagent_type,
- })} />
+ onClick={() => {
+ act('empty_reagent', { reagent_type: reagent.reagent_type });
+
+ }} />
)}>
{reagent.reagent_amount}u
diff --git a/tgui/packages/tgui/interfaces/PlayerPlaytimes.js b/tgui/packages/tgui/interfaces/PlayerPlaytimes.js
new file mode 100644
index 0000000000..0996b0ba04
--- /dev/null
+++ b/tgui/packages/tgui/interfaces/PlayerPlaytimes.js
@@ -0,0 +1,119 @@
+import { useBackend } from '../backend';
+import { Button, Icon, Section, Table, Tooltip } from '../components';
+import { Window } from '../layouts';
+
+export const PlayerPlaytimes = (props, context) => {
+ const { act, data } = useBackend(context);
+ const {
+ clients,
+ } = data;
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+ Ckey
+
+
+
+
+ Real Name
+
+
+
+
+ Actions
+
+
+
+ {clients.map(client => (
+
+
+
+ act('view_playtime', {
+ ckey: client.ckey,
+ })} />
+
+
+
+
+ {!!client.new_account
+ && (
+
+
+
+ )} {client.ckey}
+
+
+
+
+ {!client.ingame ? (At lobby)
+ : (!!client.observer
+ && (
+
+
+ ))} {client.name}
+
+
+
+
+ PM}
+ color="transparent"
+ tooltip="Send a private message to this player"
+ tooltipPosition="bottom"
+ onClick={() => act('admin_pm', {
+ ckey: client.ckey,
+ })} />
+ act('player_panel', {
+ ckey: client.ckey,
+ })} />
+ act('view_variables', {
+ ckey: client.ckey,
+ })} />
+ act('observe', {
+ ckey: client.ckey,
+ })} />
+
+
+
+
+ ))}
+
+
+
+
+ );
+};