More actions
Created page with "<!-- Begin auto-generated segment: Summary --> Handles items which can be picked up to hands and placed in pockets, as well as storage containers like backpacks. '''View code''': [https://github.com/teamstarcup/starcup/blob/bbcdbae05fb6e13366976a537c9035378e6112f7/Content.Shared/Item/ItemComponent.cs#L17 Content.Shared/Item/ItemComponent.cs] <!-- End auto-generated segment --> == Fields == <!-- Begin auto-generated segment: Fields --> {| class="wikitable" |+ ItemCompo..." |
add categories |
||
| Line 29: | Line 29: | ||
| Vector2i || StoredOffset || | | Vector2i || StoredOffset || | ||
|} | |} | ||
<!-- End auto-generated segment --> | |||
<!-- Begin auto-generated segment: Categories --> | |||
[[Category:Components]] | |||
<!-- End auto-generated segment --> | <!-- End auto-generated segment --> | ||
Latest revision as of 01:24, 10 May 2025
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 |