Commit Graph

113420 Commits

Author SHA1 Message Date
Jerry 088409bbe3 Fix guide books that rely on the wiki (#86891)
## About The Pull Request

This pull request aims to fix the wiki manuals. Currently the wiki
manuals just show "You start skimming through the manual..." because of
a bad link (http://www.tgstation13.org/wiki instead of
http://tgstation13.org/wiki) which is fixed with this PR, but the issue
does not end there. Because BYOND uses trident for its `browse()`
function, a lot of Javascript and HTML elements do not function
properly, disallowing the removal or blocking of hyperlinks which break
the book entirely if they are clicked.

Therefore, as a temporary solution (until BYOND 516 is released with
webview2) when the user opens a book they are prompted with the
following:


![image](https://github.com/user-attachments/assets/2b92dfc2-df3e-45ff-a15d-0b44576d4c9e)

Although not the best solution, it makes the books have a function again
and are usable.

Fixes https://github.com/tgstation/tgstation/issues/77315.
## Why It's Good For The Game

Makes books work again so new players can use them to be guided to the
wiki resources.
## Changelog
🆑
fix: fix wiki manuals by making them open wiki page on browser
/🆑

---------

Co-authored-by: san7890 <the@san7890.com>
2024-09-29 00:03:47 +02:00
tgstation-ci[bot] e5836ab5b2 Automatic changelog for PR #86894 [ci skip] 2024-09-28 18:20:21 +00:00
_0Steven 9743493039 Fixes trims without a job whose title matches its assignment, but with an associated job, assigning null account jobs (#86894)
## About The Pull Request

Previously our code for getting the job associated with a trim involved
checking the assignment against every possible job's title:

https://github.com/tgstation/tgstation/blob/8c3c9a6ea29bf32385c148c5294e3f6a18f57bf3/code/datums/id_trim/_id_trim.dm#L32-L36
This, however, didn't work with departmental security officers, as their
job title doesn't match the trim assignment:

https://github.com/tgstation/tgstation/blob/8c3c9a6ea29bf32385c148c5294e3f6a18f57bf3/code/modules/jobs/job_types/security_officer.dm#L1-L2

https://github.com/tgstation/tgstation/blob/8c3c9a6ea29bf32385c148c5294e3f6a18f57bf3/code/datums/id_trim/jobs.dm#L1103-L1104

Instead, we remove this code and replace it with a `/datum/id_trim/job`
subtype proc that just returns the `job` variable, which this subtype
has.

This fixes our problem.

We leave the parent `find_job()` proc just returning null, as to avoid
needing an `istype(...)` check where we call it, and as
`/datum/id_trim/job` is associated with _station_ jobs while there may
be cases where we want a non-station id trim to be able to return an
associated job.
## Why It's Good For The Game

Fixes #86887.
## Changelog
🆑
fix: Fixed trims which did have an associated job but whose assignment
didn't match a job title causing null jobs to be assigned to accounts.
This fixes departmental security officers not being able to purchase
things from the security vendors.
/🆑
2024-09-28 20:18:48 +02:00
tgstation-ci[bot] 7a3abed77c Automatic changelog for PR #86928 [ci skip] 2024-09-28 18:13:08 +00:00
FlufflesTheDog 23be46e327 Fix arrival announcements (#86928)
## About The Pull Request
Fixes the automated announcement system not automatically announcing
arrivals
## Why It's Good For The Game
bu g
## Changelog
🆑
fix: The automated announcement system once more announces new arrivals
to the station.
/🆑
2024-09-28 20:08:51 +02:00
tgstation-ci[bot] 17e376c44c Automatic changelog for PR #86865 [ci skip] 2024-09-28 07:23:37 +00:00
_0Steven 396ed10a85 Imaginary friend smite shows target name to ghosts polled, now also technically build mode compatible (#86865) 2024-09-28 09:23:16 +02:00
tgstation-ci[bot] a4e5d2632f Automatic changelog for PR #86863 [ci skip] 2024-09-28 02:45:32 +00:00
_0Steven 199a5eff21 Fix imaginary friends not being able to hear their host, some minor adjustments (#86863) 2024-09-28 02:45:12 +00:00
tgstation-ci[bot] 3347370ed5 Automatic changelog for PR #86820 [ci skip] 2024-09-28 02:35:12 +00:00
_0Steven 38b3031ab6 Add NTNRC client to pAIs digital messenger (#86820)
## About The Pull Request

Just adds the NTNRC client to the pAI digital messenger software's
starting programs.
To avoid also giving this to the AI, creates a new silicon PDA subtype
for pAIs and applies it similarly to borgs.
## Why It's Good For The Game

It's already barely ever used, and I just think it'd be fun to let pAIs
talk to the never-checked department consoles or open chatrooms with
each other or their hosts.
Currently you can do this by being in your host's PDA, but this means
they couldn't use their PDA at the same time as you just... chatting.
Nor could you share a chatroom with them, due to sharing the same
account.
Also the pAI cabal using the bootleg IRC client to plot their next move
is just incredibly funny to me.
## Changelog
🆑
balance: The pAI digital messenger software now includes the NTNRC
client.
/🆑
2024-09-28 04:34:18 +02:00
tgstation-ci[bot] 5cff026845 Automatic changelog for PR #86834 [ci skip] 2024-09-28 02:32:48 +00:00
ArcaneMusic 47430a4c04 A smattering of boulder-related QOL and fixes. (#86834)
## About The Pull Request

This pull request does a little bit of cleanup that I came across awhile
ago while looking at #85081, then forgot about, then came back up when I
was looking at some additional cleanup that needed to be done.

Reorganizes the handle_wave_conclusion function such that it can take a
force arg, to force a ore vent to be completed for debug purposes.
This also fixes a minor bug where vents, when successfully completed,
will still show a warning alert that the waves were failed, and that the
vent has closed up.

Grammar fix to the examine of boulder processing machines.

Moves the can-move behavior of boulders on conveyor belts and during
regular stacking to an early return over a late return (Thank you
Goofball for pointing that out).

Artifact boulders will now default to their artifact icon_state whenever
possible.

Finally, adds an additional sanity check to boulder processing to check
for custom material length, to attempt to avoid zero-content boulders
existing and running into the afforementioned #85081

## Why It's Good For The Game

Largely applies cleanup to several aspects of the boulder processing
system, and a handful of (hopefully) performance related rearrangements
to the existing layout of boulder processing code.

I can't for sure say that it'll fix the linked issue, due to the fact
that I could not for some reason re-create the issue in local testing,
but I'm hopeful that it's some kind of nebulous sanity-related issue.

Cleans up grammar in some spots, and provides a useful debug tool for
admin purposes when you just want a vent to flip. Might be a good
justification for a ore-manager admin panel later? 🤷

## Changelog

🆑
fix: Artifact boulders should keep their alien icon even after a first
round of processing.
fix: Boulders are less likely to exist with zero materials after
processing.
fix: Boulders should be slightly less laggy on conveyor belts.
fix: Grammar of refinery/smeltery examine is corrected.
/🆑
2024-09-28 04:32:15 +02:00
tgstation-ci[bot] f24b6014be Automatic changelog for PR #86923 [ci skip] 2024-09-28 02:29:24 +00:00
Tim 80e9133218 Fix Meta and Wawa coldrooms (#86923)
## About The Pull Request
- Adds a coldroom air alarm mapping helper to Meta's medical coldroom so
no alerts due to the cold.
- Mark coldroom area for kitchen backroom with included APC/Atmos alarm.

## Why It's Good For The Game
The atmos to these areas are really cold and will trigger normal atmos
alarms so they need special ones.

## Changelog
🆑
fix: Fix Meta's medical freezer air alarm to not trigger on cold temps.
Fix missing atmos alarm in Wawa kitchen coldroom.
/🆑
2024-09-28 04:28:59 +02:00
tgstation-ci[bot] 5fa6a537a5 Automatic changelog for PR #86922 [ci skip] 2024-09-28 02:28:22 +00:00
tgstation-ci[bot] fe1987bbba Automatic changelog for PR #86910 [ci skip] 2024-09-28 02:28:10 +00:00
Sealed101 8d0ca9d299 Adjusts offset values for Nukie Infiltrator shuttle's nav console so it's actually centered (#86922)
## About The Pull Request

The Infiltrator, in a vacuum of its map file, is facing _NORTH_, the
docking port thinks that the shuttle is facing _NORTH_, and the docking
port itself is pointed towards _EAST_ (`port_direction = 4`). In times
past, this was good and well, the navigation console would properly
center the shuttle preview as its offset values dictated. Then the nukie
base got a rework. That made it so the shuttle is docked facing _SOUTH_,
and since that moves the entire shuttle around, the docking port is now
actually facing _WEST_, while still thinking the shuttle is facing
_NORTH_, which in turn fucks up `CreateEye()` for the nav console, and
the preview is spawned completely off-center. This sucks, this blows,
this is awful, please scream at a coder, etc etc.

So here's the thing. The ideal solution here is probably actually
flipping the shuttle's map file so it's facing _SOUTH_, then adjusting
the docking port's vars to account for that and probably adjusting
something else in the viscinity. What's done in the first commit here is
instead a lazy removal of the offsets' `-` plus a comment. Go me.
Anyway, I want some input on those solutions, so here's the PR.

## Why It's Good For The Game

Actually centered nukie infiltrator shuttle preview, for once. Wow, that
didn't take long at all.
Surprisingly no issue opened for this one, but that's more likely
because the previews were missing for [a long-ass
while](https://github.com/tgstation/tgstation/issues/62203). Eh, if I
find one, I'll close one.

## Changelog

🆑
fix: A joint effort of Gorlex Marauders and MI13 tech support teams has
finally managed to center the Syndicate Infiltrator shuttle's preview on
the navigation console. Nuclear Ops teams sector-wide, rejoice!
/🆑
2024-09-28 04:28:03 +02:00
SyncIt21 652a253a62 Fixes ethereal APC drain/charge attack (#86910)
## About The Pull Request
- Fixes #86908

## Changelog
🆑
fix: Fixes ethereal APC drain/charge attack
/🆑
2024-09-28 04:27:35 +02:00
tgstation-ci[bot] 8f8f9fd163 Automatic changelog for PR #86917 [ci skip] 2024-09-28 02:26:34 +00:00
Tim 1bfe537590 Fix air alarms warning message to use pressure & temp settings (#86917)
## About The Pull Request
Air alarms had temp/pressure that were hardcoded to be dangerous
temps/pressure for humans. This fixes it so that the temp/pressure is
based on the settings used in the air alarm. So if a air alarm is
ignoring pressure/temp then it doesn't give a warning message.

## Why It's Good For The Game
If you want to ignore atmos checks for air alarms in certain areas, then
it shouldn't be giving warning messages.

## Changelog
🆑
fix: Fix air alarms warning message to use pressure & temp settings
/🆑
2024-09-28 04:26:09 +02:00
tgstation-ci[bot] 7a35055eb4 Automatic changelog for PR #86918 [ci skip] 2024-09-28 02:25:44 +00:00
Tim 29663083b1 Fix air alarm not checking missing gases (#86918)
## About The Pull Request
Fixes #72841

Air alarms only check the current gases in the environment. This means
that any gas with a minimum threshold will not trigger if it is
completely gone from the environment. (like oxygen)

## Why It's Good For The Game
Better consistency.

## Changelog
🆑
fix: Fix air alarm not checking missing gases
/🆑
2024-09-28 04:25:25 +02:00
tgstation-ci[bot] 7cc0f6e88d Automatic changelog for PR #86791 [ci skip] 2024-09-28 02:25:16 +00:00
_0Steven 777a8ef8f6 Show a feedback message for whispers you cannot hear (#86791)
## About The Pull Request

In this pr we make it so, instead of doing an early return, whispers you
cannot hear will display a feedback message along the lines of:
`Angel Randolph says something, but you are too far away to understand
him.`
As long as you are capable of seeing them say something.

This includes signing, as it uses the same logic.
If they're not signing and you cannot hear at all, then it skips to the
normal deaf messages.


<details>
  <summary>Example Test Images</summary>

### explanation:

The number after each message denotes the distance between speaker and
listener.
The first image is from the speaker's pov, the second from the
listener's.
 
 
### no blindfold, no earmuffs:

no signing

![image](https://github.com/user-attachments/assets/eaf271e6-3174-40e5-8eec-647aba239e55)

![image](https://github.com/user-attachments/assets/272ef988-46ea-4c40-91a4-f55df2404d5b)

signing

![image](https://github.com/user-attachments/assets/9ef54ff9-9a63-4291-800b-9adce2e00727)

![image](https://github.com/user-attachments/assets/acd76a99-8395-4e10-90c4-dc28aaf3d888)


### no blindfold, earmuffs:

no signing

![image](https://github.com/user-attachments/assets/bf839a0e-8a0e-433c-b60e-d3e0677f6f39)

![image](https://github.com/user-attachments/assets/6da2e226-2149-45a5-9214-3e80bdd71c30)

signing

![image](https://github.com/user-attachments/assets/3fcf08ea-81fb-4e1f-a3d7-4037c9d75635)

![image](https://github.com/user-attachments/assets/e20a4e7b-4fcd-4f2c-9bee-b1bf8cdd9e5d)


### blindfold, no earmuffs:

no signing

![image](https://github.com/user-attachments/assets/963467b7-8cca-44d8-94f5-3f75d86f5e3a)

![image](https://github.com/user-attachments/assets/83793e34-b386-4595-8063-164915ff43e2)


signing

![image](https://github.com/user-attachments/assets/1a8f220d-02f2-4def-826a-a313a35f4894)

![image](https://github.com/user-attachments/assets/248c5e46-ed9d-4f87-b1da-ed6a361228e4)


### blindfold, earmuffs:

no signing

![image](https://github.com/user-attachments/assets/d084a21b-c050-44ba-b16a-86a7b3d2aa4c)

![image](https://github.com/user-attachments/assets/7b797034-7b0d-4238-b2eb-135193cab5c7)




</details>

## Why It's Good For The Game

Currently, someone whispering grants zero feedback to listeners who are
beyond 2 tiles (without good hearing), all they get is that the
speaker's typing indicator disappeared. This makes it look
indistinguishable from the speaker just having backspaced their message.
This is _especially_ annoying with soft-spoken, as it tends to cause
other players to disengage, because to them you just didn't press enter
if they left your immediate range before you finished speaking.

But even outside of that, arguably, even if you couldn't _hear_ it, you
should be able to _see_ the movements of them speaking.
And really, I just think that it'd lead to fun interactions if you could
grumble to yourself or whisper amongst each other and have people
actually know you're up to _something_.

## Changelog
🆑
add: You can now see people whispering, even if you cannot hear what
they're saying, unless you are blind (obviously). The speaker wearing
something that covers their mouth, being invisible, or being inside of
something counteracts this.
/🆑
2024-09-28 04:24:56 +02:00
tgstation-ci[bot] 5994ab2e0f Automatic changelog for PR #86859 [ci skip] 2024-09-28 02:24:28 +00:00
Tim ba7e7d3d31 Fix missing pour sounds from reagent dispensers (#86859)
## About The Pull Request
When pouring liquid out of a barrel or watertank, none of the pour
sounds would trigger. This is now fixed. Also added a missing signal and
returned `ITEM_INTERACT_SUCCESS` bitflag.

## Why It's Good For The Game
When I play bartender I want consistency.

## Changelog
🆑
code: Add missing signal to reagent dispenser RMB interactions.
sound: Fix missing pour sounds from reagent dispensers
/🆑
2024-09-28 04:24:03 +02:00
tgstation-ci[bot] 9cb7c7cbca Automatic changelog for PR #86873 [ci skip] 2024-09-28 02:22:44 +00:00
tgstation-ci[bot] f8456555fe Automatic changelog for PR #86914 [ci skip] 2024-09-28 02:22:26 +00:00
SmArtKar fb3ae625a8 Adds missing venue prices for certain foods and reagents (#86873)
## About The Pull Request

Closes #60318
Need to make a unit test for these once I get some spare time

## Changelog
🆑
fix: Added missing venue prices for certain foods and reagents
/🆑
2024-09-28 04:22:18 +02:00
tgstation-ci[bot] ff057be4e1 Automatic changelog for PR #86915 [ci skip] 2024-09-28 02:21:33 +00:00
Tim d260b6f7bf Fix air alarms not updating icon (#86914)
## About The Pull Request
This updates the air alarms whenever a power change is triggered. When
connecting a gas sensor using mapping link helpers air alarms would not
update their icons at roundstart. I'm sure this applies to other rare
situations where the icon wasn't updating when it should green/red/etc.

## Why It's Good For The Game
Better consistency.

## Changelog
🆑
fix: Fix air alarms being stuck and not updating their icons.
/🆑
2024-09-28 04:21:30 +02:00
tgstation-ci[bot] ab71e87609 Automatic changelog for PR #86897 [ci skip] 2024-09-28 02:21:17 +00:00
Tim 97c24929e6 Fix air alarm helper to ignore gas when appropriate (#86915)
## About The Pull Request
Certain air alarms were marked with no checks for the
pressure/temperature. This should also extend to ignore all gas checks
otherwise it triggers alarms.

## Why It's Good For The Game
No more air alarms crying wolf. 

Certain air alarms on the station are meant to only be used to trigger
vents/scrubbers and not care about the gases inside. (ordance chambers,
burn chambers, SM, etc.)

## Changelog
🆑
fix: Fix air alarm helper to ignore gas when appropriate
/🆑
2024-09-28 04:21:12 +02:00
SmArtKar 83ec2a2d20 [NO GBP] Changes stagger animation to use animate chains instead of sleeping (#86897)
## About The Pull Request
Closes #86895

## Changelog
🆑 
fix: Players no longer can randomly get semi-permanently offset from
being shoved
/🆑
2024-09-28 04:20:52 +02:00
tgstation-ci[bot] 0cadbafada Automatic changelog for PR #86909 [ci skip] 2024-09-28 02:20:33 +00:00
SmArtKar 2c9f0add82 Mindswap can no longer be used inside of pipes (#86909)
## About The Pull Request

Closes #86905 by adding an action flag to prevent usage of certain moves
from inside of pipes. Should be assigned to most of our actions to be
honest.

## Why It's Good For The Game

Mindswapping from inside of pipes is extremely cheesy and has quite
literally no counterplay, permanently forcing someone into being a mouse
without them being able to react, do anything or even know about your
presence is not fun at all.

## Changelog
🆑
fix: Mindswap can no longer be used inside of pipes
/🆑
2024-09-28 04:20:10 +02:00
tgstation-ci[bot] 36fb349f11 Automatic changelog for PR #86912 [ci skip] 2024-09-28 02:19:59 +00:00
Bloop e5f023a3d5 Fixes polling causing an unexpected return value when there are 0 players picked (#86912)
## About The Pull Request

So this was caused by the change in
https://github.com/tgstation/tgstation/pull/86012 .

They tried to fix a case for polls with `amount_to_pick` set to _greater
than 1_ having null entries in the returned lists, and succeeded at
that.

However, in doing so they messed up the control flow of the proc such
that now it's returning early with an empty `list()` whenever the amount
is _equal to 1_.

The assumption was, when `amount_to_pick` was equal to 1 specifically
then the return value would be either a `null` value or the valid mob.
However, now what was being returned was either a `list()` or the valid
mob because that code was no longer ever being reached.

For example


![image](https://github.com/user-attachments/assets/e49fe031-7120-4a17-8bba-3c5054a90fae)


![image](https://github.com/user-attachments/assets/c7ae27a8-1dce-4fcd-9f19-fcde417f7695)

Fixes https://github.com/NovaSector/NovaSector/issues/4427

Fixes both bugs in a way that should not cause any problems, and adjusts
documentation to make it clearer what the return value of this proc is
expected to be.

## Why It's Good For The Game

Fixes a bug that pretty much effects the majority of ghost polls as most
of them are only asking for 1 player.

## Changelog

🆑
fix: fixes pulsing tumor failing to spawn the elite if no ghosts respond
to the poll and leaving you in a bugged state, and possibly other
related issues
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
2024-09-28 04:19:34 +02:00
tgstation-ci[bot] b275647c8d Automatic changelog for PR #86925 [ci skip] 2024-09-28 02:19:16 +00:00
Ben10Omintrix 5b8358cb74 raptor retaliate targetting fix (#86925)
## About The Pull Request
raptors werent meant to retaliate against each other or against their
owner. this was initially handled by their targeting strategy, however
some changes to it at some point broke this. raptors would now
over-escalate conflicts against troublemaker raptors, locking both into
a deathmatch. this fixes that

## Why It's Good For The Game
fixes raptor retaliate targetting

## Changelog
🆑
fix: fixes raptors retaliating against each other and their owners
/🆑
2024-09-28 04:18:57 +02:00
tgstation-ci[bot] 12ffd52fdb Automatic changelog compile [ci skip] 2024-09-28 00:31:02 +00:00
tgstation-ci[bot] 078a24247f Automatic changelog for PR #86911 [ci skip] 2024-09-27 22:02:18 +00:00
SyncIt21 20d9e3a1d6 Gives Debug chem synthesizer temperature control (#86911)
## About The Pull Request
- Fixes #86858

You can set the temperature of the reagents in the UI before adding them
so the ice does not melt instantly

## Changelog
🆑
fix: Debug chem synthesizer now has temperature control for adding
reagents
/🆑
2024-09-27 17:41:21 -04:00
tgstation-ci[bot] 764ad4f464 Automatic changelog for PR #86867 [ci skip] 2024-09-27 20:05:38 +00:00
Cheshify 18ffabca05 Laser Musket & Smoothbore Disabler BUFFS (Crank it AND Run) (#86867)
## About The Pull Request
This rebalances the Laser Musket and Heroic Laser Musket

Replaces glasses with 2 drinking glasses in the crafting recipe
Removes 2-handed demand
Standard shot damage slightly increased and stamina damage greatly
decreased
Heroic shot made a 3-round scatter shot, very powerful, damage and
stamina damage decreased to compensate
Crank-charge weapons, except the thermal revolvers, can be charged while
moving
Muskets can also be worn on jackets

## Why It's Good For The Game

These things were severely underused, and I always kinda wanted them to
be crankable while you moved, I just didn't know how. This should also
help the Militiamen ERT be less of a joke. I would appreciate
balanceposters giving some advice on the numbers if you're seeing this.

The heroic musket is incredibly rare, and SHOULD be pretty powerful.
## Changelog
🆑
balance: laser muskets have been rebalanced
balance: crank weapons can be charged while moving
/🆑
2024-09-28 08:05:19 +12:00
tgstation-ci[bot] 7f2961a6fb Automatic changelog for PR #86888 [ci skip] 2024-09-27 14:35:28 +00:00
grungussuss 2cf34ec44e Reduces volume of the nuke sound (#86888) 2024-09-27 16:33:45 +02:00
tgstation-ci[bot] 3ceaf41119 Automatic changelog for PR #86907 [ci skip] 2024-09-27 14:15:49 +00:00
tgstation-ci[bot] eda07742b8 Automatic changelog for PR #86900 [ci skip] 2024-09-27 14:15:47 +00:00