Feel free to add more types (small / medium / large) following the same format
Size is only used in inventories that support a max weight
Untested, but in inventories that limit by slots you should be able to set this to slots instead
client/config.lua
This area of the guide will be improved over time. This resource has been developed using a single inventory but should be usable with all inventories with minor modifications.
Change contents to fit your inventory needs! This was developed using Chezza's Inventory but should work with any inventory without any issues.
-- Available datadata.id --storage unit unique identifier (from database)details.identifier --same as abovedetails.owner --playerowner identifierdetails.location --storage unit location (from shared/config.lua)details.type --storage unit type (from shared/config.lua)details.isrented --true / falsedetails.price --price that unit was either bought at / rented forConfig.Locations[details.location].label --gets label for storage facilityConfig.Locations[details.location].location --gets location for storage facilityConfig.UnitSettings[details.type].size --gets unit max weight / slotsConfig.UnitSettings[details.type].label --gets units specific label
Use Config.UnitSettings[details.type].size and set it to a slot limit in the config for inventories that use slots instead of weight
Change contents to fit your inventory needs! This was developed using Chezza's Inventory but should work with any inventory without any issues.
-- Available datadata.id --storage unit unique identifier (from database)details.identifier --same as abovedetails.owner --playerowner identifierdetails.location --storage unit location (from shared/config.lua)details.type --storage unit type (from shared/config.lua)details.isrented --true / falsedetails.price --price that unit was either bought at / rented forConfig.Locations[details.location].label --gets label for storage facilityConfig.Locations[details.location].location --gets location for storage facilityConfig.UnitSettings[details.type].size --gets unit max weight / slotsConfig.UnitSettings[details.type].label --gets units specific label
Use Config.UnitSettings[details.type].size and set it to a slot limit in the config for inventories that use slots instead of weight