
Name                 "Non-Lockdown Cell Feeding (2018 and Sunset)"  
Description          "Rather than serving meals in a canteen, some real life prisons serve prisoners meals in their cells, then allow prisoners to go about their daily activities. Vanilla Prison Architect does not have this option; you can feed prisoners in their cells by giving them permanent lockdown, but this has to be done manually per prisoner, and prisoners on lockdown will not go about a regime. Rocket's Let's Get Takeout and Puman's Dinner is Served mods allowed prisoners to be fed in their cells independent of lockdown. However, they were made in 2014 during Alpha development.\r\n\r\nThis mod is a fork of Dinner is Served for full release builds. Since Dinner is Served isn't fully compatible with even the 2018 Introversion build, I've tried to make this fork compatible with both the 2018 build and the Sunset build.\r\n\r\nThis mod is in beta. So far it appears stable, but large elaborate canteen-less prisons are designed at your own risk.\r\n\r\nTo use:\r\n1. Research Remote Access.\r\n2. From the Utilities > Wiring menu, place a Cell Meal Marker inside a cell, adjacent to the door of the cell. Correct positioning is required. Large doors are not supported. Very large cells (>25 tile dimensions) and cells with multiple doors are not supported.\r\n3. From the Utilities > Wiring menu, place a Cell Meal Dispenser. For flavour this should be placed inside a Kitchen or Canteen. For efficiency this should be placed close to cells.\r\n4. Connect a Door Timer to the Cell Meal Marker and Cell Meal Dispenser, and set the times that you want meals to be delivered to Open. (Shift-click to make multiple connections without letting go of the connection view. You can set any time that you want, not just Eat regimes.)\r\n5. Click on a Cell Meal Marker to set how many meals should be served at the delivery time. Default is 1 and max is 8.\r\n6. When the Door Timer is Open, Cooks will make stock at the dispensers (30 per dispenser). Guards will pick up stock and serve it to cells without opening the cell door. Guards have to pick up more stock after every cell.\r\n\r\nStock usage is based on the number of Cell Meal Markers, not the number of individual cell meals. Individual cell meals will cost you $1 each, as that is the estimated cost of a Medium Quantity None/Low Variety meal. N.B. There will be no cost popup at the top of the screen. If any cell meals have not been eaten when the next delivery is due, food waste will be produced outside the cell for workmen to dump.\r\n\r\nKnown issues other than those already listed:\r\n- If you do away with the Canteen entirely, cells will show a warning that there is no Canteen assigned. There does not seem to be any way to remove the warning, other than to have a dummy Canteen but no Eat regime. The cells are still functional otherwise. I have not tested possible changes to Death Row intake and other edge cases.\r\n- The mod will regularly spawn a transparent helper 'Cell Meal Delivery' object directly outside the cell door. If you have a pressure plate there, it will be pressed, so if you need such pressure plates, you will need to get creative (e.g. have an outer and inner door).\r\n- Stock cannot be dumped, but is sellable for $0. These are intentional workarounds for job API issues.\r\n- Sunset players will also need Ozone's Alert Icons Partial Fix: https://steamcommunity.com/sharedfiles/filedetails/?id=2997492081 \r\n\r\nChanges made from the original mod:\r\n- Now possible to set how many meals are served per delivery to support small Dormitories. For large Dormitories, it's easier to zone a Canteen just outside the Dormitory.\r\n- Cell Meal Stock does not stack and is picked up from dispensers instead of from Deliveries. The major issue with using the original mod in 2018 or Sunset was that defining Guard as the Worker for the delivery job would consume the entire stack of cell meals. Other entity types are able to do the job without consuming the entire stack, but they will not hold on to the stack and will not do the nearest jobs first.\r\n- Wall detection updated to support all new walls in Sunset. It should also detect most modded walls, but I can't guarantee it. I had considered detecting the SecureDoor type instead of using wall detection, to support cells with multiple doors and potentially improve performance, but SecureDoor isn't available in the 2018 build and its hardcoded functions can't be backported. I might make a separate version to use SecureDoor.\r\n- Waste is now only produced when an uneaten meal is cleared, not when a meal is eaten.\r\n- Miscellaneous code optimisation and safeguards.\r\n- QOL sprite and sound changes.\r\n\r\nAI-assisted code.\r\n\r\nCredits:\r\nPuman: Original Dinner is Served! https://steamcommunity.com/sharedfiles/filedetails/?id=363264753\r\nOzoneraxi: sounds.txt API and sprite advice\r\n\r\nPlease report any bugs in the comments."  
IsTranslation        false  
Author               wackypanda  
FileID               F3668664690  
SteamAuthor          A76561198053312633  
