Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Ldip999/New-Home
Browse files Browse the repository at this point in the history
  • Loading branch information
Ldip999 committed Apr 29, 2024
2 parents cf1609a + ee35311 commit dd4499d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@

return ..()

/obj/vehicle/ridden/wheelchair/hardlight/atom_destruction(damage_flag)
visible_message(span_notice("[src] flickers and vanishes as the hardlight emitters are interrupted"))
qdel(src)
return ..()

/obj/vehicle/ridden/wheelchair/hardlight/wrench_act(mob/living/user, obj/item/tool)
return

/obj/vehicle/ridden/wheelchair/hardlight/post_unbuckle_mob()
. = ..()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
desc = "A bluespace capsule colored in syndie red and black. It has the letters PLAP written on it."
template_id = "shelter_plap"
icon_state = "scapsule"
icon = 'modular_zubbers/icons/obj/equipment/mining.dmi'

/obj/item/paper/crumpled/plap
name = "Guide to your PLAP (Portable Listening Advanced Post)"
Expand Down
Binary file added modular_zubbers/icons/obj/equipment/mining.dmi
Binary file not shown.
27 changes: 12 additions & 15 deletions tgui/packages/tgui/interfaces/CrewConsoleBubbers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,28 +88,25 @@ export const CrewConsoleBubbers = () => {
);
};

const CrewTable = (props, context) => {
const { act, data } = useBackend(context);
const sensors = sortBy((s) =>
s.brutedam + s.burndam + s.toxdam + s.oxydam > 50
? -(s.brutedam + s.burndam + s.toxdam + s.oxydam)
: s.ijob,
)(data.sensors ?? []);
const CrewTable = (props) => {
const { act, data } = useBackend();
const sensors = sortBy(data.sensors ?? [], (s) => s.ijob);
return (
<Table cellpadding="3">
<Table>
<Table.Row>
<Table.Cell bold colspan="2">
Name
</Table.Cell>
<Table.Cell bold collapsing textAlign="center">
Status
</Table.Cell>
<Table.Cell bold>Name</Table.Cell>
<Table.Cell bold collapsing />
<Table.Cell bold collapsing textAlign="center">
Vitals
</Table.Cell>
<Table.Cell bold width="180px" collapsing textAlign="center">
<Table.Cell bold textAlign="center">
Position
</Table.Cell>
{!!data.link_allowed && (
<Table.Cell bold collapsing textAlign="center">
Tracking
</Table.Cell>
)}
</Table.Row>
{sensors.map((sensor) => (
<CrewTableEntry sensor_data={sensor} key={sensor.ref} />
Expand Down

0 comments on commit dd4499d

Please sign in to comment.