Commit Graph
62 Commits
Author SHA1 Message Date
Pieter-Jan BriersandGitHub 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
PokandGitHub b7e78ad6fc Fix gibbing aghost (#43177)
Update MindSystem.cs
2026-05-05 19:33:58 +00:00
e774e11d06 Add transfer entity to mind events. (#43020)
* init

* stuff

* to

* BeforeEvents

* comment

* docs

* Update Content.Shared/Mind/Components/MindContainerComponent.cs

Co-authored-by: pathetic meowmeow <uhhadd@gmail.com>

---------

Co-authored-by: pathetic meowmeow <uhhadd@gmail.com>
2026-02-26 01:16:55 +00:00
af71eec42b Make HasMind not always false for client. (#43033)
* it hasmind but i don't

* potatoe potato

* reading is hard

* still can't read

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
2026-02-25 23:49:37 +00:00
Kyle TyoandGitHub 83b3e9e15a Localize makesentient command. Move makesentient method to mind system. (#38565)
* praying pjb doesn't smite me for this 🙏

* requested changes

* Update makesentient-command.ftl

* verin commith and verin taketh away
2025-07-23 14:29:46 +02:00
TayrtahnandGitHub 6d88dd910d Modernize GhostComponent & Ghost API (#36858)
* Move CanReturnToBody to system

* Move CanGhostInteract to system

* Cleanup redundant datafields and viewvariables

* Document datafields

* Document component

* Add SetTimeOfDeath Entity<T> overload, obsolete old version

* Document public methods

* Cleanup obsoleted method calls
2025-04-23 20:28:10 +02:00
MilonandGitHub 3fc9bcbbbe remove Session from MindComponent (#34753)
* yummy

* fix tests
2025-04-19 00:23:01 +02:00
JandGitHub b1c08582d5 Various system spring cleaning (#36206)
* Various systems warnings cleanup

* Last changes before submitting PR

* Add guard for transform component, fix failing test

* Small corrections

* Audio params to specifiers datafields

* Using audio params on components and configs
2025-04-16 13:08:22 +02:00
TayrtahnandGitHub 593a8fe869 Fix KeyNotFoundException that sometimes happens on server shutdown (#36221) 2025-04-01 23:11:15 -04:00
metalgearslothandGitHub afd0618a60 Station AI (#30944)
* Station AI overlay

* implement

* Bunch of ports

* Fix a heap of bugs and basic scouting

* helldivers

* Shuffle interactions a bit

* navmap stuff

* Revert "navmap stuff"

This reverts commit d1f89dd4be83233e22cf5dd062b2581f3c6da062.

* AI wires implemented

* Fix examines

* Optimise the overlay significantly

* Back to old static

* BUI radial working

* lots of work

* Saving work

* thanks fork

* alright

* pc

* AI upload console

* AI upload

* stuff

* Fix copy-paste shitcode

* AI actions

* navmap work

* Fixes

* first impressions

* a

* reh

* Revert "navmap work"

This reverts commit 6f63fea6e9245e189f368f97be3e32e9b210580e.

# Conflicts:
#	Content.Client/Silicons/StationAi/StationAiOverlay.cs

* OD

* radar

* weh

* Fix examines

* scoop mine eyes

* fixes

* reh

* Optimise

* Final round of optimisations

* Fixes

* fixes
2024-08-28 10:57:12 +10:00
WinkarstandGitHub 2d85b4e7e9 Move OnGhostAttempt to GhostSystem (#31445)
* Move OnGhostAttempt to GhostSystem

* Remove unused dependencies and sort them
2024-08-26 14:15:33 +02:00
ShadowCommanderandGitHub a985c5e83e Fix ghosts getting spawned in nullspace (#27617)
* Add tests for ghost spawn position

* Make ghosts spawn immediately

* Format mind system

* Move ghost spawning to GhostSystem

* Spawn ghost on grid or map

This fixes the ghosts being attached the parent entity instead of the grid.

* Move logging out of the ghost system

* Make round start observer spawn using GhostSystem

* Move GameTicker ghost spawning to GhostSystem

Moved the more robust character name selection code over.
Moved the TimeOfDeath code over.
Added canReturn logic.

* Add overrides and default for ghost spawn coordinates

* Add warning log to ghost spawn fail

* Clean up test

* Dont spawn ghost on map delete

* Minor changes to the role test

* Fix role test failing to spawn ghost

It was failing the map check due to using Nullspace

* Fix ghost tests when running in parallel

Not sure what happened, but it seems to be because they were running simultaneously and overwriting values.

* Clean up ghost tests

* Test that map deletion does not spawn ghosts

* Spawn ghost on the next available map

* Disallow spawning on deleted maps

* Fix map deletion ghost test

* Cleanup
2024-05-11 11:03:40 -04:00
Leon FriedrichandGitHub 229caa10bf Fix some TryGetMind overrides relying on player data (#26992)
* Fix some TryGetMind overrides relying on player data

* A

* Rider has bamboozled me

* Update `data.Mind` before attaching to entity.
2024-04-16 14:26:32 +10:00
68ce53ae17 Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
2024-02-13 16:48:39 -05:00
metalgearslothandGitHub c326e5d087 Fix multi-ghosts (#22964)
* Fix multi-ghosts

* Fix mind visits
2023-12-26 00:19:12 +11:00
269c93245d Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-11-27 22:12:34 +11:00
Leon FriedrichandGitHub aa59956134 Fix handcuffed entity deletion and a mind shutdown error. (#21825)
* Fix handcuffed deletion error

* Fix mind shutdown error
2023-11-21 19:53:30 -05:00
DrSmugleafandGitHub 641b490313 Replace usages of MobObserver and AdminObserver with GameTicker consts (#21814) 2023-11-21 15:27:37 +11:00
Leon FriedrichandGitHub 654cc7f071 Merge ActorSystem and IPlayerManager (#21314) 2023-11-11 13:08:10 +11:00
metalgearslothandGitHub 5b8f3c48c4 Revert "Update submodule to 175.0.0 (#21318)" (#21319) 2023-10-29 15:29:30 +11:00
metalgearslothandGitHub 9b1b3e03ed Content audio (#20862) 2023-10-29 14:58:23 +11:00
Leon FriedrichandGitHub e685cb626b Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
Leon FriedrichandGitHub 0880145ac8 Mind tweaks & fixes (#21203) 2023-10-24 10:23:56 -04:00
metalgearslothandGitHub a2bbda43cc Revert "Update submodule to 172.0.0 (#21222)" (#21225) 2023-10-24 21:55:20 +11:00
Leon FriedrichandGitHub 7ba0ea2926 IPlayerManager refactor (#21215) 2023-10-24 20:19:08 +11:00
Leon FriedrichandGitHub 440a578047 Add mind entities to PVS overrides (#20847) 2023-10-11 14:45:05 +11:00
Leon FriedrichandGitHub 427cae2d25 Misc mind tweaks and fixes (#20614) 2023-10-06 18:00:48 -07:00
deltanedasGitHubdeltanedas <@deltanedas:kde.org>
24810d916b ninja 2 electric boogaloo (#15534)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-09-10 16:20:27 +10:00
DrSmugleafandGitHub 3f3ba6ac62 Move minds, roles, jobs and objectives to shared (#19679) 2023-08-30 21:46:11 -07:00
DrSmugleafandGitHub b2672bdd3b Fix sporadic test fail unable to resolve mind component when terminating (#19640) 2023-08-29 12:34:23 -07:00
15c0211fb2 Refactor minds to be entities with components, make roles components (#19591)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2023-08-28 16:53:24 -07:00
VisneandGitHub b88c2cbb49 Remove usages of obsolete MetaDataComponent setters (#19582) 2023-08-28 19:20:31 +10:00
metalgearslothandGitHub 0b542098db Remove ghost compref (#19478) 2023-08-25 18:50:46 +10:00
crazybrain23andGitHub dccb52fe2a Add new body examin state (#19435) 2023-08-23 17:41:54 -04:00
Leon FriedrichandGitHub 5b77f9b32f Allow mind system to spawn ghosts during the post-round phase. (#19091) 2023-08-14 23:08:47 -06:00
NemanjaandGitHub 7ddee71379 More borg tweaks (#19143)
* borg tweaks but i'm gonna go code fun stuff first

* werkin' on it

* a ton of tweaks

* fuck everyone and then myself
2023-08-14 18:34:23 -05:00
NemanjaandGitHub 6a125b55df Fix various IC states not counting as dead (#19049) 2023-08-13 23:34:18 -04:00
NemanjaandGitHub 98fa00a21f Borgs (#18136)
* Laws

* positronic brain and PAI rewrite

* MMI

* MMI pt. 2

* borg brain transfer

* Roleban support, Borg job (WIP), the end of mind shenaniganry

* battery drain, item slot cleanup, alerts

* visuals

* fix this pt1

* fix this pt2

* Modules, Lingering Stacks, Better borg flashlight

* Start on UI, fix battery alerts, expand activation/deactivation, low movement speed on no power.

* sprotes

* no zombie borgs

* oh fuck yeah i love a good relay

* charger

* fix the tiniest of sprite issues

* adjustable names

* a functional UI????

* foobar

* more modules

* this shit for some reason

* upstream

* genericize selectable borg modules

* upstream again

* holy fucking shit

* i love christ

* proper construction

* da job

* AA borgs

* and boom more shit

* admin logs

* laws redux

* ok just do this rq

* oh boy that looks like modules

* oh shit research

* testos passo

* so much shit holy fuck

* fuckit we SHIP

* last minute snags

* should've gotten me on a better day
2023-08-12 16:39:58 -05:00
Leon FriedrichandGitHub 6a45d36457 Fix mind test issues (#18793) 2023-08-07 13:29:10 +10:00
Tom LeysandGitHub 66ed63dd90 Remember the first entity a Mind controls for the endround screen (#16950) 2023-07-31 18:46:06 -04:00
vanxGitHubvanx <#vanxxxx>
c109a716e0 rmobjective fix (again) (#18033)
Co-authored-by: vanx <#vanxxxx>
2023-07-15 17:55:24 +10:00
Leon FriedrichandGitHub 3fa99b8abf Slight mind test cleanup (#17521) 2023-06-21 12:11:58 +10:00
Leon FriedrichandGitHub 6485dbae01 Fix round end window (#17512) 2023-06-21 11:18:16 +10:00
Leon FriedrichandGitHub 9fc4fc6ac2 Fix some Mind ECS bugs (#17480) 2023-06-20 14:29:26 +10:00
ShadowCommanderandGitHub dd7032a860 Mind ECS (#16826) 2023-06-19 04:33:19 +10:00
Leon FriedrichandGitHub 56b9afd111 Stop mind ejection from logging errors on deleted entities. (#15760) 2023-04-25 10:01:00 +10:00
Leon FriedrichandGitHub 4d71b1b81e Revert "Mind ecs" (#14881) 2023-03-27 08:24:00 +11:00
ShadowCommanderandGitHub bfc4da9377 Mind ecs (#14412) 2023-03-26 14:31:13 -04:00
Chief-EngineerandGitHub b482463c91 Add prevent suicide to minds and add tag control commands (#13307) 2023-02-17 01:36:10 +01:00
Leon FriedrichandGitHub 9c6c6a797a Remove reference to deleted mind (#14101) 2023-02-14 13:46:44 +11:00