Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ItemComponent

From starcup wiki

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

ItemComponent
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
Contents