Delta-v/Content.Server/GameObjects/Components/Body
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
..
Behavior Fix a criminal if in breathing code 2020-12-06 13:27:11 +01:00
Circulatory Change all of body system to use entities and components (#2074) 2020-10-10 15:25:13 +02:00
Part Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
Respiratory Gas tanks and masks (#2409) 2020-10-27 20:53:44 +01:00
BodyComponent.cs Damage rework (#2525) 2020-12-07 14:52:55 +01:00
BodyManagerHealthChangeParams.cs Damage rework (#2525) 2020-12-07 14:52:55 +01:00
BodyScannerComponent.cs Update components to use EnsureWarn (#2676) 2020-12-04 13:26:54 +01:00
MechanismComponent.cs Add arguments to part and mechanism event methods (#2293) 2020-10-19 15:23:59 +02:00
SurgeryToolComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00