雨世界

雨世界

61 个评价
房间连接扩展 1.0.2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.340 MB
4 月 5 日 上午 10:41
4 月 10 日 上午 4:35
3 项改动说明 ( 查看 )

订阅以下载
房间连接扩展 1.0.2

描述
房间连接扩展

为房间链接添加了指定出口的功能,可以在两个房间内链接多于一个的管道,或者单房间自连接。

(在原版中,两个房间之间最多只能有一个连接,多于一个会出现出口不正确之类的问题,这个mod修复了这个问题。)

使用方式
RoomName : TargetRoom<Target Exit Index> , ...
使用例子详见本mod自带的 CTET (Connection Extension Sample Region) 区域

对于开发者-如何兼容

添加 ExtendHelperImport (可在https://github.com/pkuyo/Connection-Extension/blob/master/PowerfulConnections/Helpers/ExtensionImport.cs找到)

并在你的mod的OnEnable函数调用 typeof(ExtendHelperImport).ModInterop();
(需 using MonoMod.ModInterop; 引用MonoMod.Utils.dll)

替换
AbstractRoom.ExitIndex
AbstractRoom.ExitIndexWithEntrance


注意: 以上兼容方式不需要添加本mod为依赖项。
16 条留言
kasper.walczuk 8 月 24 日 下午 1:14 
Hi this mod had issues with 5p for me which meant i could get to main systems. The pipe showed on the map but didn't exist in game. Has this been fixed yet?
赞美诗文-三十六转 4 月 11 日 上午 7:21 
你做的好啊:rwslugcat::rwslugcat:
Tricrystal  [作者] 4 月 10 日 下午 5:44 
@c a c t u s m i n e .

This fix addresses an issue where exits could not be correctly matched under specific conditions.

Original Issue Example:
CTET_A01 : CTET_A02, CTET_A02
CTET_A02 : CTET_A01, CTET_A01

Regardless of the chosen entrance, the exit would always lead to the other room's entrance 0.

The mod resolves this by implementing explicit entrance-to-exit mapping.

Fixed Example:
CTET_A01 : CTET_A02<0>, CTET_A02<1>
CTET_A02 : CTET_A01<0>, CTET_A01<1>

Now:
- Entering through entrance 0 will exit through the other room's entrance 0
- Entering through entrance 1 will exit through the other room's entrance 1
c a c t u s m i n e . 4 月 9 日 下午 7:27 
Does this mod happen to allow multiple exits to shelters, or did I read what it does wrong?
七芒Hepta 4 月 6 日 下午 10:28 
感觉有并入官方内容的可能耶
saturnsei 4 月 6 日 上午 10:58 
i mean i'm never gonna use this but wtf
saturnsei 4 月 6 日 上午 10:57 
what the FUCK? how??
Elsa Fogen 4 月 6 日 上午 4:50 
at first i was like, why would anyone need this anyway, but then remembered a single place in my region where i had to make 2 tiny rooms instead of one small to make pass-through train x)
浮猫 4 月 6 日 上午 2:05 
好耶是多管道系统!
vertices 4 月 6 日 上午 1:48 
k