Handles items which can be picked up to hands and placed in pockets, as well as storage containers like backpacks.
View code: Content.Shared/Item/ItemComponent.cs
Fields
Type | Name | Default value |
---|---|---|
ProtoId<ItemSizePrototype> | Size | "Small" |
Dictionary<HandLocation, List<PrototypeLayerData>> | InhandVisuals | new(); |
string? | HeldPrefix | |
string? | RsiPath | |
List<Box2i>? | Shape | |
SpriteSpecifier? | StoredSprite | |
float | StoredRotation | 0 |
Vector2i | StoredOffset |