缺氧
292 个评价
Piped Everything
6
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
317.862 KB
2023 年 9 月 9 日 下午 3:45
7 月 10 日 下午 12:58
28 项改动说明 ( 查看 )

订阅以下载
Piped Everything

描述
Adds liquid, gas, and solid pipes to buildings. Settings can be configured. Can work for modded buildings, but requires editing the settings.

Default settings include all ports from 'Piped Output' and more. If a pipe is no connected, it will work as normal. If a pipe is connected but blocked, it will store materials internally until 'StorageCapacity' is exceeded. Then it will disable the building.

### Settings here
Windows: %userprofile%\documents\Klei\OxygenNotIncluded\mods\PipedEverything.json \
Mac: ~Library/Application Support/unity.Klei.Oxygen Not Included/mods/PipedEverything.json \
Ubuntu: ~/.config/unity3d/Klei/Oxygen Not Included/mods/PipedEverything.json

### Format
* Id: string | Building ID or exact localized string (including spaces)
* Input: bool | If true act as input, otherwise as output
* OffsetX: int | Port's X position relative to origin cell
* OffsetY: int | Port's Y position relative to origin cell
* Filter: string[] | Collection of SimHashes that can pass through the port (tags NOT allowed)
* Color: Color32 | Port's color scheme like "Color":{"r": 128,"g": 128,"b": 128,"a": 255}, default based on SimHashes
* StorageIndex: int | Which storage to use, default 0
* StorageCapacity: int | How much of each element can be stored, default 100kg (except gas with 2kg)
* OriginalPort: enum | Set X and Y position of a basic port (e.g. water input of electrolyzer)

### Source
Github[github.com]
Thanks to Nightinggale for the ground work of this project. Link[github.com]

### Notes
* Filter accepts the string 'Solid', 'Liquid', and 'Gas' for ports; this will process any element of that type
* OriginalPort makes the config apply to an original port. Usually set it to 'Utility'. Set to 'Extra1' to 'Extra4' for extra ports (e.g. filters/warp). You cannot change its color.
热门讨论 查看全部(6)
10
2024 年 12 月 1 日 上午 2:09
SaveData broken with exception
我琴女秒了个兵
8
2024 年 10 月 30 日 下午 12:58
Oil well not pooping out oil
Sif
1
2024 年 11 月 30 日 上午 2:52
Refining metal tools will indicate a lack of coolant,The problem of cleaning robot rail transportation export
神殇倾天
382 条留言
MiserableGamer 10 月 10 日 上午 1:08 
The automation system where you can use logic to turn buildings on or off?
Fumihiko  [作者] 10 月 9 日 上午 11:58 
What are automation ports?
MiserableGamer 10 月 9 日 上午 1:17 
Could this be expanded to include the addition of automation ports? Or is that already included?
Deadly_Shadow 10 月 3 日 上午 7:55 
I assume a fallback will work and would be simpler (Have no clue what warpStorage and _solidMaxMass values actually are in this case...):
public static float SolidMaxMass {
get {
if (_solidMaxMass == float.NaN) {
var warpStorage = Assets.TryGetPrefab(WarpConduitSenderConfig.ID).GetComponent<WarpConduitSender>().solidStorage;
_solidMaxMass = warpStorage.capacityKg / 5f;
+ if ( float.IsNaN(_solidMaxMass) || float.IsInfinity(_solidMaxMass) || _solidMaxMass <= 0 ) _solidMaxMass = 20f;
}
return _solidMaxMass;
Fumihiko  [作者] 10 月 3 日 上午 1:05 
I can create a new option for solid output mass. Would that solve your issue?
Deadly_Shadow 10 月 2 日 下午 5:30 
Indeed had an old version in the file system.
dll was v1.0.26.1. Mod updater is installed bur did nothing before forcing an update.
The mod menu displayed v1.0.28.0.
Now it is outputting again. But another issue arose:
It is not respecting the 20kg limit for conveyor rails but puts out the complete storage content in one chunk.
Maybe because you now check the "FumiKMod.SolidMaxMass" and I don't have customize buildings installed so _solidMaxMass is not set?
Also I cannot get the apothecary output to work (my own || Kaedys) I'll test there some more and write it up.
Fumihiko  [作者] 10 月 2 日 上午 8:53 
I don't see anything wrong with that entry. Are you sure the mod is up to date? Make sure to use an updater.
Deadly_Shadow 10 月 1 日 下午 6:51 
Was absent from the game for some months.
Now the patched Solid Outputs do no longer output Gear Balm to the conveyor rails.
Example config which previously worked for storage:
{
"Id": "StorageLocker", "Input": false,
"OffsetX": 0, "OffsetY": 0,
"Filter": [
"Solid"
],
"StorageIndex": 0,
"StorageCapacity": "Infinity"
},
The Conveyor Loader Building still works so it seems to only be the added outputs.
Maybe this is tied to the update from The Prehistoric Planet Pack DLC Launch:
Solid conduits now transfer the whole pickupable if the mass per unit is greater than 20kgs
Doe it work for others? Can I somehow make this work again?
Fumihiko  [作者] 9 月 3 日 下午 1:30 
Morphing shouldn't make a difference. The old geyser is destroyed and replaced with a new one.
Cracking idk, possible that is troublesome.
Lenny 9 月 3 日 上午 9:16 
I added a pipe to another geyser, it does seem to output at it's reported rate. The difference between them is that the brine one is morphed from a cool steam that originally spawned and it has been cracked to get the 8.8 kg.
Here are some screenshots Brine , Oil [?url]