Yes I tried that, but it doesn't work because it uses the engine style data from engine index 0 for all the engines. Like, I can't mix engines on the campaign map.
All the rest just copy whatever the first one does. This is also an issue that's commonly encountered by people who want to mix engine colors.
Ah - in this case, you could reorder the engines in the .ship file, no?
what is affecting the size of that circle?
What did I do that is making the modded ship so big?
edit: I think I figured it out...
It's the ship class.
If a ship is large but is described as Frigate, it'll get shrunk as an icon, but the ship will have to remain large. So the circle gets big to inform the player how large the ship is? Something like that?
Yeah, something like that - IIRC the scaling depends on the collision radius (or perhaps the size of the sprite, I don't remember) but *also* with an additional scaling factor based on the ship size.
Sorry for the late response. I mean the planet list - since it lists ALL stars, it exposes my secret star.
Ahh, thank you, that makes sense. The only way right now is to make it a nebula center. Every other type of star system whose getStar() returns non-null gets added.
Added the following tag for the future:
star_hidden_in_planet_list
in dev mode there is alt + n and ctrl + n, and normal n
As in to summon various kinds of test fleets, I'm having a ton of fun pitching those against other NPCs
Is there a specific one for
SPOILER
There isn't, sorry! Those shortcuts are set to spawn whatever is required at the time so what it ends up spawning in devMode at release time is kind of random.
I'd like to make my commodity right mouse button clickable (like when you click on blueprints), what should I look for in the code to do that? (and is it possible after the clicking on it, to tell how many items were in the clicked stack - in case of having multiple stacks of the same commodity)? Cheers
[edit]
I tried to create `class CommodityPlugin extends BaseSpecialItemPlugin` and use it in `plugin` column of `commodities.csv` file, but it doesn't work. I tried changing it to special_items.csv and it works, but I was hoping to have a commodity that I can right click, open dialog, choose some options and convert it into another commodity, but I start to think it is not possible with commodity items and need to find another way of doing conversion?
I *think* that it has to be a special item, yeah, not a regular commodity.
I found this nice tutorial on commodities https://fractalsoftworks.com/forum/index.php?topic=29612.0 which explains how to change icon but I was wondering how can you change it with quantity using a single (the same) sprite, like vanilla is doing when we stack more of the same commodity?
Ahh - that is super hardcoded for crew and weapons, if I'm correctly understanding what you're asking about.