Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Apparel Container Core

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. <thingClass>Apparel</thingClass> 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. <tickerType>Normal</tickerType> 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. <comps> <li Class="ACC_ApparelContainerCore.Comps.Props.CompProperties_GenericPackForApparel"> <storageCapacity>3</storageCapacity> </li> </comps> Examples [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3683485207] Tactical Rigs and Pouches [/url] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3686617586] Tactical Rigs and Pouches [Lite] [/url] Source code All source code is available on GitHub. Feel free to use, copy, or reference it for your own projects. [url=https%3A%2F%2Fgithub.com%2FAzetus%2FApparel-Container-Core]Source code[/url][github.com]