RimWorld

RimWorld

Allow Adjacent Settlements
Blindayar 2 Jan, 2024 @ 11:37pm
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.
< >
Showing 1-1 of 1 comments
whatamidoing  [developer] 3 Apr, 2024 @ 6:33am 
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...
< >
Showing 1-1 of 1 comments
Per page: 1530 50