边缘世界 RimWorld

边缘世界 RimWorld

Allow Adjacent Settlements
Blindayar 2024 年 1 月 2 日 下午 11:37
Adjacent Settlements on Impassable Mountains
Hello. I am using [KV] Impassable Map Maker mod (allows settling on an impassable mountain) and I wish I could settle on adjacent impassable mountains, only I cannot. Having no knowledge of coding whatsoever I've managed to locate a portion of code that specifically prevents you from settling on an impassable mountain if it's adjacent.

for (int i = 0; i < list.Count; i++)
{
if (!flag && list.operand != null)
{
if (list.operand.ToString() == "CannotLandImpassableMountains")
{
flag = true;
}
}
else if (list.opcode == OpCodes.Brfalse_S)
{
num = i;
break;
}
}

Unfortunately, one cannot simple delete a line of code from a dll, or making any changes at all, especially if you see something like this for the first time in your life. My question is - is it by any chance possible to create a patch for the mod?
I know I could just ignore this, as there are litterally infinite tiles ready for settling, but it bugs me, so I have to ask.
< >
正在显示第 1 - 1 条,共 1 条留言
whatamidoing  [开发者] 2024 年 4 月 3 日 上午 6:33 
I'm not automatically subscribed to the discussions on my own mod, how about that. Sorry for my lateness.
I'll look into it at some point, probably when I get around to updating things to 1.5. In other words, whenever I finish the current event in Kancolle...
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50