module Base
{
	repeat
checkprop: CustomBattery
	model VVA_Vehicles_[LABEL][Postfix]_battery
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Battery_[LABEL][Postfix],
else
		mesh = vehicles/[FILENAME]|Battery[Postfix],		
end
		shader = vva_fixetex,
		texture = WorldItems/CarBattery,
		static = TRUE,
		scale = [SCALE],
	}
end

	model VVA_Vehicles_[LABEL][Postfix]_internals
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Vehicles_[LABEL][Postfix]_Interior,		
else
		mesh = vehicles/[FILENAME]|Vehicles_Interior[Postfix],		
end
		shader = vva_fixetex,
		texture = Vehicles/[TEXTURE],
		static = TRUE,
		scale = [SCALE],
	}
	
	template vehicle VVA_[LABEL][Postfix]_Interior {
		template! = VVA_Interior,
		part Interior 
		{						
			model Default 
			{
				file = VVA_Vehicles_[LABEL][Postfix]_internals,
			}
		}
		part Battery 
		{
			model Default 
			{
checkprop: CustomBattery
				file = VVA_Vehicles_[LABEL][Postfix]_battery,
else
				file = VVA_Battery[BATTERYSUFF],
				offset = [BATTERYPOS],
end
			}
		}
checkprop: Includes
repeatprop: Includes
		template! = VVA_[Includes],
end 
end
	}
	endrepeat
}