Commit Graph

5267 Commits

Author SHA1 Message Date
BarryNorfolk 18182a7a85 Add history tab to bounty console (#33932)
* Add struct for holding historical data on cargo bounties

* Add localisation strings for bounty history

* Add new XAML entry for display bounty history

* Expand cargo bounty menu to include tabs

* Ensure station databases hold historical bounty data

* Add to the bounty history when removing one from active

* Feed bounty history into cargo's bounty system

* Move tab title setting to constructor

* Remove redundant access specifications

* Remove un-needed override

* Fixup BountyHistoryEntry backing code

* Fix formatting in CargoBountyMenu

* Reformat BountyHistoryData

* Rework TryRemoveBounty to use new Entity type

* Add Enum for showing bounty results

* Rework look and feel of History tab

* Add visible text when no bounties have been completed yet

* Remove control

* Swap default to null

* Reverse ordering of bounties so last entry comes first

* Remove redundant Visible

* Move enum docs into the enum
2025-02-14 16:09:49 +00:00
sleepyyapril 3cf059fdc1 Fix Double Muzzle Flash (#33981)
* Pass user to effects to properly fix double muzzle flash.

* Use gun when user is null.

* Update MuzzleFlashEvent.cs

* Update MuzzleFlashEvent.cs

* Update GunSystem.cs

* Update SharedGunSystem.cs

* Update MuzzleFlashEvent.cs

* Update SharedGunSystem.cs

* Update SharedGunSystem.cs

* Update Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs

Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>

---------

Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
2025-02-14 16:09:49 +00:00
ScarKy0 51154a0642 Serializable emag flags (#34766)
* serializable idk

* guh
2025-02-14 16:09:49 +00:00
beck-thompson f1f8bccb23 After getting banned, you now have to re-read the rules! (#33270)
* first commit

* opps

* Reset cooldown instead

* Added ccvar

* Not replicated!
2025-02-14 16:09:49 +00:00
AJCM-git 32cfe943e0 Fixes the ShowRulesCommand and the client not syncing rules correctly (#28752) 2025-02-14 16:09:48 +00:00
Milon 90c51a59a0 make RefreshOverlay default to the player session (#32354) 2025-02-14 16:09:48 +00:00
ScarKy0 fd77e8d86b Seperate EMAG into EMAG and Authentication Disruptor (#34337) 2025-02-14 16:09:47 +00:00
Ed af81ac3e70 Fix RoleTimeRequirement localization (#34735)
* fix job restriction localization

* Update Content.Shared/Roles/JobRequirement/RoleTimeRequirement.cs

* Update Content.Shared/Roles/JobRequirement/RoleTimeRequirement.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-02-14 16:09:46 +00:00
James Simonson 1288b8e759 Criminal Records Computer Better UX + Filtering (#32352)
* First pass at new Criminal Records Computer

need buttons to highlight.

* Filter status tabs/buttons now activate correctly via UpdateState

* Removed unneeded Directives

* Fix typo + undo VSCode changes

* Implement Emo Feedback

Loc NA and use inject deps
Cannot use inject deps on sprite system.

* try to undo vscode launch.json change

* Added requests + Filter dropdown list + jobs

Fixed maintainer fix requests,
Added Job to announcement channel output
Removed toggle buttons in-place of a dropdown list

* Fixed missed merge conflict

+ fixed an bug with filterstatus not showing on re-open ui

* Update criminal-records.ftl

Fixed lint error. whoops.

* Update Content.Server/CriminalRecords/Systems/CriminalRecordsConsoleSystem.cs

typo

Co-authored-by: chromiumboy <50505512+chromiumboy@users.noreply.github.com>

* impliment chromiumboy feedback

hopefully this will do it....

---------

Co-authored-by: chromiumboy <50505512+chromiumboy@users.noreply.github.com>
2025-02-14 16:09:46 +00:00
godisdeadLOL b5230ae4ae Sentient medibot now can inject (#32110)
medibot player injection

Co-authored-by: YourUsername <you@example.com>
2025-02-14 16:09:45 +00:00
Michael Shaw 94dcefd803
Revert `Storage UI V2` (#2950)
* Revert `Storage UI V2`

Storage UI v2 has been a buggy and infuriating mess to use.
This idea needs additional polish before it is ready. I think we should
go ahead and remove it until that point, to alleviate further
aggrevation.

Signed-off-by: Michael Shaw <michaelsshaw44@gmail.com>

* storage: remove unused cvars

---------

Signed-off-by: Michael Shaw <michaelsshaw44@gmail.com>
2025-02-10 22:55:39 +00:00
pathetic meowmeow d0da90fa2e
Add autoclave to easily sanitize large amounts of items and faster (#2933) 2025-02-10 12:22:36 +00:00
pathetic meowmeow 7a245b1a21
Grabbag of fixes for sanitation (#2926)
* Grabbag of fixes for sanitation

- poison is now bounded
- parts can now take poison damage to indicate something going wrong on that part
- steps overall dirty the tools slower
- steps deal 1 poison as a base, not 2
- cross contamination is now more of a concern

* Grrr kitten... put on your uniform... NOW!

Signed-off-by: deltanedas <39013340+deltanedas@users.noreply.github.com>

---------

Signed-off-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
2025-02-09 19:24:43 +00:00
Tobias Berger 87f6422cba
Change default value of game.secret_weight (#2921)
Creates semi-frequent confusion in contributor-help channel on discord,
so might as well change it
2025-02-07 18:01:41 +00:00
Lyndomen 61af74c40e
Turrets and grenades can hit prone people [port] (#2910)
* ranged ai targets crawling people properly

(cherry picked from commit 8f64627c9e35b3c873a7825f25b52319ff8c8e25)

* ranged ai targets crawling people properly

(cherry picked from commit 8f64627c9e35b3c873a7825f25b52319ff8c8e25)

* projectile grenades hit crawling/downed people

(cherry picked from commit 24c3737ae83ab399add28162a65d528d44f73ea9)

* change

* impstation to imp

* remove extra method ops

---------

Co-authored-by: Darkmajia <darkwindleaf@hotmail.co.uk>
2025-02-06 19:57:11 +00:00
deltanedas a5b0f65431
early merge of microbomb fix (#2905)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-02-06 14:12:16 +00:00
Tobias Berger 27383be3dc
Nanochat lookup (#2794)
* NanoChat Phonebook MVP

* Only work with active Telecomms server with correct channel

* Add localization and program sprite

* Cartridge icon

* Only preinstall on HoP, Courier, and QM PDAs

* untroll, fix formatting

* fix double newline

* replace NanoChat lookup cartridge with UI elements

* List Number setting in NanoChat instead of PDA

* replace NanoChat lookup cartridge with UI elements

* re-fuck formatting just to make the diff on GitHub nicer

* remove superfluous svg

* remove leftovers I somehow created

* address simple requested changes; remove more leftovers

* NanoChat lookup to own Container

* fix indentation
2025-02-06 13:53:38 +00:00
pathetic meowmeow 64565ba4f7
Add surgical cleanliness and sanitation (#2847) 2025-02-06 13:49:48 +00:00
deltanedas 7143539127
bring back ai overlay for diagnostic hud (#2903)
* add Cosmetic to StationAiOverlay

* re-add ai overlay toggle to diagnostic hud

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-02-06 13:40:40 +00:00
deltanedas e5e82f0de5
move all nuke core stuff to _DV (#2902)
* move store-objective stuff to _DV

* radiation fix

* move SealingCabinet to _DV

* move textures to _DV

* move yml stuff to _DV

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-02-06 13:22:28 +00:00
deltanedas 8a2254770e
fix ipc nukies not getting comms (#2884)
* shitcode fix

* refactor encryption key spawner and move to shared

* put ipc encryption key code in shared

---------

Signed-off-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-02-05 07:29:55 +00:00
deltanedas f03d090b2a
radio implant refactor and fix (#2882)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-02-04 18:50:39 +00:00
deltanedas f08726efc1
fix ipc encryption key mispredict (#2879)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-02-04 16:14:45 +00:00
Lyndomen e57ec483ff
Add 4 Pieces of paper to paper bin (#2868)
Update BinComponent.cs

Signed-off-by: Lyndomen <49795619+Lyndomen@users.noreply.github.com>
2025-02-03 19:48:49 +00:00
Spielern 4ee3aa4dc5
Merge branch 'master' into port-ipc 2025-02-02 14:14:00 -05:00
Niomi 6f0e1c01fb
Swap hands in reverse (for borgs) (#2829)
* Added keybind to swap hands in the reversed direction for borgs or creatures with more than 2 hands.

* Made the reversed hand swap feature more compliant with standards.

* Code review changes

Added default keybind and comment where the previous method was removed.
2025-02-01 19:49:51 +00:00
pathetic meowmeow c0d76f44c2
Allow autodoc to proceed with just anesthesia instead of requiring sleep (#2843) 2025-02-01 18:30:03 +00:00
BarryNorfolk 23ae0b3758
Oni/refactor (#2805)
* Add ability for GunComponent to track their holders

* Add new component to allow Players to modify gun attributes

* Allow users of melee weapons to also modify their weapons damage

* Allow user stamina damage modifiers

* Allow users of tools to also modify tool attributes

* Delete old Oni component and systems

* Replace oni components

* Set default max spread angle to 180 degrees

* Change modifier to multiplier to better reflect the math

* Add documentation.

* Add NetworkedComponent to new components
2025-02-01 11:04:12 +00:00
Spielern 7249b53b6c
Merge branch 'master' into port-ipc
Signed-off-by: Spielern <iesteed2@gmail.com>
2025-01-31 16:42:40 -05:00
Zachary Higgs 380e743849 Fake mindshield componentry and Implanter (#34079)
* Fake Mindshield (With some bad sprites)

- Add FakeMindshield System and Component

- Add FakeMindsheildImplantSystem and Component

- modify ShowMindShieldIconsSystem to check for FakeMindshields

- add all supporting yaml for the Implants, action and uplink

- add loc file stuff

- add unfinished sprites

* Cleanup, add to thief toolbox, remove metagame

- Move Implant sameness check to AFTER the implant DoAfter
to prevent instant identification of Deception Implants

- cleanup the systems and components

- add the fake mindshield to the Thief toolbox

* part 1 of fixing the folder problem

* Make the fakemindshield sprite folder lowercase

* CR - Move ImplantCheck into shared, cleanup

- Moved ImplantCheck and eventsubscription into Shared

- Remove Client/Server extensions of FakeMindshieldImplantSystem and
FakeMindShieldSystem and make shared Sealed

- make OnToggleMindshield Private, use the event!

* CR - Cleanup extra lines, fix some Prototype

- cleaned up extra liens in ImplanterSystem and
SharedFakeMindshieldSystem from when i was developing

- Uplink catalog no longer lists the implant in 2 spots,
only implants now, also uses the On state action icon

- added a comment about why it's reraising the action event
rather than directly interacting with the FakeMindshield Component

* Fake Mindshield CR:

- Added a comment about IsEnabled

- moved OnFakeMindShieldToggle to Entity<> from Uid, Comp

- fixed some formatting in uplink_catalog

* CR - Add a bit more comment
2025-01-28 05:03:05 +00:00
SlamBamActionman 63d05a5e53 Add conditional camera offset based on cursor - Hristov Rework, Part 1 (#31626) 2025-01-28 05:02:03 +00:00
metalgearsloth a525587dcb Storage sidebar fix (#34680) 2025-01-28 05:01:41 +00:00
ArtisticRoomba 70b3478144 Engineering guidebook megaupdate v2 (#33062)
Significantly updates the Engineering guidebook (more explicitly the Atmos section) to have a lot more relevant and useful information.

Right now engineering has been getting update after update with no real change to the relevant guidebook entry. This has lead to a lot of out of date information and bad practices being prevalent in the guidebook, something that pains me to read.
2025-01-28 05:01:24 +00:00
metalgearsloth 8418a3a62a Add puddle drawdepth (#32369)
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-01-28 04:54:28 +00:00
Coolsurf6 a7f00f263c Added Pain Numbness Trait (#34538)
* added pain-numbness component and system

* added numb as a trait that pulls the pain numbness component

* removed new event as mob threshold event as already being fired

* checked for MobThresholdsComponent first before running VerifyThresholds

* refacted force say to using LocalizedDatasetPrototype and added numb messages

* added severity check alert

* added comment for BeforeForceSayEvent

* removed space formatting

* changed Cancelled to CancelUpdate, fixed spacing and added two more damage-force-say-numb

* changed prefix damage-force-say-numb to 5 (whoops)
2025-01-28 04:53:45 +00:00
metalgearsloth 767b43fd26 Storage UI V2 (#33045) 2025-01-28 04:52:58 +00:00
Ignaz "Ian" Kraft ddfbc31fd3 replace all instances of "department-{id}" with department.name (#34607)
replace all instances of "department-{id}" with department.name"
2025-01-28 04:36:11 +00:00
Ignaz "Ian" Kraft f91683fd85 pluralize the job name in the contra description (#34559)
* pluralize the job name in the contra description

* pluralization specific to contraband descriptions
2025-01-28 04:33:38 +00:00
Pieter-Jan Briers e4fc8c2ec5 Add system to kick people if they connect to multiple servers at once. (#34563) 2025-01-28 04:31:31 +00:00
John 60e8010947 Job contraband rework (#33385)
* contraband system rework to allow restriction by job, not just department

* Fixing detective trenchcoat inheritance

* removing unnecessary using declarations

* trying to fix testing error by re-adding diagnostics using declaration

* removing unecessary dependency, making allowedJobs nullable

* Adding all of slarti's requested changes except for the hacky job icon method fix

* removing accidental whitespace

* choosing to use the non-localized version because we're comparing the string against the AllowedJobs field, and the contraband classes that fill that field are written in english

* removing unneeded using dec, fixing nesting logic problem

* didn't remove the old nesting, doing that now

* using localized job title and localizing the allowed jobs string, removing usages of JobTitle field. Also networked the _jobTitle field instead.

* rewrite some stuff

* fixes

* fix energy pen

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-01-28 04:31:30 +00:00
Winkarst c9a9a40638 Make storage implant drop items on gibbing (#33493)
* Make storage implant drop items on gib/removal

* Better way

* Fix error

* Forgotten trash

* Cleanup

* Unused var

* Update Content.Server/Implants/ImplantedSystem.cs

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co>
Co-authored-by: 0x6273 <0x40@keemail.me>
2025-01-28 04:31:29 +00:00
Winkarst 270d79ea07 Change MaskComponent to accommodate sprites namings (#33451)
Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co>
2025-01-28 04:31:28 +00:00
Leon Friedrich 8cde53d545 Optimize & clean up RadiationSystem (#34459)
* Optimize & clean up RadiationSystem

* comments

* Update Content.Server/Radiation/Systems/RadiationSystem.GridCast.cs

Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com>

---------

Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com>
2025-01-28 04:31:28 +00:00
PJB3005 eaf7cbda43 Make GasMixture enumerable
I noticed that enumerating gases is frequently done in an annoying way with Enum.GetValues. So I made it better. Now GasMixture is IEnumerable<(Gas gas, float moles)> and it just works.
2025-01-28 04:31:28 +00:00
chromiumboy b0dcb69a3d Holopad networking rework (#34112)
* Initial commit

* Finalizing main changes

* Addressed reviews

* Fixed a few issues

* Switched to using global overrides

* Removed unnecessary references
2025-01-28 04:31:28 +00:00
c4llv07e 31d4558719 Add option to disable bwoink sound. (#33782)
* Add option to disable bwoink sound.

* Now it's working only with active admin status.

* No bwoink, only "notification sound"

* Moar changes

* Another one
2025-01-28 04:31:25 +00:00
eoineoineoin 9544aa9ddd Fix inconsistent borg flashlight state (#33027)
* Fix borg light being stuck on if no cell is inserted

* Fix HandheldLightComponent.Activted becoming out of sync with SharedPointLightComponent.Enabled

* Fix for entities which don't have a handheld light component
2025-01-28 04:31:25 +00:00
Myra 0f938dbddd Add a CCVar to allow from hiding admins in the reported player count. (#34406)
Good for:
- Keeping admins hidden
- Not confuse players seeing 84/80 players

Nicely pairs up with the ``admin.admins_count_for_max_players`` ccvar
2025-01-28 04:31:24 +00:00
Myra c4b22fca82 Remove baby jail (#34443)
* Remove baby jail

Closes #33893

* Test fail fix.
2025-01-28 04:31:23 +00:00
ArtisticRoomba 9971868734 Make Mime PDA interactions silent (#34426)
* make insert and eject datafields in ItemSlotsComponent.cs nullable, make mime PDA silent

* make it so that you can't fit wirecutters into the slots, among other various things
2025-01-28 04:31:23 +00:00