:: restaurant_menu[menu]
<<warn 'restaurant_menu is deprecated. Use consumable_menu instead.'>>
<<set _options = $location_var[$here][0]>>

<<if typeof _options == 'string'>><<set _options = setup.foodMenus[_options]>><</if>>

<<for _option range _options>>
	<<set _beverage = setup.getConsumable(_option.type)>>

	<<set _optionDisabled = false>>
	<div class="cookingOption">
		<h3>_option.name</h3>
		<<image _beverage.image>>

		<<set _price = _option.price>>

		<<if _price > $finances.cash>>
			<p class="insufficientAmount">Price (Cash): <<money _price>></p>
			<<set _optionDisabled = true>>
		<<else>>
			<p>Price (Cash): <<money _price>></p>
		<</if>>

		<<if !_optionDisabled>>
			<<capture _option>>
				<<link 'Consume'>>
					<<set $finances.cash -= _option.price>>
					<<gt 'beverage' _option.type>>	
				<</link>>
			<</capture>>
		<</if>>
	</div>
<</for>>