AA requests

This commit is contained in:
Kyep
2020-08-11 05:19:48 -07:00
parent e86ae71861
commit 4bad89e37f
3 changed files with 8 additions and 7 deletions
@@ -96,9 +96,9 @@
/obj/item/transfer_valve/tgui_data(mob/user)
var/list/data = list()
data["tank_one"] = tank_one
data["tank_two"] = tank_two
data["attached_device"] = attached_device
data["tank_one"] = tank_one ? tank_one.name : null
data["tank_two"] = tank_two ? tank_two.name : null
data["attached_device"] = attached_device ? attached_device.name : null
data["valve"] = valve_open
return data
@@ -25,12 +25,13 @@ export const TransferValve = (props, context) => {
</LabeledList>
</Section>
<Section
title="Valve Attachment"
title="Assembly"
buttons={(
<Button
textAlign="center"
width="30px"
width="150px"
icon={"cog"}
content="Configure Assembly"
disabled={(!attached_device)}
onClick={() => act('device')} />
)}>
@@ -45,7 +46,7 @@ export const TransferValve = (props, context) => {
</LabeledList.Item>
) : (
<NoticeBox textAlign="center">
Insert Assembly
Attach Assembly
</NoticeBox>
)}
</LabeledList>
File diff suppressed because one or more lines are too long