modular_nova/modules/condos/condo_preview.dm 
| CONDO_PREVIEW_MAX_PX | Longest side (px) a preview picture may have; bigger rooms get scaled down to fit the UI. |
|---|---|
| CONDO_PREVIEW_CACHE_DIR | Where rendered previews are cached between rounds. The map's hash is baked into the filename, so a changed .dmm just misses the cache and re-renders. |
| /datum/asset/simple/condo_previews | Holds the preview picture of each interior. Filled in at round start by prerender_previews(). |
| /proc/condo_preview_asset_name | Asset name for an interior from its map path (".../alleyway.dmm" -> "condo_alleyway.png"). |
| /proc/condo_skip_turf | TRUE for turfs we don't want in the picture: the empty space around the room and the yellow cordon tiles the maps use as a boundary. |
| /proc/condo_flat_render | Flattens a loaded room to a clean top-down icon: floors then objects, no lighting or parallax planes (those are what turn the picture into garbage). |
Define Details
CONDO_PREVIEW_CACHE_DIR 
Where rendered previews are cached between rounds. The map's hash is baked into the filename, so a changed .dmm just misses the cache and re-renders.
CONDO_PREVIEW_MAX_PX 
Longest side (px) a preview picture may have; bigger rooms get scaled down to fit the UI.