Adding custom item types - Part 1
Creating a custom item type will let the addon know what to do with a specific entity, for example what data to save and set on spawn, as well as other features.
To start off you will need to create a lua file in lua/bricks_server/itemtypes, I suggest naming the file as the item class but it doesn't matter.
For the example the file will be called custom_printer.lua
Now that the file has been created you will need to write some code inside, start by copying the following: