Delta-v/Content.Client/GameObjects/Components
DrSmugleaf 02bca4c0d8
Damage rework (#2525)
* Make damage work through messages and events, make destructible not inherit ruinable or reference damageable

* Copy sound logic to destructible component for now

* Fix typo

* Fix prototype error

* Remove breakable component damageable reference

* Remove breakable construction reference

* Remove ruinable component

* Move thresholds to individual components and away from damageable

* Add threshold property to damageable component code

* Add thresholds to destructible component, add states to damageable, remove damage container, fix up mob states

* Being alive isn't normal

* Fix not reading the id

* Merge fixes

* YAML fixes

* Grammar moment

* Remove unnecessary dependency

* Update thresholds doc

* Change naming of thresholds to states in MobStateComponent

* Being alive is once again normal

* Make DamageState a byte

* Bring out classes structs and enums from DestructibleComponent

* Add test for destructible thresholds

* Merge fixes

* More merge fixes and fix rejuvenate test

* Remove IMobState.IsConscious

* More merge fixes someone please god review this shit already

* Fix rejuvenate test

* Update outdated destructible in YAML

* Fix repeatedly entering the current state

* Fix repeatedly entering the current state, add Threshold.TriggersOnce and expand test

* Update saltern
2020-12-07 14:52:55 +01:00
..
Access Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
ActionBlocking Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00
Actor Traitor (#2566) 2020-12-01 17:05:19 +01:00
Arcade Communications Console & Medical Scanner now close when too far away (#2175) 2020-10-06 10:16:42 +02:00
Atmos Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Body Damage rework (#2525) 2020-12-07 14:52:55 +01:00
Botany Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Buckle Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00
Cargo Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Chemistry Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00
CloningPod Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Clothing Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Command Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00
Configuration Remove dependency. 2020-11-07 01:04:15 +01:00
Construction Upgradeable machines. (#2675) 2020-12-03 22:49:00 +01:00
Conveyor makes conveyors to use machine linking & refactors machine linking a bit (#2464) 2020-11-19 00:53:46 +11:00
Crayon Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00
Disposal Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Doors Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Fluids Added enum types (#2701) 2020-12-04 11:57:33 +01:00
GUI Refactor drag and drop to use a shared interface (#2012) 2020-10-14 15:24:07 +02:00
Gravity Added enum types (#2701) 2020-12-04 11:57:33 +01:00
HUD/Inventory Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
IconSmoothing Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Instruments CVars for MIDI instrument limits (#2632) 2020-11-27 17:12:45 +01:00
Interactable Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00
Items Fix adding then removing a hand causing an error (#2684) 2020-12-03 13:14:56 +11:00
Kitchen Damage rework (#2525) 2020-12-07 14:52:55 +01:00
Markers Improve marker visualization for mapping. 2020-05-24 01:47:14 +02:00
MedicalScanner Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Mobs Damage rework (#2525) 2020-12-07 14:52:55 +01:00
Morgue Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Movement Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Nutrition Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Observer Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
PDA Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Paper Fix namespaces and optimize imports (#1651) 2020-08-13 14:40:27 +02:00
Pointing Fix namespaces and optimize imports (#1651) 2020-08-13 14:40:27 +02:00
Portal Make portals use ICollideBehavior and set collidable.Hard to false (#2186) 2020-10-10 13:32:42 +02:00
Power Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Projectiles Replace CanBeNull annotations with nullable reference types (#1270) 2020-07-08 01:41:20 +02:00
Pulling Add client pulling prediction (#2041) 2020-10-16 20:35:09 +02:00
Recycling Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Research Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Rotation Bodysystem and damagesystem rework (#1544) 2020-08-16 16:42:42 -07:00
Singularity Singularity, Particle Accelerator & Radiation Collectors (#2169) 2020-10-28 19:19:47 +01:00
Sound Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
StationEvents Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00
Storage Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Strap Refactor drag and drop to use a shared interface (#2012) 2020-10-14 15:24:07 +02:00
Suspicion Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Trigger Added enum types (#2701) 2020-12-04 11:57:33 +01:00
VendingMachines Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Weapons Added enum types (#2701) 2020-12-04 11:57:33 +01:00
Wires Added enum types (#2701) 2020-12-04 11:57:33 +01:00
AcceptCloningBoundUserInterface.cs Cloning (#1932) 2020-09-02 12:07:54 +02:00
AcceptCloningWindow.cs Cloning (#1932) 2020-09-02 12:07:54 +02:00
AnimationsTestComponent.cs Property animations test component. (#340) 2019-09-18 22:14:21 +02:00
ClickableComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
ComputerVisualizer.cs Added enum types (#2701) 2020-12-04 11:57:33 +01:00
DoAfterComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
EmergencyLightComponent.cs Rework emergency lights (#1830) 2020-08-22 12:06:29 +02:00
ExpendableLightVisualizer.cs Typo, redundant string interpolation, namespaces and imports cleanup (#2068) 2020-09-13 14:23:52 +02:00
ExtinguisherCabinetVisualizer.cs Cleanup (#2111) 2020-09-20 17:29:11 +02:00
FlashLightVisualizer.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
HandheldLightComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
IItemStatus.cs Item status! 2020-01-09 00:28:04 +01:00
InteractionOutlineComponent.cs Replace pragma warning 649 disable/restore with default! 2020-08-24 14:10:28 +02:00
LanternVisualizer.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
LightBehaviourComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
LowWallComponent.cs Added enum types (#2701) 2020-12-04 11:57:33 +01:00
MagicMirrorBoundUserInterface.cs Merge MathHelper and FloatMath 2020-08-16 14:54:52 +02:00
ParticleAcceleratorPartVisualizer.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
PlaceableSurfaceComponent.cs Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00
RadiationCollectorVisualizer.cs Added enum types (#2701) 2020-12-04 11:57:33 +01:00
ReinforcedWallComponent.cs Added enum types (#2701) 2020-12-04 11:57:33 +01:00
ReinforcedWallVisualizer.cs Added enum types (#2701) 2020-12-04 11:57:33 +01:00
StackComponent.cs Data-oriented Construction System (#2152) 2020-10-08 17:41:23 +02:00
SubFloorHideComponent.cs SubscribeEvent() has been split into SubscribeNetworkEvent() and SubscribeLocalEvent() methods on EntitySystem. 2020-02-19 17:08:59 -08:00
WindowComponent.cs Added enum types (#2701) 2020-12-04 11:57:33 +01:00
WindowVisualizer.cs DummyIcon test (#2515) 2020-11-14 00:27:13 +11:00