Parts - AmyJeanes/TARDIS GitHub Wiki

The parts system was designed to handle all the complicated behind-the-scenes mess of entities and the special code needed for example to hide it in the sky. Each part has it's own Lua file in lua/entities/gmod_tardis_parts/parts which contain a PART table which is actually an ENT table with my own modifications. Several easy options are available such as PART.Collision and PART.AutoSetup which will run different things to make the developer's life easier and the code cleaner. More advanced developers can jump straight in and just use the PART table like an ENT table and utilise the full power of entities.

Note: It is recommended to bundle addon parts into fewer files to alleviate global Lua file limits, especially in multiplayer, by logically grouping or merging related parts, reducing count and potential issues caused by numerous installed addons.