So, I tried reproducing this, and the only issue that I could see is that honking the horn does not open the
smaller, chain-link doors in traders. Double doors all worked fine. (I did not try with player-built doors though.)
I found the cause of that issue. It is really an issue with the Horn Opens Doors mod, but it could also be fixed in Bad Medicine.
The issue is with this XPath in
ZZZ_HornsOpenDoors/Config/blocks.xml:
XML:
<append xpath="/blocks/block/property[@name='Tags'][@value='door']/@value">,openbyhorn</append>
That line will append the "openbyhorn" tag, but
only if the existing "Tags" property value is "door"
and nothing else. If there are any other tags, that XPath fails.
But because doors are made from hard materials, the Bad Medicine mod adds the "hard" tag to them, so you will get hurt if you punch them.
There are two ways to solve this by modifying the Horns Open Doors mod, and one way to solve it in the Bad Medicine mod.
The first way to solve this in the Horn Opens Doors mod, and the simplest, is to use
contains instead of checking for equality:
XML:
<append xpath="/blocks/block/property[@name='Tags'][contains(@value, 'door')]/@value">,openbyhorn</append>
The second way to solve this in the Horn Opens Doors mod, and the one that is probably "more correct," is to also use the
csv operation rather than
append:
XML:
<csv xpath="/blocks/block/property[@name='Tags'][contains(@value, 'door')]/@value" delim="," op="add">openbyhorn</append>
The way to solve this in the Bad Medicine mod, is to add this to the
csv XPath in
blocks.xml which adds the "hard" tag to
existing tags:
XML:
and not(descendant::property[@name='Tags' and @value='door'])
(That's the first big XPath statement in the file, I tested by adding it after the 'verticalBlinds' line.)
But if you do this, you will no longer get hurt by punching doors. This might be OK, since you may not want that, or it could be an in-game explanation that "punching" the door really means "knocking" on it, so you don't get hurt.
(It would be nice if I could conditionally check if the Horn Opens Doors mod is installed, but I can't, because it's loaded after all other mods.)
That will solve the conflicts between
this mod and Horn Opens Doors. But there might be other mods out there that also add a tag to doors, and those mods will still be incompatible.
So, it would be better if Area8888 made the changes in Horn Opens Doors. I don't know how open they are to that suggestion. It looks like they don't have an account here, so I'm contacting them on Nexus Mods to see if they'll release a patch. If they don't reply soon, I'll update Bad Medicine.
In the meantime, you can add one of those fixes to your own local copy of the mods. (If it's on a server, the changes should be pushed to the client, but you'll have to restart the server first.)