// Management · RimWorld Mod

Apparel Container Core

Apparel Container Core mod preview for RimWorld

Apparel Container Core A framework library based on ThingComp that allows apparel to host independent storage containers.

Apparel Container Core

A framework library based on ThingComp that allows apparel to host independent storage containers. Core Features: Apparel Containers: Apparel equipped with the mod's ThingComp now have internal storage space. Inventory Management UI: A UI panel for managing the internal inventory of the apparel. Gizmo Proxying: Utility equipment (such as Low-shield pack, Psychic shock lance, etc.) can be stored in pouches and used directly from the pawn's command bar as if they were equipped normally. Whitelist & Blacklist: Whitelists and blacklists for storable items can be adjusted in the mod settings. Compatibility: Theoretically compatible with most mod items, though Gizmo proxying may not function for certain equipment with unique or non-standard logic.

Note

This is a core library and does not include standalone items. It is intended to be used as a dependency for other equipment mods.

How to use

1. Add this mod as a dependency in your mod's "About.xml" and ensure the correct Load Order. 2. Define your "ThingDef" XML: Ensure that the "thingClass" of your Def is "Apparel" or one of its subclasses. Apparel 3. Set the "tickerType" tag of your "ThingDef" to Normal to ensure that the Ability of the equipment inside the container can cool down properly. Normal 4. Add the Component: Reference the "CompProperties_GenericPackForApparel" added by this mod within the comps node of your "ThingDef". Then, specify the maximum container capacity in the "storageCapacity" field.
  • 3
  • Examples

    Tactical Rigs and Pouches Tactical Rigs and Pouches

    Source code

    All source code is available on GitHub. Feel free to use, copy, or reference it for your own projects. Source code