Code optimization

Swap switch statement to call, thanks rockeumel
Vehicle publish rework

Added min/max vehicle damage values in config