Commit graph

39 commits

Author SHA1 Message Date
0x6273
37b8d78dac
Body code cleanup (#24946)
* Fix test

* Kill float accumulators

* Use entity proxy methods

* DataField auto name generation where possible

* Kill comp properties

* Clean up server comps

* Make events record structs

* Clean up shared body code

* Clean up server body code

* Rename organ events to be same names as in med refactor
2024-03-27 17:48:37 -07:00
Jezithyr
be29a054de
Death acidifier fix (#25251) 2024-02-14 17:37:56 -08:00
Jezithyr
541d8f8715
Gibbing refactor (Per-part gibbing and giblet throwing!) (#24989)
* Moving Gibbing rework out from medrefactor into it's own PR

* Re-enabled warning for missing gibbable on TryGibEntity

* Implemented better logic for gibbing failover and better logging

* Allowing audio params and drop scattering customization per component. Created UnGibbable organ base types and made brains ungibbable.
Removed delete brain from gibBody function. Artifact crusher does not destroy brains anymore. It only destroyed brains before not other organs which was wierd.

* Update Content.Shared/Body/Systems/SharedBodySystem.Body.cs

Fixing space for multiplication

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* Added event raised when attempting to gib contained entities to allow modification of allowed and excluded container ids

* removing audioParams var from component (sound specifier includes it)

* Fixing signature

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2024-02-10 15:37:06 -08:00
metalgearsloth
10b7ec5d29
Slight organ loss change (#24475)
Both should be sufficient to avoid the bandaid bug but this one is more accurate.
2024-01-24 18:06:49 -07:00
metalgearsloth
016e535dea
Maybe fix dead bug (#24445) 2024-01-23 18:42:55 -08:00
TemporalOroboros
7a77d6d5dd
Content ecs containers (#22484) 2023-12-28 01:30:03 -04:00
Leon Friedrich
0734a876f9
Try fix organ networking (#23034) 2023-12-28 09:48:10 +11:00
metalgearsloth
1cea5240c0
Revert "Shuffle body container subs slightly (#21084)" (#22339)
This reverts commit eb49ad11ba.
2023-12-11 05:06:56 -07:00
metalgearsloth
eb49ad11ba
Shuffle body container subs slightly (#21084) 2023-12-11 21:35:24 +11:00
Doru991
b419dbb3eb
Make gibbing drop items again (#21047)
LGTM, Just a warning that this will probably get overriden when medical refactor gets merged since it refactors gibbing.
2023-10-18 14:15:17 -07:00
DrSmugleaf
5934c6728f
Replace all T : Component constraints with T : IComponent (#21073) 2023-10-17 19:42:47 -07:00
Nemanja
6ec02db63f
Make MMIs work again (#20844) 2023-10-08 21:49:20 -07:00
Jezithyr
34d4e9803a
Fix for [20593] (#20663) 2023-10-01 13:33:18 -07:00
metalgearsloth
290c2fd502
Organ fixes (#20488) 2023-09-29 08:01:47 -07:00
DrSmugleaf
a44fa86b68
Update trivial components to use auto comp states (#20539) 2023-09-28 16:20:29 -07:00
Psychpsyo
34aea7d9ed
Fix BodySystem and Gibbing (#20460)
* Fix gibbing & body system

Makes it so that bodies no longer have two sets of torso organs and that gibbed bodies get spread around on the floor again.

* Actually fix the double torso problem

* rootSlot in cameFrom

* Remove SetCoordinates inside GibBody()

* Don't use entity.RandomOffset() in GibBody()

* Gibbing now uses _random.NextVector2()
2023-09-24 23:53:04 -07:00
Jezithyr
31b2c9f830
Refactoring body system to use containers and general body cleanup (#20202)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-09-21 17:23:02 +10:00
metalgearsloth
5a0fc68be2
Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
metalgearsloth
4d1c3ae66a
Revert "Remove IContainer and move functions to the container system.… (#19975) 2023-09-10 21:46:36 +10:00
Leon Friedrich
b45e53603d
Remove IContainer and move functions to the container system. (#19834) 2023-09-10 12:16:37 +10:00
metalgearsloth
4cfc578011
Revert "Remove most usages of obsolete TransformComponent methods (#1… (#19714) 2023-09-01 12:30:29 +10:00
Visne
1416942bea
Remove most usages of obsolete TransformComponent methods (#19571) 2023-08-30 12:05:19 +10:00
Leon Friedrich
9da4679220
Remove or fix broken Dirty() calls. (#18933) 2023-08-10 14:17:43 +10:00
metalgearsloth
ead47c541d
Fix humanoid appearances for placement manager (#18291) 2023-08-05 14:25:47 +10:00
Leon Friedrich
3e599e2306
Add missing CleanReturnAsync() to some tests. (#18471) 2023-07-31 13:57:52 +10:00
Leon Friedrich
aeebe282d4
Prevent brains from walking (#15709)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-04-29 16:35:28 +10:00
Leon Friedrich
21378f6e41
Fix misc bugs (#15314) 2023-04-12 10:18:30 +10:00
metalgearsloth
c8f89eca60
ECS dragdrop (#12973)
* ECS dragdrop

No more excuses.

* AAAAAAAAAAAAAA

* kry

* events

* aaaaaaaaaa

* HUH

* Fix stripping

* aaaaaa

* spoike

* asease

* fix table vaulting

* ded

* rebiew

* aaaaaaaaaaaaa

* drag

* aeaeae

* weh
2023-02-13 13:29:34 +00:00
Nemanja
9db34a4e8a
make legs affect movement speed with body (#12928)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-12-10 02:08:47 +01:00
Nemanja
45b72d4852
nullable parts in body prototypes (#12935)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-12-10 02:07:09 +01:00
Paul Ritter
3884c4d3db
serv4 + submodule update (#12740)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-11-27 19:25:55 +01:00
keronshb
671324bef8
Implanters and Subdermal Implants (#11840)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-11-20 17:49:37 +11:00
DrSmugleaf
a410d19d21
Fix body root being null on the client after init (#12638) 2022-11-16 18:58:55 -06:00
DrSmugleaf
dffcd38345
Add GetBodyPartAdjacentParts and GetBodyPartOrganComponents (#12628) 2022-11-16 11:24:03 +01:00
DrSmugleaf
889ed089c0
Replace IBodyPartAdded and IBodyPartRemoved with ref events (#12572) 2022-11-13 15:34:26 -06:00
metalgearsloth
70cf361caa
Don't predict body init (#12163)
* Don't predict body init

Client doesn't handle predicted entity spawning so the organs hang around.

* Just use init

Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-10-24 17:08:41 -07:00
DrSmugleaf
f323fb7644
ECS and cleanup body system, merge body templates and presets into body prototypes (#11991)
Co-authored-by: Jezithyr <Jezithyr@gmail.com>
2022-10-22 15:46:28 -07:00
mirrorcult
53c0a47e39
Slay bobby pt. 1 (#5632) 2021-12-01 11:44:34 +01:00
mirrorcult
457e8c64ee
Convert StomachBehavior to a component/system + rejig body namespaces (#5249)
* Convert StomachBehavior to a component/system + rejig body namespaces

* test

* slightly more namespace changes

* remove

* Hello?????

* fuck you github test runner

* reviews

* oobsy!
2021-11-11 16:10:57 -07:00