Commit Graph

4476 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
c4llv07e ab01d9bfaf More robust Particle Accelerator menu (retry) (#34037)
Particle Acceleratir fixed

Co-authored-by: VideoKompany <135313844+VlaDOS1408@users.noreply.github.com>
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
slarticodefast 25dbdf5a52 Fix shuttle console angular velocity (#34748) 2025-02-14 16:09:46 +00:00
Leon Friedrich 5285bba5a4 Update ScalingViewport for Engine PR (#28786) 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
themias cdad067aec Fix thrust animation rotation (#34713)
* Fix thrust animation rotation

* directly update sprite instead
2025-02-14 16:09:45 +00:00
Quanteey ded0b17e38
Fix damage state displays in the Crew Monitoring UI (#2973)
fix damage state calculations
2025-02-13 17:44:24 +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
deltanedas a2367725d6
fix shop vendor buying on non-click (#2906)
* fix shop vendor buying on non-click

* :trollface:

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-02-07 09:25:15 +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
pathetic meowmeow c996ac78f1
Filter autodoc to only show surgeries relevant for selected part (#2844)
* Filter autodoc to only show surgeries relevant for selected part

* remove deltav comments

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-06 10:23:44 +00: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
beck-thompson 36e12ede2d
Minor fixes for feedback popups (#2806)
* fix

* More fixes

* pro review

* opps
2025-02-01 09:19:05 +00:00
deltanedas c4b44a983c
fix storage stars (#2824)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-01-31 05:16:16 +00:00
Tobias Berger 323007785a
Fix silicon law UI not populating (#2818)
* Fix silicon law UI not populating

* Comment
2025-01-30 20:49:14 +00:00
deltanedas 01c727ddcf :trollface: 2025-01-28 05:46:39 +00: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
eoineoineoin 0e0108f19e Make crew monitor update blips at consistent rates (#32555) 2025-01-28 04:55:34 +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
Milon d659d75d25 display the current version in the changelog window (#34556)
* just works first try

* introduce more magic numbers into the codebase

* idiot doesnt know the difference between AND/OR
2025-01-28 04:49:34 +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
Fildrance 21c5713374 Feature/make radial menu great again (#32653)
* it works! kinda

* so it works now

* minor cleanup

* central button now is useful too

* more cleanup

* minor cleanup

* more cleanup

* refactor: migrated code from toolbox (as it was rejected as too specific)

* feat: moved border drawing for radial menu into RadialMenuTextureButton. Radial menu position setting into was moved to OverrideArrange to not being called on every frame

* refactor: major reworks!

* renamed DrawBagleSector to DrawAnnulusSector

* Remove strange indexing

* Regularize math

* refactor: re-orienting segment elements to be Y-mirrored

* refactor: extracted radial menu radius multiplier property, changed color pallet for radial menu button

* refactor: removed icon backgrounds on textures used in current radial menu buttons with sectors, RadialContainer Radius renamed and now actually changed control radius.

* refactor: in RadialMenuTextureButtonWithSector all sector colors are converted to and from sRGB in property getter-setters

* refactor: renamed srgb to include Srgb suffix so devs gonna see that its srgb clearly

* fix: enabled any functional keys pressed when pushing radial menu buttons

* fix: radial menu sector now scales with UIScale

* fix: accept only one event when clicking on radial menu ContextualButton

* fix: now radial menu buttons accepts only click/alt-click, now clicks outside menu closes menu always

---------

Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
2025-01-28 04:33:54 +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
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
Myra c4b22fca82 Remove baby jail (#34443)
* Remove baby jail

Closes #33893

* Test fail fix.
2025-01-28 04:31:23 +00:00
Pieter-Jan Briers 1dc9cc6d2e STAThread client content start (#34212) 2025-01-28 04:31:22 +00:00
Pieter-Jan Briers 6f6888d339 Persist deadmin to database, add admin suspension system (#34048) 2025-01-28 04:31:22 +00:00
Pieter-Jan Briers 5659c343f4 Fix bad Rider analysis error in AccessOverriderWindow.xaml.cs (#34213) 2025-01-28 04:31:21 +00:00
deltanedas eda41474f5
refactor felinid/chitinid item coughing (#2790)
* move BlockInjection to shared

* add ItemCougher

* make Chitinid use ItemCougher

* make felinid use ItemCougher

* update actions

* access

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-01-23 20:56:34 +00:00
hivehum 01a9e61ce9
Animated Emotes from Impstation (#2746)
* when the emotes are animated

* hopefully untouched

* INCORRECT

* can this work.

* flipping out
2025-01-18 23:50:21 +00:00
Dvir 2a25a1e719
Add EMP Blast effect shader (Frontier #2262) (#2762)
* Add EMP Blast effect shader (#2262)

* Update emp.swsl

Signed-off-by: Dvir <39403717+dvir001@users.noreply.github.com>

* Update shaders.yml

Signed-off-by: Dvir <39403717+dvir001@users.noreply.github.com>

* Update emp.yml

Signed-off-by: Dvir <39403717+dvir001@users.noreply.github.com>

---------

Signed-off-by: Dvir <39403717+dvir001@users.noreply.github.com>
2025-01-18 11:56:47 +00:00
BarryNorfolk ee50aa7273
Bounty/history improvements (#2743)
* 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
2025-01-16 20:21:13 +00:00
deltanedas 92a1e0dfc6
rodentia crawling refactor (#2754)
* make draw depth stuff reusable and good

* rodentia crawling refactor

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-01-16 15:28:03 +00:00
Errant e7cd9bc0dc Role Types (#33420)
* mindcomponent namespace

* wip MindRole stuff

* admin player tab

* mindroletype comment

* mindRolePrototype redesign

* broken param

* wip RoleType implementation

* basic role type switching for antags

* traitor fix

* fix AdminPanel update

* the renameningTM

* cleanup

* feature uncreeping

* roletypes on mind roles

* update MindComponent.RoleType when MindRoles change

* ghostrole configuration

* ghostrole config improvements

* live update of roleType on the character window

* logging stuff and notes

* remove thing no one asked for

* weh

* Mind Role Entities wip

* headrev count fix

* silicon stuff, cleanup

* exclusive antag config, cleanup

* jobroleadd overwerite

* logging stuff

* MindHasRole cleanup, admin log stuff

* last second cleanup

* ocd

* move roletypeprototype to its own file, minor note stuff

* remove Roletype.Created

* log stuff

* roletype setup for ghostroles and autotraitor reinforcements

* ghostrole type configs

* adjustable admin overlay

* cleanup

* fix this in its own PR

* silicon antagonist

* borg stuff

* mmi roletype handling

* spawnable borg roletype handling

* weh

* ghost role cleanup

* weh

* RoleEvent update

* polish

* log stuff

* admin overlay config

* ghostrolecomponent cleanup

* weh

* admin overlay code cleanup

* minor cleanup

* Obsolete MindRoleAddedEvent

* comment

* minor code cleanup

* MindOnDoGreeting fix

* Role update message

* fix duplicate job greeting for cyborgs

* fix emag job message dupe

* nicer-looking role type update

* crew aligned

* syndicate assault borg role fix

* fix test fail

* fix a merge mistake

* fix LoneOp role type

* Update Content.Client/Administration/AdminNameOverlay.cs

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Update Content.Shared/Roles/SharedRoleSystem.cs

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* comment formatting

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* change logging category

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* fix a space

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* use MindAddRoles

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* get MindComponent from TryGetMind

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* move var declaration outside loop

* remove TryComp

* take RoleEnum behind the barn

* don't use ensurecomp unnecessarily

* cvar comments

* toggleableghostrolecomponent documentation

* skrek

* use EntProtoId

* mindrole config

* merge baserolecomponent into basemindrolecomponent

* ai and borg silicon role tweaks

* formatting

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* I will end you (the color)

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* use LocId type for a locale id

* update RoleEvent documentation

* update RoleEvent documentation

* remove obsolete MindRoleAddedEvent

* refine MindRolesUpdate()

* use dependency

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* inject dependency

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* roleType.Name no longer required

* reformatted draw code logic

* GhostRoleMarkerRoleComponent comment

* minor SharedRoleSystem cleanup

* StartingMindRoleComponent, unhardcode roundstart silicon

* Update Content.Shared/Roles/SharedRoleSystem.cs

* remove a whitespace

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-01-12 08:26:32 +00:00
Southbridge 20415a6894 Add copy threshold button to air alarms (#34346) 2025-01-12 08:14:50 +00:00
Errant bf062d828f Lobby chat width and custom lobby titles (#33783)
* lobby name cvar

* panel width

* skrek

* server name localization fix

* comment format fix

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

* remove redundant newline

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

* string.empty

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

* use SetWidth

* Update Resources/Locale/en-US/lobby/lobby-gui.ftl

---------

Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-01-12 08:08:27 +00:00
SlamBamActionman 7992a69376 Add Chameleon PDA (#30514)
* V1 commit

* Remove PDA name and unnecessary pda state

* Adds PDA to Chameleon backpack & thief toolbox

* Change to use AppearanceDataInit

* Add basic PDA state to ensure there's always a sprite before AppearanceData can be applied

* Revert PDA name (this will be changed to another way later)

* Update PDA name updating to new system

* Fix yaml, and fix Agent ID chameleon

* Updated based on review
2025-01-12 08:05:13 +00:00
Dylan Hunter Whittingham c8a77a1821 Added pricegun sound (#34119)
added pricegun sound

Co-authored-by: dylanhunter <dylan2.whittingham@live.uwe.ac.uk>
2025-01-12 07:46:00 +00:00
deltanedas 5069863d6f
fix shocked door spraypaint error (#2700)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-01-11 10:43:55 +00:00
Emily d361ecea17
Add Machine Incompatible Trait (#2395)
* Mostly done, just needs some messaging added

Going to change the description for the unborgable brain and add a popup.

* Inspection says if brain has trait

* Comments

* Moved comment, removed body, localized, etc.

* move to shared, shitmed ready, add warning to health analyzer

* pro

* remove old component

* untroll brain system

* :trollface:

* :trollface:

* fix

---------

Signed-off-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
2025-01-10 04:45:39 +00:00
Joe 29879a151f
Add pronouns to crew manifest (#2647)
* Refactored crew manifest

* Add Delta-V Comments, Move locale file to _DV scope.

* Missed adding comments to a file.

* Made the comments slightly more verbose to make it clear why the changes were made.

* Comments are love, comments are life.

---------

Co-authored-by: TGRCDev <tgrc@tgrc.dev>
2025-01-08 11:39:09 +00:00
deltanedas 83a8002922
Merge pull request #2542 from deltanedas/shitmed-ops
shitmed real
2025-01-07 17:15:23 +00:00
deltanedas 1f01adef38
Merge pull request #2589 from deltanedas/upstream-ops
upstream merge 2/1/25
2025-01-06 01:35:55 +00:00