Commit Graph

8798 Commits

Author SHA1 Message Date
Alfred Baumann 5e74afc72c
Fix IDs without station records not being able to have nonstandard contents (#34921)
* fix ID console resetting to passenger

* review

* whoopsie! whitespace

---------

Co-authored-by: Milon <milonpl.git@proton.me>
2025-04-14 17:02:27 +02:00
slarticodefast f1d938ceb6
fix inspect mind verb (#36558) 2025-04-14 16:45:57 +02:00
metalgearsloth dfa5ccf625
Fix shuttle arrival visualizer (#35772)
* Fix shuttle arrival visualizer

It was at a fixed spot but if the target is rotating it wasn't handled.

* hew

* Fixes
2025-04-15 00:34:18 +10:00
metalgearsloth 595b1f5073
Fix autosave path (#36352)
Asserts on debug due to non-standard path.
2025-04-14 13:41:41 +03:00
Pieter-Jan Briers 843d79be5f
Fire extinguishers can now extinguish items, including when held/worn (#36267)
* Fire extinguishers now put out candles

This did not actually require any changes to flammable or extinguishers directly, the only necessary changes were to make the collision actually work.

Vapor entities (also used for fire extinguishers) now have a collision layer, so they can hit items.

Added a new FlammableSetCollisionWake component to actually enable collision on candles while they are lit, because otherwise CollisionWake on entities gets in the way too.

* Extinguishing items is now relayed to held/worn items

This means held candles get extinguished too.

Involved moving the core logic of ExtinguishReaction into an event so that it can be relayed via the existing hand/inventory relay logic.

* Add helper functions for subscribing to relayed events.

Use these in FlammableSystem

* Make extinguishers work on cigarettes too

A bunch of renaming to make the rest of my code work with SmokableComponent

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2025-04-14 19:00:47 +10:00
J 7e4045d274
Admin spring cleaning (#36190)
* Cleanup warnings in administration

* Job command cleanup

* Reverting already implemented changes
2025-04-14 14:06:36 +10:00
J 8fea9cc30b
Entity effects warnings cleanup (#36166) 2025-04-14 13:58:53 +10:00
J afb0d7efca
Worldgen spring cleaning (#36199)
* Worldgen warnings cleanup

* DebrisFeaturePlacerSystem general cleanup
2025-04-14 13:36:54 +10:00
deltanedas b619d4fae1
add some error logging to exped generation (#32867)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-04-13 18:03:13 +02:00
beck-thompson 05f9e6d28e
ID card computer bug fixed (And made it more fun!) (#32308)
* First commit

* More feature yay

* comments

* good

* silly me

* review

---------

Co-authored-by: Milon <milonpl.git@proton.me>
2025-04-13 17:51:35 +02:00
Nemanja 12b75beeab
Departmental Economy (#36445)
* Cargo Accounts, Request Consoles, and lock boxes

* Funding Allocation Computer

* final changes

* test fix

* remove dumb code

* ScarKy0 review

* first cour

* second cour

* Update machines.yml

* review

---------

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Co-authored-by: Milon <milonpl.git@proton.me>
2025-04-13 15:22:36 +02:00
UpAndLeaves fa09c540a2
Dehardcode zombie damage values (#36494)
* Quick, send it!

* no spaces, no fun

* Noooo I have to adhere to good code standards
2025-04-12 13:43:31 -07:00
Errant 0c6e21dec2
PlayerPanel Follow button (#36466)
* Follow button

* remove event stuff
2025-04-12 22:00:46 +02:00
Tayrtahn f7850a3c0b
Fix ninja battery drain debug assertion (#36461)
Fix ninja battery drain using wrong uid
2025-04-11 19:42:54 +02:00
Nemanja 1540880eb2
Predict Labels (#36406)
* Predict Labels

* nitpicks
2025-04-10 22:19:48 -07:00
Ethan_k 0977b74294
Zombies can no longer Suicide take 2 (#36453)
* I did it right

* Update Content.Server/Zombies/ZombieSystem.Transform.cs

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

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-04-11 03:12:13 +02:00
slarticodefast f6bfce38da
remove mind roles from EntityWhitelist (#36089)
* remove mind roles from EntityWhitelist

* remove redundant dependency
2025-04-10 20:45:12 +10:00
beck-thompson 149c42f385
Predict inflatable barriers verb (#32420)
* First commit

* evil

* Made it not do weird things

* address review!
2025-04-10 20:39:13 +10:00
beck-thompson 3135b2ab3e
Fix matchstick prediction issues (#31418)
* First commit

* Minor fixes please ymal error begone

* If this fixes it

* Last chance

* How

* Forgot

* First fixes

* Added correct component tags

* Minor cleanup

* Address review!

* Namespace change

* Fix yaml yelling

* Changes

* Update namespace

* Removed the unneeded files
2025-04-08 23:00:57 +02:00
Tayrtahn 048dcd9eeb
Fix `lsobjectives` target player logic (#36398)
* Fix lsobjectives target player logic

* Logic 3.0
2025-04-08 21:42:38 +02:00
slarticodefast b276524468
fix rmobjective command and add completion options (#36396)
fix rmobjective command
2025-04-08 16:54:13 +02:00
Quantum-cross 716c0ef51f
Allow sound to play at the start of anomaly supercritical animation (#36260)
* Add datafield to AnomalyComponent to play a sound when an anomaly enters supercriticality

* use Entity<T> pattern

* use implicit default for nullable

* don't forget to resolve the AnomalyComponent...

* Add comment for StartSupercriticalEvent "ent" parameter

* use implicit casts from Entity<T> to EntityUid

* StartSupercriticalEvent requires AnomalyComponent to resolve
2025-04-08 19:11:32 +10:00
Radezolid 8da64c127a
Make FlammableTileReaction additive instead of multiplicative. (#36387)
Make FlammableTileReaction additive
2025-04-08 09:44:52 +03:00
slarticodefast 50bbb1c101
predict IgnitionSourceComponent (#36310)
* PREDICTION

* comment

* don't overwrite event args

* totally not a web edit

* intn't
2025-04-06 17:54:47 -07:00
Tayrtahn 8d8c1e4dae
Make `RandomMetadata` properly support localization (#36343)
* Make _outputSegments readonly

* Remove mystery character

* Use Fluent instead of string concatenation

* Adjust format

* Convert existing content

* Don't need these anymore

* Docs
2025-04-06 11:12:39 -07:00
ScarKy0 9e299a1053
Allow Aghosts to load biomes. (#36325)
* init

* review
2025-04-06 14:10:17 +02:00
Minemoder5000 7c84ff1a93
Make Health Analyzer scan range nullable and adjust admin PDA (#36347)
* Modify .cs and admin pda

* enhance comment
2025-04-06 10:31:06 +02:00
deltanedas 67a9809a5e
remove evil shitcode from randommetadata (#36324)
* remove evil

* fix non-localizeddataset uses

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-04-05 17:56:22 +02:00
slarticodefast aa24066450
move DeviceLinking events to shared (#36307)
move events
2025-04-05 14:20:14 +02:00
J af9526197a
Extracts magic strings from Tag calls (#36305)
* Extracts magic strings from Tag calls

When #36281 gets merged, the `TagSystem` methods will all give warnings. Let's fix those warnings before they even happen!

* Adds missing libraries

* Remove not yet implemented TagSystem changes

* Fix tag spelling error

Genuinely surprised there was only 1!

* Styling and proper type changes

* Styling

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
2025-04-04 20:20:19 -04:00
Myra fe1664b46d
IPIntel now rounds to 2 decimal points (#36298)
* IPIntel now rounds to 2 decimal points

* Nvm i understood what pjb wanted now
2025-04-04 20:42:13 +02:00
Tayrtahn 6000855bb2
Fix ninjas not being able to hack criminal records (#36299)
Index reason placeholders prototype as a LocalizedDataset
2025-04-04 19:46:59 +02:00
metalgearsloth b501026dcd
Mob collision tweaks (#36296)
* Mob collision tweaks

- Remove the dot product default so moving also pops it.
- Cleanup the cvars so admins can adjust

* Gas canister revert
2025-04-04 17:14:04 +02:00
metalgearsloth 593804b517
Mob collisions (#34580)
* Conveyor optimisations

- Optimise movement for moving stuff. Better flags + less resolves + slapped parallelrobustjob on it.
- Sleeping for entities getting conveyed into walls.

* Blocker version

* Finish

* Final

* Mob collisions

* impulses

* Collision smoothing

* Locked in

* 30tps working

* r

* fixes

* Best

* Fixes + CVars

* CVars in place

* Pushies

* Opt attempt 1

* Revert "Opt attempt 1"

This reverts commit 5ccd72dcbea09261a992aa1f7f05df169a1ce676.

* Fix mispredicts

* Ready-ish

* better

* Cleanup

* Fix conveyor power mispredict

* Forgetting to actually do deltas

* Fix buckle pushes

* Bagel save

* Revert "Bagel save"

This reverts commit 1b93fda81fb852d89b89b0beae0b80f8a61165f2.

* Conveyor resave

* Fix prediction

* Mob movement rewrite

* Bandaid

* Working version

* Tentatively working

* Friction to fix cornering

* More fixes

* Revert bagel

* Revert this

* Bad parity

* Working

* Fixes

* Woops

* Doc comments

* Pen cap cvar

* StandingState cleanup and sub

* Fix downed mobs

* fish

* client

* Disable pushing on tests

* More variables

* Movement mods

* Mass diff

* 1 more tweak

* Cvar
2025-04-05 00:33:52 +11:00
Tayrtahn d295aed791
Fix loc issues with suicide popup (#36284) 2025-04-04 11:41:21 +02:00
ScarKy0 14b9afff67
Stable merge (#36291) 2025-04-04 11:30:40 +02:00
SlamBamActionman 444ef029bc
[Hotfix] Change ID card console admin log severity to Medium (#36283)
It's that simple
2025-04-04 11:18:02 +02:00
metalgearsloth 8ad7c9c281
Add autocomplete to controlmob (#36234)
Expensive for what it is just really annoying in debug to not have it. Worst case I just make it debug only and we don't add it for release.
2025-04-03 05:32:14 +02:00
Tayrtahn 8007a4ebf7
Fix a few loc bugs with magic mirror/scissors (#36269)
* Use identity for magic mirror popups

* THE()

* Use correct pronouns in blocked-by-hat message
2025-04-03 05:30:30 +02:00
Tayrtahn bb864f2b56
Fix entities burning to ash not using identity, and bad formatting (#36268)
* Make burning to ash use identity

* CAPITALIZE(THE())
2025-04-03 04:02:09 +02:00
J 7e4cf87820
NPC Warnings cleanup (#36189)
* NPC Warnings cleanup

* Reverting unnecessary changes

* Reverting unnecessary changes, missed

* Using entity GetGrid override instead
2025-04-02 17:12:25 -07:00
Tayrtahn 7f781e7bda
Convert AgentIDCard message to use a Fluent selector (#36263)
Convert AgentIDCard message to use a selector
2025-04-02 16:26:36 -07:00
qwerltaz b204fd9b0e
add: Dragon rift color changes based on charge (#36216)
* use dragon rift sprite colours

* Entity<T>
2025-04-02 14:37:34 -04:00
Tayrtahn 593a8fe869
Fix KeyNotFoundException that sometimes happens on server shutdown (#36221) 2025-04-01 23:11:15 -04:00
J 3192a7fde5
Rotation warnings cleanup (#36197)
* Rotation warnings cleanup

* Naming convention fix

* Adding component that we already have
2025-04-01 23:56:37 +02:00
Tayrtahn c8fe3651e5
Add prediction to electric grills (#36241)
* Prediction for EntityHeaterSystem

* Switch to Entity<T>

* meh

* Move popup inside ChangeSetting

* Fix grill visually turning on when changing setting while power is off

* Add note about my failed quest

* Why isn't this an IDE warning?

* Move comment above switch expression in SettingPower
2025-04-01 09:43:19 -07:00
ScarKy0 115313dded
Undetermined thieving satchel (#36201)
* yippee!

* no toolboxes allowed

* sprite, descriptions
2025-03-31 15:32:31 -07:00
Tayrtahn d2ad6cdcaa
Rework the way held items scatter when holder is knocked down (#36232)
* Redo drop held items math

* Don't assume the holder has a PhysicsComponent

* Assume infinite mass for held items with no PhysicsComponent

* Switch to EntityQuery for PhysicsComponent

* The micro-est of optimizations

* use NextAngle

* Might as well do that outside the loop
2025-03-31 15:00:04 -07:00
YoungThug f01c6e9b37
Holoparasite injector fix (#36109)
* HoloParaTextFix

* PleaseSpeedMergeLmao

* ThankYouOrks

* Update Resources/Locale/en-US/guardian/guardian.ftl

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>

* Update Content.Server/Guardian/GuardianSystem.cs

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>

* Update Content.Server/Guardian/GuardianSystem.cs

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
2025-03-31 17:18:21 -04:00
slarticodefast b980c509f9
delete PolymorphOnCollideComponent (#36227)
delete component
2025-03-31 17:45:18 +02:00