Is there a way to make a ship "braver" without changing its loadout? I'm not really sure how the backend deals with it, but I made a modular ship where the core is almost unarmed and has 1 fighter bay. It, however, has three huge modules with tons of close range weapons. However, instead of brawling up-close, it seems to prefer to act like a dedicated carrier and move far outside the range of its weapons or, even its short-ranged fighters (despite having the CARRIER, COMBAT tag - this behavior happens even if I remove all tags).
EDIT: Also another question:
Is there a way to trigger a script in the middle of a campaign? My aim is to spawn some planets/stations after X years have passed using the same code in the SectorGeneratorPlugin I used to create the system in the first place.
Also on the same topic, I also wanted to add/delete industries - is this possible? I wanted to simulate long-term growth by adding/upgrading (delete then add) some buildings after X years have passed.
EDIT 2: Different question now:
I am having issues with issuing full retreat, but then the combat doesn't end even when there are no ships or fighters on my side anymore. Looking at other mods, they seem to have some plugins that take care of modules to solve this issue, however, when I tried porting it over to my files, it seems the function calls they use are deprecated... Is there a workaround for this?