Update: Added config option to require item for each upgrade, configurable in config.
Example Config
{name = "Engine", itemRequired = true, itemName = 'engine_upgrade', removeItem = true},
{name = "Brakes", itemRequired = true, itemName = 'brakes_upgrade', removeItem = true},