Commit graph

27 commits

Author SHA1 Message Date
SlamBamActionman
16dd492765
Make bolas able to be removed as long as any hand is free, reduce Sec locker bola count (#45869)
* Initial commit

* Fix unhandness
2026-09-05 23:06:38 +00:00
August Sun
802cefcca9
Adds the security bola, converts existing bola into makeshift bola; bolas require active hand to be empty to remove (#44512)
* Split security bola and makeshift bola prototypes, added secfab recipe for security bola, added NeedFreeHand DoAfterArg

* Adds security bolas to security locker fills

* Changes bola in secvend to security bola

* Modified tactical and makeshift bola sprites

* Made base bola, makeshift and tactical bolas now parent off of. Nested NeedFreeHand DoAfterArg under NeedHand arg.

* Whoops need to change sprite back to tactical bola

* YAML cleanup

* DoAfterArgs code cleanup

* Update Content.Shared/DoAfter/DoAfterArgs.cs

Co-authored-by: Samuka <47865393+Samuka-C@users.noreply.github.com>

* YAML formatting

* update comment

---------

Co-authored-by: august-sun <45527070+august.sun@users.noreply.github.com>
Co-authored-by: Samuka <47865393+Samuka-C@users.noreply.github.com>
2026-07-29 00:08:25 +00:00
AndrewFenriz
ab9d7efc36
Vehicle system: Movement & Buckling (#43525)
* Part one of Vehicles

* Also we need this

* And we need this

* We REALLY need this

* Little fix

* fixes (i'm tired)

* Apply suggestions from code review

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>

* update

* fixed

* just for cleaner diff

* just in case

* I think this might be cleaner

* small fix

---------

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
2026-05-21 23:37:18 +00:00
Pieter-Jan Briers
5168b5f3d4
IoC source gen compatibility (#43863)
* IoC source gen compatibility

Can be merged before or after https://github.com/space-wizards/RobustToolbox/pull/6549 doesn't really matter.

* Missed a spot
2026-05-09 03:29:58 +00:00
ArtisticRoomba
376f16504c
Content.Shared EntityQuery<T> dependency injection refactor (#43498)
* part 1

* second pass

* final fix

* last fix i swear

* an even bigger genius

* regex missed this

* should be all of em?

* oops

* yeah

* Revert "should be all of em?"

This reverts commit 4dd54d1b9a76977b4cf8d6008358e4dacdee6eb1.

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2026-04-11 21:30:36 +00:00
slarticodefast
a5e9f24f5b
Use dependencies for EntityQueries in Systems (Part 1: Client) (#43478)
* cleanup

* vsc lied to me

* private readonly

* use proxies
2026-04-06 17:30:41 +00:00
B_Kirill
fbed18b164
Cleanup warnings: CS0168, CS0414 (#43198)
* Cleanup warnings: CS0168, CS0414

* That was the right thing to do

* Please tell me that this is a random fail

* ...

* last try

* revert
2026-03-14 22:17:14 +01:00
Moony
87a37874ae
Add exception tolerance to SharedDoAfterSystem. (#43088) 2026-03-10 19:56:26 +00:00
InsoPL
327f217e18
Do after checks for being inside container (#39880)
fix
2025-09-10 12:22:24 -07:00
Princess Cheeseballs
9de76e70c7
EVENT BASED WEIGHTLESSNESS (#37971)
* Init Commit

* Typos

* Commit 2

* Save Interaction Test Mob from failing

* ssss

* Confident I've gotten all the correct prototypes

* Whoops forgot to edit those

* aaaaa

* Better solution

* Test fail fixes

* Yaml fix

* THE FINAL TEST FIX

* Final fix(?)

* whoops

* Added a WeightlessnessChangedEvent

* Check out this diff

* Wait I'm dumb

* Final optimization and don't duplicate code

* Death to IsWeightless

* File scoped namespaces

* REVIEW

* Fix test fails

* FIX TEST FAILS REAL

* A

* Commit of doom

* borgar

* We don't need to specify on map init apparently

* Fuck it

* LOAD BEARING COMMENT

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2025-08-19 14:35:09 -04:00
Myra
0a991593f5
Revert "Fix: Break do_after if target/tool becomes inaccessible" (#39617) 2025-08-13 22:07:46 +02:00
Winkarst-cpu
cea8dea005
Fix: Break do_after if target/tool becomes inaccessible (#35079) 2025-08-13 09:35:35 +03:00
slarticodefast
c4016b97c5
fix DoAfter DistanceThreshold (#39276) 2025-08-06 16:35:31 +02:00
Nemanja
524725d378
HandsSystem Refactor (#38438)
* checkpoint

* pt 2

* pt... i forgot

* pt 4

* patch

* More test fixes

* optimization!!!

* the REAL hand system

* fix RetractableItemActionSystem.cs oversight

* the review

* test

* remove test usage of body prototype

* Update Content.IntegrationTests/Tests/Interaction/InteractionTest.cs

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

* hellcode

* hellcode 2

* Minor cleanup

* test

* Chasing the last of the bugs

* changes

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
2025-06-25 15:13:03 +02:00
Plykiya
9f8ff021ea
Fix for stripping doafters (#30821)
Apparently I need to check if they're holding an item

Co-authored-by: plykiya <plykiya@protonmail.com>
2024-08-09 22:02:06 +10:00
Plykiya
190ceda02e
Add BreakOnDropItem, update do afters, remove unnecessary declarations (#30361)
* Add BreakOnDropItem, update do afters, remove unnecessary declarations

* bola

* Changed my mind about the nuke

* gennies too

* Make the comments more clear.

* Sorry for the trailing commas

* Revert "Sorry for the trailing commas"

This reverts commit e60fd9a30977393df3344948e6d5c0ce035723cd.

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
2024-08-08 13:39:46 +02:00
Plykiya
b7aa97e203
Replace obsolete EntityCoordiates.InRange() with TransformSystem.InRange() (#29993)
* Replace EntityCoordiates.InRange() with TransformSystem.InRange()

* nullspace

* I figured it out

* man I have no clue how client side sutff works

* please have mercy

* remove RadiationPulseOverlay changes

* nullspace

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
2024-07-13 23:25:51 +02:00
Leon Friedrich
6d16d6b1c9
Fix DoAfter attempt event null error (#27280)
* Fix DoAfter attempt event null error

* A
2024-04-25 11:54:25 +10:00
nikthechampiongr
362d56981f
Simplify DoAfterArgs behavior for movement and distance checks (#25226)
* Merge BreakOnWeightlessMove and BreakOnMove. Provide different theshold for weightless movement.

* Adjust WeightlessMovementThresholds. Put a thing I forgot to put in the doafterargs.

* Make DoAfterArgs only use OnMove to determine whether to check for
movement and MoveThreshold to determine the threshold regardless of
weightlessness. Gave DistanceThreshold a default value which will always
be checked now.

* Fix issue introduced by merge.

* Use interaction system for determining whether a distance is within range

* Fix incorrect doafter args introduced by previous merge.
Forgor to commit these.

* Exorcise ghost.

The execution system should have been deleted when I merged previously.
For a reason I cannot comprehend it came back, but only the execution
system.

* Exorcise ghost Pt. 2

* Allow for movement check to be overriden in zero g and adjust doafter args where needed.

You can now override checking for movement in zero g with the BreakOnWeightlessMove bool. By default it will check.
The following doafters were made to ignore the movement check in zero g:
- Healing yourself with healing items,
- Removing embedded projectiles,
- Using tools like welders and crowbars

* Adjust distance for cuffing/uncuffing to work. Make injections not break on weightless movement.

* Fix evil incorrect and uneeded comments
2024-03-19 21:09:00 +11:00
DrSmugleaf
9ad1ae5d96
Fix error when starting a DoAfter while handling one on the same entity (#24218)
* Fix error when starting a DoAfter while handling one on the same entity

* Reuse array
2024-01-18 00:01:58 -08:00
metalgearsloth
5a0fc68be2
Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
Topy
b85c902189
Added sink (#14348) 2023-06-30 18:10:47 -04:00
deltanedas
10932cc384
space doafters, like doafters but in space (#16670)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-06-03 12:33:41 -07:00
keronshb
c6aae19a16
Adds repeating DoAfters to Food and Drink (#15233) 2023-04-16 08:14:26 +10:00
Leon Friedrich
61b19b3164
Remove unnecessary dependency injection from DoAfters (#15170) 2023-04-12 03:23:04 +10:00
DrSmugleaf
b947856431
Remove hands component reference (#15197) 2023-04-07 11:21:12 -07:00
Leon Friedrich
19277a2276
More DoAfter Changes (#14609)
* DoAfters

* Compact Clone()

* Fix mice and cuffables

* Try generalize attempt events

* moves climbabledoafter event to shared, fixes issue with climbable target

* Fix merge (cuffing)

* Make all events netserializable

* handful of doafter events moved

* moves the rest of the events to their respective shared folders

* Changes all mentions of server doafter to shared

* stop stripping cancellation

* fix merge errors

* draw paused doafters

* handle unpausing

* missing netserializable ref

* removes break on stun reference

* removes cuffing state reference

* Fix tools

* Fix door prying.

* Fix construction

* Fix dumping

* Fix wielding assert

* fix rev

* Fix test

* more test fixes

---------

Co-authored-by: keronshb <keronshb@live.com>
2023-04-02 21:13:48 -04:00