Hello Starmadians !
Ok, mining bonuses...
When you claim a sector you got a mining bonus.
When you equip a station you can get a mining bonus with the proper chamber.
When you equip a ship you can get a mining bonus also.
Question. Do all those mining bonuses add up or do one or more take priority over another or void it all together ?
Technically you are missing a layer here because there are 2 different server settings which affect mining bonuses.
From the server.cfg:
From the faction config:
HTML:
<FactionSystemOwnerBonus>
<BasicValues>
<MiningBonusOwner>22</MiningBonusOwner>
<MiningBonusOthers>11</MiningBonusOthers>
<MiningBonusUnowned>3</MiningBonusUnowned>
</BasicValues>
</FactionSystemOwnerBonus>
So basically, my understanding is this, bonuses are multiplied. So you'd get 1 * 22 * chamber bonuses or other bonuses.
When editing custom chambers, I did notice that there is a way to make a chamber apply to a sector rather than "self," but it does not appear to currently work. So it may be possible to later have a chamber that applies a bonus to all entities within a sector. This bonus would then probably be determined in the same way that chambers are, where there is priority given to conflicting chambers. So a -1 priority, for example would be applied if it conflicts with a priority "0" chamber. That is, if both chambers "SET" a mining bonus to different numbers, such as 1.5 (which probably will multiply the normal bonus, thus adding 50%) and a 1.2, then whichever chamber has priority will modify the value. If all chambers perform a MULT function, then they will probably just multiply the end result. So maybe a chamber multiplies by 0.8 and another one multiplies by 1.5, then both would apply. The devs have stated that they expect to release effects for the universe in an upcoming update as well, so be on the lookout for this.
I also noticed that there is a new section in the world HSQL file which is currently not used.
Taken from the
StarMade HSQL Database Documentation Project
So if in the future chambers can affect sectors OR SELF, then there may be some stacking going on. Also if the universe itself can have chamber effects applied to them without a chamber even existing in the sector, then I imagine that effects will stack in the same way as they do for chambers, or perhaps will work in a staggered way, where the sector effect is always applied, and then chambers use this figure as the basis for their modifications.