Commit Graph

8887 Commits

Author SHA1 Message Date
pathetic meowmeow 48adc62773 Refactor audio system to send collection IDs over the network (#33610) 2025-03-01 14:13:07 +00:00
ScarKy0 1daa4215b5 [HOTFIX] Borg emag notification and sound fix (#35394)
epic stuff
2025-03-01 14:08:48 +00:00
Winkarst 5375091d1c New Feature: Admin Only messages in AHelp (#35283)
* Feature

* Update

* Update

* Update

* Update Resources/Locale/en-US/administration/bwoink.ftl

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>

* Yes

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2025-03-01 14:08:36 +00:00
themias 9a237b0fce Fix sink draining sound (#34173) 2025-03-01 14:05:23 +00:00
Milon 52ee1498ec make the detailed examine verb predicted (#35362)
can we stop predicting things
2025-03-01 14:03:52 +00:00
nikthechampiongr 7e9773de47 Require hwid (#35331)
* Make cvar to require that the client has a modern hwid

* Ignore guests and don't disable cvar on dev

* Rename and add docs
2025-03-01 13:54:11 +00:00
Kyle Tyo 5d2ef861e0 Replace obsolete FromMap calls with ToCoordinates (#35304) 2025-03-01 13:53:30 +00:00
Cooper Wallace 3c13a626a9 Wizard Recall shows Disappearing text at Coordinate (#35272)
* Add prediction for coordinate based popups

* Remove use of deprecated EntityCoordinates.ToMap

* RecallItem displays disppearing text at entity coordinates

* Update Content.Shared/ItemRecall/SharedItemRecallSystem.cs

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

* Update Content.Shared/Popups/SharedPopupSystem.cs

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

* Add ItemRecall message for witnesses

* Update Content.Shared/ItemRecall/SharedItemRecallSystem.cs

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

* Update Resources/Locale/en-US/item-recall/item-recall.ftl

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

* Fix namespace issues

* Fix Loc string

* Dont fixstuff tired..

* Prefix THE

* Filter around the entity, and remove recipient if needed

* Alphabetical imports

* Update Content.Client/Popups/PopupSystem.cs

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

* fixup

* Better handling.

---------

Co-authored-by: Cooper Wallace <CooperWallace@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-03-01 13:40:07 +00:00
Errant 3efb824eb7 fix observer ghost spawn error (#35253) 2025-03-01 13:36:43 +00:00
slarticodefast a2cdf5a113 UseInHandEvent cleanup (#35231) 2025-03-01 13:36:43 +00:00
Leon Friedrich 73cb0f060a Fix MappingCommand grid loading (#35233) 2025-03-01 13:36:22 +00:00
Simon 81d2ae14e6 [ChangeCVarCommand] Mapping Command (#35239)
[ChangeCVarCommand] MappingCommand
2025-03-01 13:36:15 +00:00
SlamBamActionman e773d33e31 Add ability for +VVEDIT users to scale damage/healing in the game (#35255)
* Initial commit

* Add universal modifier for all damage/heals, make guidebooks work.

* help text
2025-03-01 13:35:33 +00:00
chromiumboy e05927412c Minor station AI code cleanup (#34476) 2025-03-01 13:33:53 +00:00
lzk 4907fcbb6c Make AllowedEmotes bypass whitelists and fix syndiborg ability to laugh (#31510) 2025-03-01 13:33:26 +00:00
Zachary Higgs d2dc8a8b11 Fix SuperSlippery And StepTriggers persisting when UpdateSlip is called (#34525)
* Fix superSlippery and stepTrigger values persist

- made values in SpillTileReaction's public so we can query the
prototype

- made the default values for slippery component and
StepTriggerComponent based on default constants
for easier resetting

- added a calculation and check in UpdateSlips to check
if a super slip is present as well as Update
relevant steptrigger and slip values based on the contents of the
solution

* The worlds biggest change

---------

Co-authored-by: Myra <vascreeper@yahoo.com>
2025-03-01 13:33:25 +00:00
Winkarst cfc13449ae New Feature: Votekick bans distinguish themselves as votekicks (#35258)
* Feature

* Localization
2025-03-01 13:33:14 +00:00
Errant 5ec9fddaa1 Don't count lobby players for latejoin antag ratio (#35209)
pass playercount to midround antag calculation
2025-03-01 13:31:09 +00:00
keronshb ec65b1a955 Wizard Fix - Summon Ghost Event no longer shows Admin Ghosts or Revenants (#34994)
* Prevents admin ghosts from being shown with ghost event

* Changes summon ghost tooltip to permanently visible

* Adds AllowGhostShownByEvent tag, adds it to regular observers, removes ghost hands check & revenant check and replaces it with a tag check.
2025-03-01 13:30:34 +00:00
Simon 6bbe32810d Change `visualize` command perms to VarEdit instead of Admin (#35221)
People with VarEdit can use VV but can't use visualize, makes no sense. 

Has headmin approval here: https://canary.discord.com/channels/310555209753690112/1193403928096821358/1340756276371787827
2025-03-01 13:30:34 +00:00
slarticodefast 1f149a8252 fix use in hand for uplink items (#35218) 2025-03-01 13:30:34 +00:00
Leon Friedrich c4238b51dc Fix hitscan visuals (#34515)
* Fix hitscan visuals

* remove unnecessary changes

* rename `mapDirection`
2025-03-01 13:28:01 +00:00
Leon Friedrich 1087611bc3 Update permissions for engine toolshed PR (#34029) 2025-03-01 13:23:26 +00:00
deltanedas 91a9448723 use respath for shipyard maybe 2025-03-01 13:23:12 +00:00
Leon Friedrich 6d25660029 Refactor map loading & saving (#34020) 2025-03-01 13:20:37 +00:00
Simon 6369cdde9c Add ability for admins to change certain cvars via command. (#35105)
* Add ability for admins to change certain cvars via command.

* Cleanup

* More cleanup.

* Even more cleanup.

* WAITER! WAITER! ONE MORE COMMIT PLEASE!

* Remove requirement for Admin AdminFlag

Not needed as the command checks for the perms.

* Add search function to CVars and help text

* Move to controller instead.

* Add another cvar for testing

* Remove unused comment

* Move to Post Server Initialize

LoC does not work at the earlier stages of server initalization

* Remove unneeded comment

We clear out list so its no longer needed
2025-03-01 13:18:39 +00:00
metalgearsloth 9c7766c9bd Add planet lighting (#32522)
* Implements a Dynamic Lighting System on maps.

* Edit: the night should be a little bit brighter and blue now.

* Major edit: everything must be done on the client side now, with certain datafield replicated.
Changes were outlined in the salvage to accommodate the new lighting system.

* Edit: The offset is now serverside, this makes the time accurate in all situations.

* Removing ununsed import

* Minor tweaks

* Tweak in time precision

* Minor tweak + Unused import removed

* Edit: apparently RealTime is better for what I'm looking for

* Fix: Now the time is calculated correctly.

* Minor tweaks

* Adds condition for when the light should be updated

* Add planet lighting

* she

* close-ish

* c

* bittersweat

* Fixes

* Revert "Merge branch '22719' into 2024-09-29-planet-lighting"

This reverts commit 9f2785bb16aee47d794aa3eed8ae15004f97fc35, reversing
changes made to 19649c07a5fb625423e08fc18d91c9cb101daa86.

* Europa and day-night

* weh

* rooves working

* Clean

* Remove Europa

* Fixes

* fix

* Update

* Fix caves

* Update for engine

* Add sun shadows (planet lighting v2)

For now mostly targeting walls and having the shadows change over time. Got the basic proof-of-concept working just needs a hell of a lot of polish.

* Documentation

* a

* Fixes

* Move blur to an overlay

* Slughands

* Fixes

* Remove v2 work

* Finalise

---------

Co-authored-by: DoutorWhite <thedoctorwhite@gmail.com>
2025-03-01 13:18:06 +00:00
metalgearsloth 5a6070d038 Docking allocs reduc (#34965)
Stuff I had unstaged.
2025-03-01 13:17:25 +00:00
Milon f2e6814d92 remove usages of obsolete EntityUid method variants (#35106)
eughhhhh
2025-03-01 13:17:18 +00:00
keronshb 1ccb3700d2 Store Refund - Add more disable scenerios & time to disable refund. (#34671)
* Puts disable refund logic into a helper method. Removes action check. Disables refund on action use.

* Adds check if refund is disabled for the store already

* Adds a way to disable refunds based on time

* Checks if the ent is on the starting map and the end time is below the current time before disabling refund

* Replaces instances of component.RefundAllowed = false with DisableRefund for more consistency and easier tracking

* Adds methods to handle inhand and shooting events

* Removes gamestates

---------

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
2025-03-01 13:17:03 +00:00
Simon b5f328c4c8 Fix colornetwork command not checking for correct permissions (#35180)
Fix colornetwork command not checking for correct permissions.

What is shell.IsClient even??
2025-03-01 13:17:03 +00:00
Kyle Tyo 0dcac9eb2d Fix air devices ignoring settings after power cycle (#34887)
* add powered variable to vent components

* add checks for powered to vent systems

also corrected onpowerchanged methods to update powered arg.

* removed powered from components

* Use ApcPowerReceieverComponent for power state.

* removed unneeded code from OnPowerChanged

* document what enabled is used for in components

* only you can prevent oopsie daisies.

* add check for powered in OnGasVentPumpUpdated

* apcPowerReceiverComponent BEGONE

* CODE RED EVERYTHINGS ON FIRE wait we're fine now.
2025-03-01 13:16:55 +00:00
ArtisticRoomba 98ae01e6be Engineering guidebook improvements (#34695)
* engineering guidebook improvements

* whoops

* Changes

* this game is en-US, so it shall be gasses, not gases

* make changes to AccessConfigurator.xml, SolarPanels.xml, TeslaEngine.xml

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-03-01 13:16:50 +00:00
Plykiya f6a87cb00b Predicted dice rolls (#34863)
* Predicted dice rolls

* Removed server-side dice system, make Shared no longer abstract, move visual code to client-side system

* cleanup

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-03-01 13:16:50 +00:00
Milon 52f53bde13 make chameleon verb predicted (#35156)
* ok but what if we just predicted EVERYTHING

* cleanup
2025-03-01 13:09:13 +00:00
Winkarst e897a9c3c1 Fix: showfluids command activates for everyone (#35155)
Fix
2025-03-01 13:07:40 +00:00
slarticodefast 85f2340df7 minor thruster system cleanup (#35143) 2025-03-01 13:07:30 +00:00
nikthechampiongr f6cb68e41d Vote kicks now ban the target's ip (#35131)
* Make vote kicks ban the target's ip address

* Make it stop crashing my game
2025-03-01 13:07:07 +00:00
MossyGreySlope b4e7937a7f Fix dev server crashes caused by putting pills in drinks, depositing spesos, making burgers (#33431)
* combine TrySpike into OnInteractUsing

* mark spike drink event as handled

* mark speso insertion event as handled

* mark food sequence event as handled

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-03-01 13:07:06 +00:00
themias a2f7ec0d67 Fix fax spamming (#35135)
* Fix fax spamming

* Also prevent copy spam
2025-03-01 13:07:06 +00:00
Winkarst 275cc8e6df Fix thrusters not dealing damage (#35088)
* Fix thrusters not dealing damage

* Fixes

* Update

* Update

* Update
2025-03-01 12:56:33 +00:00
Simon 9918c315bd Fix "Manage Laws" button appearing with insufficient permissions (#35120) 2025-03-01 12:56:33 +00:00
Ed 54dc36cab1 RoomSpawner mask (#33110)
* RoolFill can now spaw rooms with any size

* tile ignoring

* upgrade interior

* simplify

* Update DungeonSystem.Rooms.cs

* center rooms

* Update RoomFillComponent.cs

* Update RoomFillComponent.cs

* Update DungeonSystem.Rooms.cs

* Remove roomfillcoponent from integration test

* Update EntityTest.cs

* remove nullable size, replaced with minsize and maxsize

* clear existing logic refactor

* delete this one
2025-03-01 12:52:39 +00:00
Winkarst a0d05dd8dd Split ``ReplacementAccentPrototype`` and ``ReplacementAccentComponent`` in different files (#35107)
* Split ReplacementAccentPrototype  and ReplacementAccentComponent

* Fixes

* Fixes

* inheritdoc
2025-03-01 12:52:27 +00:00
Partmedia 472d243776 Add datafield comments to PlantHolderComponent (#35099) 2025-03-01 12:52:27 +00:00
Milon 1d62dee496 update the announce command (#34889) 2025-03-01 12:52:27 +00:00
ArtisticRoomba 1902f9834e Add new freezer atmos devices and fix freezer fixgridatmos marker (#34991) 2025-03-01 12:50:32 +00:00
Tayrtahn ec64e169c9 Fix followers getting sent to nullspace when target is polymorphed (#33878)
* Add an event for polymorph actions

* Subscribe FollowerSystem to the event

* Add check that unfollow target is actually current target.

* Make followers try to follow on state update; Dirty follower on follow.
2025-03-01 12:46:30 +00:00
metalgearsloth ce37839fc2 Add loadout names (#31303)
* Add loadout names

Did it for AI, breaking change for pgsql + migrations in general. Nothing atm uses it.

* the box

* Spawning cherry pick

* Fix nit

* revert

* Final cleanup

* Real

* Name UI fix

* Migrations

* a

* Review

* Re-run migrations

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2025-03-01 12:46:20 +00:00
TemporalOroboros 3f07580073 Purges uses of TransformComponent.WorldMatrix and TransformComponent.InvWorldMatrix (#34944) 2025-03-01 12:44:03 +00:00