On-Demand Contracts

On-Demand Contracts v0.2.3

by Mad_MaN (MaD_MaN)

Adds an in-game editor for creating custom world-map settlement contracts stored in JSON.

Beta 6 days ago CoI-Keep Source code
Game versions: 0.8.3 – 0.8.4a
Save-game: Add Remove
65%
4

This mod allows you to create custom contracts with highly customizable parameters.

Screenshot_2026-04-29_002034.png

Screenshot_2026-04-29_002121.pngScreenshot_2026-04-29_002104.png

⚠️ Disclaimer: Use at your own risk.

• This mod interacts with save-critical data (contracts), and incorrect deletion or modification can break saves.

• I am not responsible for lost or corrupted saves.

• Always keep a backup of your saves if you plan to experiment.

=======================

📦 Adds a button inside the Contracts menu that lets you create your own custom world contracts.

=======================

⚙️ Customizable Parameters:

• 📥 Input & output products.

• 🔢 Quantities.

• 🏛️ Unity cost (monthly + scaling).

• ⭐ Required settlement reputation level.

➕ Click "+", set values, press Save, then reload your save after that the contract will appear in-game

=======================

⚠️ IMPORTANT – READ THIS
Contracts cannot be totally removed from saves because of serialization issues, only hidden (maybe possible but currently beyond my abilities), Therefore:

• 🗑️ Delete → moves contract to a backup file, it will not be loaded again until you restore it (it is hidden from the game contract list but not deleted)

• ✅ If your save still uses it → It will load normally, provided you do not delete or modify OnDemandContracts_deleted_backup.json

=======================

✅ Enable vs ❌ Delete

• ✅ Enabled toggle → hides the contract from the in-game list without removing it from the main contract list.

• ❌ Delete → hides the contract from the in-game list while also removing it from the main contract list. Moves the contract to the backup file OnDemandContracts_deleted_backup.json.

=======================

🚫 DO NOT EDIT OR REMOVE JSON FILES

• ❌ Deleting JSON = broken save.
• ❌ Manually editing JSON = broken save.

=======================

This mod has no dependencies.

No other mods depend on this mod yet.

Contract Removal now possible.

May 06, 2026 v0.2.3
  • With the latest version (v0.2.3) it is possible to remove (hide) the contracts from the contracts menu in game, simply delete or disable any contract and reload the save.
  • Minor UI improvement: mod window no longer blocks input in other windows.

v0.2.3

Latest
Game version 0.8.3 - 0.8.4a re-verified
Released May 06, 2026
File size 3 MB
License CoI-Keep
Save-game: Add Remove

=======================

=======================
On-Demand Contracts
Changelog
=======================
v0.2.3:

• Improved save compatibility for custom contracts.
• Deleted contracts are now handled more safely and should no longer break saves in most cases.
• Added automatic fallback recovery for missing contract prototypes.
• Improved compatibility with older saves using deleted contracts.

=======================

[UI Changes]

• Removed dark background tint when opening the mod window.
• The game can now be interacted with while the mod window is open.
• Fixed issue where the mod window stopped working after reloading a save without restarting the game.

=======================

[Important]

• Do not manually delete the backup JSON files if older saves may still use those contracts.
• Existing saves created with older versions should continue working normally.

=======================
Loading forum…