Delta-v/Content.Shared/Inventory
Pieter-Jan Briers b2294a8cdc
Displacement map prototype (#26709)
Requires https://github.com/space-wizards/RobustToolbox/pull/5023

This uses the new engine features (above) to add a displacement map shader. This allows deforming a sprite based on another sprite.

Primary use case is automatically adapting human clothing sprites to different species, something we want to make species like Vox a reality.

A basic example of wiring this up with Vox has been added. The system is however incredibly simple and **will** need more work by a content developer to select and toggle displacement maps when appropriate. I am leaving that to somebody else. For example right now the displacement map is applied even if a species already has custom-fit sprites for a piece of clothing, such as the grey jumpsuit for Vox.

Basic Aseprite plugins to help with authoring displacement maps have also been made.

(cherry picked from commit 2f7d0dedbded99a8f3f538c887c3c17aaa667501)
2024-05-03 00:28:42 +02:00
..
Events Add clothing equipped/unequipped events (#27155) 2024-04-21 23:45:55 +02:00
VirtualItem Virtual items cleanup (#23912) 2024-01-26 22:49:14 +01:00
InventoryComponent.cs Displacement map prototype (#26709) 2024-05-03 00:28:42 +02:00
InventorySystem.Equip.cs Simplify DoAfterArgs behavior for movement and distance checks (#25226) 2024-03-24 00:03:28 +01:00
InventorySystem.Helpers.cs Refactor antag rule code (#23445) 2024-03-07 01:06:59 +01:00
InventorySystem.Relay.cs Refactor status icons take 2, cyborgs don't see criminal status (#26207) 2024-04-21 22:11:15 +02:00
InventorySystem.Slots.cs Move storage binds and slot click handling to shared (#27135) 2024-04-21 23:31:37 +02:00
InventorySystem.cs Reflection refactor (#19253) 2023-08-25 12:48:27 +10:00
InventoryTemplatePrototype.cs make filled inventory slots blank (#27150) 2024-04-21 23:21:54 +02:00
SlotFlags.cs Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00