Commit Graph

60 Commits

Author SHA1 Message Date
Leon Friedrich
4d71b1b81e Revert "Mind ecs" (#14881) 2023-03-27 08:24:00 +11:00
ShadowCommander
bfc4da9377 Mind ecs (#14412) 2023-03-26 14:31:13 -04:00
Nemanja
49f7575298 Cuffable/Handcuff ECS (#14382) 2023-03-13 19:34:26 -04:00
Jezithyr
eeb5b17b34 Mobstate Refactor (#13389)
Refactors mobstate and moves mob health thresholds to their own component

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-01-13 16:57:10 -08:00
Moony
9bf4a32c19 Fix objectives. (#13122)
Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2022-12-20 16:06:01 -08:00
Jezithyr
5f9b4adf47 Cleaned up obsolete properties from MobStateComponent (#13097)
Co-authored-by: Jezithyr <Jezithyr@gmail.com>
2022-12-19 21:25:35 -06:00
metalgearsloth
6c76061887 Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
DrSmugleaf
7fbc2608e8 Remove redundant read-only VV from datafields (#12626) 2022-11-16 20:22:11 +01:00
Rane
6f53e9c459 fix several traitor objective bugs (#12212) 2022-11-04 13:58:19 +11:00
metalgearsloth
c0abea8047 Content side for removing IMap / IMapGrid comps (#12357) 2022-11-04 10:12:25 +11:00
metalgearsloth
c9a2ab1cee Remove transform methods from mapgrid (#12233) 2022-11-01 11:27:18 +11:00
Rane
65534f847d new social traitor objective + fix targeting for other traitor alive (#11775) 2022-10-09 12:09:45 -07:00
Vordenburg
718183277d Replace StayAliveObjective with EscapeShuttleObjective. (#11642) 2022-10-04 14:57:14 -07:00
Nemanja
210b2cd5ca Fix fucked names in steal condition (#10445) 2022-08-09 10:32:17 +10:00
Nemanja
69e69e7db7 Captain's Captain's Jetpack (#10195) 2022-08-08 18:55:50 +10:00
Leon Friedrich
e7854c9156 Steal condition fix (#10323) 2022-08-05 18:02:02 +10:00
wrexbe
5eaa7149e2 Replace count prototype (#10212)
* Replace count prototype

* Doc improvement
2022-08-01 12:32:42 -07:00
Rane
b8be23004b Latejoin traitors (#9783) 2022-07-28 17:59:45 -07:00
drakewill-CRL
d02e2dad26 Antag menu (#9900)
* Refactor traitor generation code.

* RandomTraitorAlive no longer crashes when 1 traitor. Also cleaner/faster

* Add Antag menu for admins, add Traitor to the list.

* Add zombie to admin-antag menu

* Pirates, lone op, make traitor consistent with the rest.

* Add name strings

* cleaned usings.

* Cleanup.

Co-authored-by: drakewill <drake@drakewill-crl>
Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2022-07-20 04:46:23 -05:00
Rane
8de2590e29 Steal condition tells you where to steal it from (#9605) 2022-07-14 20:09:11 -07:00
Leon Friedrich
ca7960382b Missing nullables (#8634) 2022-06-04 17:17:48 +10:00
wrexbe
bc68ac96dd Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
metalgearsloth
b87806f7ed Fix some build warnings (#6832)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-02-21 14:41:50 +11:00
mirrorcult
ec4d4688c7 Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Rane
be7a770b78 Traitor objectives now include their target's job (#6417) 2022-02-06 19:25:04 -07:00
Júlio César Ueti
5a32c14216 Fixes RandomTraitorAliveCondition icon (#6300) 2022-01-25 20:29:31 +11:00
Júlio César Ueti
7d61970b9e Fixes #6294 - Stay alive objective shows an error sprite (#6297) 2022-01-24 12:32:41 -07:00
Rane
0280b81eb4 Rebalanced traitor objective difficulty (#6173) 2022-01-14 22:02:16 -07:00
Rane
b5f03f4682 New Objective: Ensure another traitor stays alive. (#6020)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-14 01:53:50 +11:00
Rane
e3de9bcd72 Rebalance traitor objective difficulty (#5988)
* Adjusted traitor steal objectives

* Added theft target to cargo

* Rebalanced difficulty
2022-01-01 23:46:00 +01:00
Rane
ab28be3c54 Adjusted traitor steal objectives (#5974)
* Adjusted traitor steal objectives

* Added theft target to cargo
2022-01-01 17:56:25 +01:00
Vera Aguilera Puerto
f4d8ec1b35 Refactor Game Modes (#5857) 2021-12-21 21:23:29 +01:00
Paul Ritter
75721c214c Revert "Refactor Game Modes" oh god oh fuck go back it was too good to be true (#5855) 2021-12-21 19:25:52 +01:00
Vera Aguilera Puerto
8831d08229 Refactor Game Modes (#5819) 2021-12-21 18:56:47 +01:00
DrSmugleaf
af4eb3c7cd Fix more errors, client and server now build 2021-12-06 14:00:39 +01:00
DrSmugleaf
ab9d0cc6d8 Fix errors 2021-12-05 21:02:04 +01:00
DrSmugleaf
2a3b7d809d Fix 3000 errors 2021-12-05 18:09:01 +01:00
Vera Aguilera Puerto
5cd42c9ad6 Inline UID 2021-12-03 15:53:09 +01:00
Vera Aguilera Puerto
2654775bf0 Inline GetComponentOrNull 2021-12-03 15:32:05 +01:00
Vera Aguilera Puerto
ee4ff9cfe8 Inline Name 2021-12-03 15:25:51 +01:00
Vera Aguilera Puerto
69b270017b Inline TryGetComponent completely, for real 2021-12-03 14:17:01 +01:00
20kdc
f6d44be34f Activatable UI component (#5184)
* Transfer most Instrument UI logic to a new component, ActivatableUIComponent

* Move more ActivatableUIComponent stuff to ECS

* ActivatableUI component ignore on client

* ActivatableUI: Get rid of component interfaces where possible

* Add in adminOnly attribute for activatable UIs

This is so that porting #4926 to this will be easier

* Transition Solar Control Computer to ActivatableUI

* Move communications console to ActivatableUI

* Move cargo console to ActivatableUI

* Move ID card console to ActivatableUI

* ActivatableUI: Make things more amiable to entity tests adding components weirdly

* ActivatableUI: Use handling or lack thereof of events properly

* ActivatableUI: component dependency issue resolution stuffs

* ActivatableUISystem: Fix #5258

* More fixes because master did stuffo

* Check for HandDeselectedEvent again because otherwise active-hand check doesn't work

* Move just a bit more code into the system, introduce a workaround for #5258

* Purge the player status detection stuff

* Oh and some obsolete stuff too
2021-11-23 19:19:08 +01:00
20kdc
4cce40bd9f Ghost roles create new minds, better tracking of roles at round end screen (#5175)
* Ghost roles now get new Minds

* Some round start/end button stuff

* Mind tracking for better round end reports

* Make traitor kill objectives use mind CharacterName rather than actual occupied entity ("kill brain" prevention)

* Transition over to EntityUid for mind stuff because that's the only way to do it

* BrainSystem fix for PR rebase
2021-11-15 11:14:34 -07:00
Javier Guardia Fernández
f5b11d6af8 Remove IMobStateComponent (#5220) 2021-11-08 15:11:58 +01:00
Vera Aguilera Puerto
0be5ff829b Gets rid of all ComponentManager usages. (#4707) 2021-09-28 13:35:29 +02:00
Visne
b7dc3c81ae Remove redundant #nullable enable (#4275) 2021-07-16 17:37:09 -07:00
Galactic Chimp
392b820796 Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2021-06-21 02:13:54 +02:00
DrSmugleaf
ff1a2d97ea Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
20kdc
f6a2daffa9 Objectives all use a consistent definition of "dead" defined in Mind now. DieCondition is no longer inverted. (#4006)
More brain fixes, mainly
2021-05-15 17:46:55 +02:00
20kdc
3476d1de5b Fixes KillPersonCondition considering brains "alive" (#3985) 2021-05-13 01:11:26 +02:00