I believe it depends on which level resort you like staying at.
If a value resort, then I think
free dining is the best deal because you have to pay rack rate for the resort.
If a deluxe resort, then I'd take the 40%. I have not seen AP discounts better than 40% in a very long time, if ever.