"override:" true - has this changed in how it works?

Hi,

Been a few months since I’ve been able to play.

I get an error message when using “override:” true on a couple of items that worked before in a custom mod.

e.g

{
"id": "hdhatch_opaque",
"name": { "str": "opaque heavy duty hatch" },
"override": true,
....
....
}

message → “failed to visit member override in…”

I read something about having stricter json. Is this something to do with it?

I did check Github, here and .md docs but didn’t see a change.

Stay safe.

This error means that “override” does nothing and is never loaded. It was probably doing nothing before when your mod was working it’s just that the game was not reporting the errors about unvisited members. Just remove that entry and you should be good.

If you used “override”: true to signify that this should override the vanilla item with the same id you should probably replace it with "copy_from": "hdhatch_opaque"

Ah I see.

That comes from my misunderstanding what override did.

I thought with that entry it meant the vanilla item values were all ignored for whatever I placed in the custom entry. With using “copy_from” allowing you to change select parts.

I’ll do some testing.

Thanks.