# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.0] - 2026-10-17

### Added

- Bee Hive values, was supposed to be in other my mod but meh

### Changed

- Dynamic Interior Size `BaseSize` now multiplies moons own size
- Dynamic Scrap Value now multiplies each scrap value, before it did nothing
- Dynamic Scrap Amount now scales the moons own scrap count
- Late join sync waits for player to load
- Code cleanup

### Removed

- `ScrapValueOffset` option
- `ValuePerScrapItem` option
- `MinScrapFraction` option

### Fixed

- Dynamic Interior Size desyncing clients
- Buy rate staying at 100% on first day of new quota
- Buy rate settings and alert ignored on first day of new quota
- Clients sometimes showing vanilla buy rate instead of hosts
- Late joiners getting wrong deadline
- Clients with their own credit penalty settings getting different fine than host
- Dynamic Enemy Power stacking after host left mid round
- Dynamic Scrap Amount staying changed if scrap spawning failed
- Crew wipe deleting scrap that rolled into ship
- `ForcedCompanyMoons` and `ExcludedCompanyMoons` changes not applying until another moon
- Recovery Bonus counting 0 bodies with Mirage
- Fines screen DUE showing less than credits actually taken
- Clients seeing different death, body and penalty numbers on the fines screen than host
- Fines screen percent ignoring LGU Life Insurance discount
- ButteryFixes replacing fines screen text depending on load order
- Fines screen hiding vanillas credit fine at company moons with On Company Moons false

## [1.8.0] - 2026-09-29

### Added

- HQoL compatibility, stored scrap follows the loss settings on crew wipe
- HQoL terminal sales count as sold scrap, same as selling at the counter. Overtime Excludes Rollover now sees them
- OnlyCurrentDayMaxPlayers, older loot is only safe up to this lobby size

### Fixed

- SSS 1.5.3 compatibility
- Advanced Features crew wipe screen only showing the real scrap loss for the host and only with Loss Scrap on
- Advanced Features crew wipe screen missing $ on the scrap total

## [1.7.0] - 2026-08-22

### Added

- Only Lose Current Round Loot, wipe only takes scrap collected that day
- Rollover alert, ship warns you once with the amount to sell when rollover runs out. Can be disabled
- Forced and Excluded Company Moons lists for moons detection gets wrong
- Apply Losses On Company Moons runs loss settings at a company moon

### Changed

- Company moon detection needs an empty enemy budget too, so Oxyde keeps its penalties
- Those moons now follow the loss settings on a wipe and get Dynamic scaling back
- `OnGordion` is now `OnCompanyMoons`, existing values carry over on first launch
- Randomizer Multiplier capped at 2, above that the quota could shrink

### Fixed

- Selling for negative credits after loading a save, buy rate now floors at 30%
- Failed crew wipe letting the game despawn on top and destroy the scrap kept
- Failed quota advance letting the game advance it twice and wipe the rollover
- Credit and quota penalties applying at a company moon with On Company Moons off
- Credit penalties skipped entirely there instead, so deaths at Gordion were free
- Lucky furniture doing nothing, the luck value was never recalculated
- Company ad only playing once per save file
- Deadline Must Change comparing days left, so it could repeat the same deadline
- Rollover losing the days left part of the overtime bonus every quota
- Buy rate alert playing twice on the host
- Quota Cap of 0 pinning the quota at 0, below 1 now means no limit
- Quota overflowing negative with a very large Final Increase
- Player Cap rewritten in your config file when set below Player Threshold
- Losses running with zero deaths when the round had no player data

## [1.6.0] - 2026-08-21

### Added

- Deadline days that scale with the quota set by fixed credit interval or by exact thresholds

## [1.5.1] - 2026-08-12

### Fixed

- Scrap Keeper upgrade not keeping scrap on crew wipe
- Penalties and crew wipe losses not applying on modded company moons

## [1.5.0] - 2026-08-11

### Added

- LGU compatibility
- Scrap Insurance compatibility

### Fixed

- SSS items ignoring the scrap, value and equipment loss settings
- Quota clearing after reloading save when rollover already covers it
- Items inside belt bags and in a cruiser being deleted on a crew wipe
- Deadline not being rolled after getting fired or ejected without LethalConstellations
- Collected scrap being counted as new collected again on following round

## [1.4.4] - 2026-08-04

### Fixed

- Quota rollover is no longer -1 to one credit below next quota
- Quota no longer advances on days where nothing was sold and rollover already covers it

## [1.4.3] - 2026-08-01

### Changed

- Overtime option now counts only scrap sold above quota, instead of reducing the bonus by rolled over amount

## [1.4.2] - 2026-07-30

### Added

- Optional config option to lose percentage of banked rollover when the entire crew dies

## [1.4.1] - 2026-07-26

### Fixed

- Items stored in a Self Sorting Storage are no longer deleted when losing equipment or scrap on a crew wipe

## [1.4.0] - 2026-07-22

### Added

- Optional config option to stop rolled over scrap from also counting toward the overtime bonus

### Fixed

- Getting fired or ejecting in the same session now keeps the correct starting constellation deadline instead of the previous one
- Deadline and buy rate now sync to players who join mid game

## [1.3.1] - 2026-05-17

### Changed

- Dynamic Scrap Value scales from each moons base scrap values instead of current quota
- Dynamic Scrap Amount scales from moon baseline only and no longer adds to the Dynamic Scrap Value

## [1.3.0] - 2026-05-17

### Added

- Dynamic interior size, scrap value and scrap item count that scale by player count
- Dynamic enemy power that scales by player count

### Fixed

- Quota no longer resets several days in a row after a big sell

## [1.2.0] - 2026-05-09

### Added

- Buy rate settings - set a min/max, random rate, last-day rate or jackpot for the Companys daily buy rate
- Buy rate alert that shows the new rate each day, plus a red SCRAP EMERGENCY alert with sound when a jackpot rolls
- Formulas and examples to the README and to every config setting

### Changed

- Dynamic penalty mode now uses `(dead/total) x PercentCap` so the cap acts as the scale instead of a cap. Example: 2 dead out of 8 with cap 0.05 used to give 5%, now gives 1.25%

### Fixed

- Fines UI quota line now shows the real amount of the penalty

## [1.1.1] - 2026-05-08

### Fixed

- Starter constellation now shows the right deadline from the start
- _Advance Features_ - Scrap loss text on the performance report UI no longer flickers and is hidden when there was no scrap to lose

## [1.1.0] - 2026-05-07

### Added

- LethalConstellations compatibility with generated per-constellation deadline config [ `ConfigurableQuota_Constellations.cfg` ]
- Per-constellation deadline mode - `UseGlobal`, `Fixed` or `Random`

## [1.0.2] - 2026-05-07

### Fixed

- Quota rollover resetting to 0
- Deadline days now sync correctly to all clients after quota fulfillment
- _GeneralImprovements_ - Total Days and Total Quotas monitors now show correct values after rejoining
- _Advanced Features_ - Crew wipe now shows the real scrap loss instead of always _Lost 100% scrap_

## [1.0.1] - 2026-05-06

### Fixed

- Fines UI now shows correct casualty and recovery counts (was always showing 0 after player revival)
- Scrap value loss no longer desyncs between host and clients
- Body recovery detection improved
- Fines UI body line now shows _X of Y bodies recovered_

## [1.0.0] - 2026-05-05

### Added

- Initial release!
