Secondary Auto-Transfer

Adds in a secondary location and chance for auto transfers. It required reworking the logic regarding transfer queues with min and max transfer settings. When objects transfer they will individually attempt the primary location first, and failing that it will attempt the second. If both fail the object's transfer cooldown starts again.
This commit is contained in:
Eli
2023-04-22 20:09:29 +10:00
parent 95d6752941
commit e821a4b42b
6 changed files with 86 additions and 52 deletions

View File

@@ -222,6 +222,8 @@
belly_data["autotransferwait"] = B.autotransferwait
belly_data["autotransferlocation"] = B.autotransferlocation
belly_data["autotransfer_enabled"] = B.autotransfer_enabled
belly_data["autotransferchance_secondary"] = B.autotransferchance_secondary
belly_data["autotransferlocation_secondary"] = B.autotransferlocation_secondary
belly_data["autotransfer_min_amount"] = B.autotransfer_min_amount
belly_data["autotransfer_max_amount"] = B.autotransfer_max_amount