It turns out I'm a dumdum, and forgot to check that other mods (in this case Nex) also edit Hybrasil.java, and I need to go back and have a bit of a rethink. Thank you though!
Ah, makes sense!
Somewhat related questions. The first is a general question, and the last two are related modding questions:
Is it possible to change the skin of a ship in-game to another existing skin? For example, some ships have a variant with a separate paintjob. Is there a way to apply that? Autofit doesn't seem to do so.
There isn't, as far as the game is concerned, these are (for most purposes) treated as separate hull types. They can be flagged to share goal autofit variants, though, and a few related things.
Would it be possible to implement custom paintjobs for ships in this way? Let's say I want to take a few ships from different factions, make a new paintjob for these ships, and add them to the game. Is there a way to apply the paintjob to a ship, say by changing the variant of the ship, without applying it to all ships of the same type in the game?
If not, would I have to do something like Tiandong Refitting to achieve these results?
Your best bet, I think, is how the vanilla game does it - adding .skin files for these paintjobs, which is basically shorthand for creating another hull based on an existing one. See the files in data/hulls/skins/ for some examples.
So im editing the ship_data cvs file.
I know adding the tag rare_bp will make that specific ship drop as a rare blueprint drop.
But the question comes about the rarity line.
How does this work? I know it is from 0 to 1.
But i also notice that some of the vanilla rare_bp tagged blueprints don't have any number in rarity.
is the 0 to 1 number to make them even rarer drops also how does it work? Is 0 super rare or 1 super rare?
Yeah, "rarity" is a bad name for it, it should be "frequency", since 0 is more rare (well, nonexistent), and 1 is default. Whenever the game rolls drops, the rarity column (where present) will be a multiplier for the chance of getting that specific ship/weapon/etc.