Kepler. Documentation · Scripts 422 functions available right now Français

Orion combats

On an Orion universe only. These functions exist everywhere. Once the universe is known, if it has no Orion, the settings return the error this universe does not have Orion: the module reads nothing and write nothing: see Orion.

These are the settings of the "Run PvE combats" section of the Orion page. The worker takes a PvE combat card, reads its waves, simulates each one in the worst case (the whole total on the strongest type, margin included) and only sends a fleet if it wins without a single loss. A wave the game hides for lack of Espionage means refusal. A mission taken that no fleet can serve holds back its level and those above for about six hours: no taking and no scan at those levels. None of these functions sends anything by itself, and PvP combats stay closed.

The settings

FunctionReturns
GetOrionCombatSettings()1: a structureThe applied settings, with no request: Enabled, MaxShare, Margin, MaxLevel, Celestials.
SetOrionCombats(yes)1: an errorThe "Run PvE combats" box, unticked by default.
SetOrionCombatMaxShare(percent)1: an errorThe share of each ship type of a celestial that combats can commit, anomaly flights already out included, from 1 to 100; 0 for the default, 25.
SetOrionCombatMargin(percent)1: an errorHow many more ships each simulated wave counts on top of the worst case, from 1 to 300; 0 for the default, 20.
SetOrionCombatMaxLevel(level)1: an errorThe card level above which the module takes nothing; 0 for no limit.
SetOrionCombatCelestials(list)1: an errorThe celestials a combat can leave from, written "4:273:12" or "M:4:273:12"; an empty list for all.

A value outside its bounds is refused, and nothing is written.