mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
AA requests
This commit is contained in:
@@ -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
Reference in New Issue
Block a user