Víctor Aguilera Puerto
39f346ed42
Fix stripping menu hands' items not showing correctly.
2020-08-23 15:03:01 +02:00
DrSmugleaf
b9196d0a10
Add a test that puts all components on an entity and checks for no exceptions ( #1815 )
...
* Add test that puts all components on an entity and checks for no exceptions
Also fix all the exceptions that happened because of this
* Add comments to the test
* Fix nullable errors
* Fix more nullable errors
* More nullable error fixes
* Unignore basic actor component
* Fix more nullable errors
* NULLABLE ERROR
* Add string interpolation
* Merge if checks
* Remove redundant pragma warning disable 649
* Address reviews
* Remove null wrappers around TryGetComponent
* Merge conflict fixes
* APC battery component error fix
* Fix power test
* Fix atmos mapgrid usages
2020-08-22 22:29:20 +02:00
Víctor Aguilera Puerto
d58d84096b
Adds mobCheck to a bunch of inventory/hands methods ( #1704 )
...
* Adds mobCheck to a bunch of inventory/hands methods, fix not being able to strip dead bodies
* Address review
2020-08-16 16:30:52 +02:00
Víctor Aguilera Puerto
c3df108b27
Stripping ( #1668 )
...
* Start work on stripping.
* more strippable work
* Stripping works
* Nullable
* MORE NULLABLE
* nullable moment
* life is pain
* Interaction check.
* Update Content.Client/GameObjects/Components/HUD/Inventory/StrippableBoundUserInterface.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Client/GameObjects/Components/HUD/Inventory/StrippableBoundUserInterface.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/HandsComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/HandsComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/HandsComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/HandsComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Shared/GameObjects/Components/GUI/SharedStrippableComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Rename InventoryComponent and HandsComponent's OnChanged event to OnItemChanged
* Apply suggestions from code review
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Use static EquipmentSlotDefines
* Do not expose ContainerSlot on Inventory or Hands.
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2020-08-15 20:33:42 +02:00