RimWorld-ReplaceStuff icon indicating copy to clipboard operation
RimWorld-ReplaceStuff copied to clipboard

Automatically selected bridge does not account for completed research

Open thailyn opened this issue 1 year ago • 2 comments

Say a mod adds a bridge terrain def that requires a research project to build it. When one goes to build a structure where a bridge would be needed, this mod's FindBridgeFor method will not account for whether that research project has actually been completed.

As a result, if a colony has the resources for that type of bridge, but does not have the research completed, that bridge could still be picked to be placed under the structure, and could then be built, despite not having the research.

thailyn avatar Dec 12 '23 03:12 thailyn

Hmm hm can I get a link to a mod that has this problem so I can look at it

Though gee, maybe I overlooked it and already tested with mods with this problem and didn’t think about it

alextd avatar Dec 13 '23 03:12 alextd

Sure; El's Glitterpaths adds a bunch of floors, at least one of which this mod is treating as a bridge. In my colony, I'm seeing biogel paths put under wall blueprints, as I have plasteel and insect jelly on hand, but I have not yet research the tech for it.

thailyn avatar Dec 14 '23 01:12 thailyn