缺氧
31 个评价
Show Liquid on Airflow Tiles
   
奖励
收藏
已收藏
取消收藏
Mods: Tweaks
Compatibility: Base Game, Spaced Out!
文件大小
发表于
更新日期
1.072 MB
2024 年 2 月 17 日 下午 9:57
2024 年 3 月 23 日 上午 12:48
4 项改动说明 ( 查看 )

订阅以下载
Show Liquid on Airflow Tiles

在 llunak 的 1 个合集中
llunak's Oxygen Not Included mods
12 件物品
描述
This mod provides a workaround for broken rendering of liquids on top of airflow tiles and solar panels.

The game's rendering of liquids on top of airflow tiles and solar panels is broken. Larger amounts strangely float in the air, smaller amounts are not rendered at all. This may result in for example dupes repeatedly getting the soggy feet debuff without a visible cause.

This mod does not fix the problem itself (it most likely cannot be fixed by a mod), but it provides a workaround. If liquid is detected around an airflow tile, it is temporarily switched to act as a solid tile, which fixes the rendering (and gases cannot realistically flow through the tile anyway if covered by liquid). As a side effect it may also fix various exploits related to airflow tiles.

For solar panels, the base tiles are permanently made solid. This is optional (enabled by default), as heavy-watt wires cannot be used in such case. Existing wires appear to continue to function, so if using normal wires is not sufficient, the option can be temporarily disabled, wires built and then the option can be re-enabled.

For changelog see the 'Change Notes' tab.

GitHub: https://github.com/llunak/oni-showliquidonairflowtiles
18 条留言
taz4hvn 2024 年 9 月 1 日 上午 8:28 
This mod does modify game's mechanics. Airflow Tiles are no longer able to stand infinite liquid pressure. A game breaker for me.
llunak  [作者] 2024 年 3 月 2 日 上午 11:45 
Airflow tiles are internally treated as gas tiles, not solid tiles, and liquids do not snap to gases,and are not expected to lie on top of solid tiles. https://forums.kleientertainment.com/klei-bug-tracker/oni/liquid-not-rendered-properly-on-top-of-airflow-tiles-or-solar-panels-how-to-fix-r41443/ has some discussion on the matter (apparently I'm wrong on originally placing the problem in the C++ sim code, but given that the workaround in this mod helps, I assume that I'm correct on the cause of the problem itself).

As for why it's been broken for so long, I have no idea.
Stretchytall 2024 年 3 月 2 日 上午 11:27 
Love this mod!

Why is the liquid broken in vanilla?
llunak  [作者] 2024 年 2 月 28 日 上午 12:49 
@Shrglwyddes: Yeah, the description mentions it ('may also fix various exploits').
Shrglwyddes 2024 年 2 月 28 日 上午 12:10 
Yeah. I was testing the mod out. The mod breaks hydra spoms I found out.
llunak  [作者] 2024 年 2 月 28 日 上午 12:04 
@Shrglwyddes: You have sandbox enabled (not activated, enabled is enough). The game code triggers "dig" of the tile in that case, for whatever strange reason.
Shrglwyddes 2024 年 2 月 27 日 下午 4:44 
I’m pretty sure this change to airflow tiles allows flaking to occur. I keep shaving bits of metal off of my liquid storage tanks made of airflow tiles.
3GuB 2024 年 2 月 21 日 上午 11:42 
@llunak
add me so i could show u
llunak  [作者] 2024 年 2 月 20 日 下午 10:26 
@Aze: Oh, you mean that I should build outside of mods/Dev/ and have an install step? Yes, that could be an option, I suppose if I one day feel like that'd be less work than running the clean script I can try to copy&paste e.g. from Peter Han's repo and try to get it to work. Not really feeling like that right now, this annoying Windows .csproj stuff has already been enough hassle to get to work on Linux as it is.
Aze 2024 年 2 月 20 日 下午 1:55 
@llunak: No, you still have to use the uploader. But, if your solution is properly configured, the build dependencies should never end up in your uploaded folder. Having s separate clean step you have to remember to execute should be unnecessary.