Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from Aurorastation:master #697

Merged
merged 5 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions code/controllers/subsystems/pai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
pai_software_by_key = SSpai.pai_software_by_key
default_pai_software = SSpai.default_pai_software

/datum/controller/subsystem/pai/ui_state(mob/user)
return always_state

/datum/controller/subsystem/pai/ui_status(mob/user, datum/ui_state/state)
return UI_INTERACTIVE


/datum/controller/subsystem/pai/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)
. = ..()
if(.)
Expand Down
3 changes: 2 additions & 1 deletion code/modules/organs/subtypes/augment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
M.canremove = FALSE
M.item_flags |= NOMOVE
owner.equip_to_slot(M, aug_slot)
owner.visible_message(SPAN_NOTICE("\The [M] slides out of \the [owner]'s [owner.organs_by_name[parent_organ]]."), SPAN_NOTICE("You deploy \the [M]!"))
var/obj/item/organ/O = owner.organs_by_name[parent_organ]
owner.visible_message(SPAN_NOTICE("\The [M] slides out of \the [owner]'s [O.name]."), SPAN_NOTICE("You deploy \the [M]!"))

/obj/item/organ/internal/augment/tool/combitool
name = "retractable combitool"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/reagents/reagent_containers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
break
if(chugs > 3)
if(!(H.species.flags & NO_BREATHE))
H.visible_message(SPAN_NOTICE("[src] finishes chugging, exhausted..."), SPAN_NOTICE("You finish chugging, exhausted..."))
H.visible_message(SPAN_NOTICE("[H] finishes chugging, exhausted..."), SPAN_NOTICE("You finish chugging, exhausted..."))
H.emote("gasp")
return

Expand Down
15 changes: 15 additions & 0 deletions html/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@
-->
<div class="commit sansserif">

<h2 class="date">17 July 2023</h2>
<h3 class="author">Doxxmedearly updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Messages for chugging drinks now properly indicate the person doing it.</li>
</ul>
<h3 class="author">MattAtlas updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Fixes chem dispenser chemical reading saying null/nullu when there&#x27;s no beaker.</li>
<li class="bugfix">Condimasters now read chemical amounts.</li>
<li class="bugfix">Crusher buttons aren&#x27;t inverted anymore.</li>
<li class="bugfix">Fixes some radio types not falling under the &#x27;radio&#x27; setting in tgchat.</li>
<li class="bugfix">Augment deploy messages should no longer be wonky.</li>
<li class="bugfix">pAI joining may have been fixed.</li>
</ul>

<h2 class="date">15 July 2023</h2>
<h3 class="author">Doxxmedearly updated:</h3>
<ul class="changes bgimages16">
Expand Down
12 changes: 12 additions & 0 deletions html/changelogs/.all_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30012,3 +30012,15 @@ DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.
to Orion Express Goods Trading.
TheDanseMacabre:
- balance: Security no longer has any PEAC fragmentation ammo.
2023-07-17:
Doxxmedearly:
- bugfix: Messages for chugging drinks now properly indicate the person doing it.
MattAtlas:
- bugfix: Fixes chem dispenser chemical reading saying null/nullu when there&#x27;s
no beaker.
- bugfix: Condimasters now read chemical amounts.
- bugfix: Crusher buttons aren&#x27;t inverted anymore.
- bugfix: Fixes some radio types not falling under the &#x27;radio&#x27; setting
in tgchat.
- bugfix: Augment deploy messages should no longer be wonky.
- bugfix: pAI joining may have been fixed.
2 changes: 1 addition & 1 deletion tgui/packages/tgui-panel/chat/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const MESSAGE_TYPES = [
name: 'Radio',
description: 'All departments of radio messages',
selector:
'.alert, .minorannounce, .syndradio, .centcomradio, .aiprivradio, .comradio, .secradio, .gangradio, .engradio, .medradio, .sciradio, .suppradio, .servradio, .radio, .deptradio, .binarysay, .newscaster, .resonate, .abductor, .alien, .changeling',
'.alert, .minorannounce, .syndradio, .centradio, .aiprivradio, .comradio, .entradio, .hailradio, .shipradio, .secradio, .engradio, .medradio, .sciradio, .supradio, .srvradio, .radio, .deptradio, .binarysay, .newscaster, .alien, .changeling',
},
{
type: MESSAGE_TYPE_INFO,
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/ChemMaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const ReagentFactory = (props, context) => {

return (
<Table>
{reagents?.length && !data.is_condimaster
{reagents?.length
? reagents.map((reagent) => (
<Table.Row key={reagent.name}>
<Section
Expand Down
6 changes: 4 additions & 2 deletions tgui/packages/tgui/interfaces/ChemicalDispenser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ export const ChemicalDispenser = (props, context) => {
</Section>
<Section
title={
'Container Display' + data.is_beaker_loaded &&
' (' +
'Container Display' +
(data.is_beaker_loaded
? ' (' +
data.beaker_current_volume +
'/' +
data.beaker_max_volume +
'u)'
: '')
}
buttons={
data.is_beaker_loaded ? (
Expand Down
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/CrusherControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ export const PistonManagement = (props, context) => {
<Button
content="Open"
icon="door-closed"
onClick={() => act('hatch_close')}
onClick={() => act('hatch_open')}
/>
<Button
content="Close"
icon="door-open"
onClick={() => act('hatch_open')}
onClick={() => act('hatch_close')}
/>
</LabeledList.Item>
<LabeledList.Item label="Activate">
Expand Down
2 changes: 1 addition & 1 deletion tgui/public/tgui-panel.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tgui/public/tgui.bundle.js

Large diffs are not rendered by default.