Delta-v/Content.Server/GameObjects/Components/Mobs
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
..
Speech Reorganize commands into the Commands folder (#2679) 2020-12-03 13:40:47 +11:00
State Damage rework (#2525) 2020-12-07 14:52:55 +01:00
CameraRecoilComponent.cs Use automatic component registration. 2019-07-31 15:07:54 +02:00
ClumsyComponent.cs Make clown clumsy. (#1481) 2020-07-26 14:08:09 +02:00
CombatModeComponent.cs RaisePredictiveEvent works. 2020-03-25 17:53:50 +01:00
FootstepSoundComponent.cs Rider static analysis (#433) 2019-11-13 23:37:46 +01:00
HeatResistanceComponent.cs Typo, redundant string interpolation, namespaces and imports cleanup (#2068) 2020-09-13 14:23:52 +02:00
HumanoidAppearanceComponent.cs Fix mechanism events not being called properly, add test (#2279) 2020-10-17 12:26:39 +02:00
MindComponent.cs Damage rework (#2525) 2020-12-07 14:52:55 +01:00
ServerAlertsComponent.cs Reorganize commands into the Commands folder (#2679) 2020-12-03 13:40:47 +11:00
ServerOverlayEffectsComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
StunnableComponent.cs Alerts System and UI (#2529) 2020-11-10 15:22:19 +11:00
VisitingMindComponent.cs Make deleting a visited entity not cleaning it up in the mind. 2020-08-21 17:43:27 +02:00