A downloadable mod

The objective of this game modification is to enable caravan borrowing & lending. 

The idea behind the mod

After playing Dark Forest and Primodium, I realized that in these sand table strategy games, many in-game resources are not tokens. When the players upgrade or build a new unit, the game often requires some time for the player to make the next move. To shorten this "idle time" is to enable in-game exchange. In this prototype, I am trying to address the problem:

 Alice's caravan can move to Bob's realm to pick up an order, and then transfer in-game resources to Carol.

I've defined a new external function on_behalf_of to enable the "on behalf of" operation. This function checks permissions, validates the order, and then carries out the operation on behalf of entity B (taker).  It needs to tailor the implementation to your specific contract structure and requirements.

Also, it mods the movement of a caravan when it contains at least one entity (i.e., length > 0). This modification allows caravans to travel from one location to another, simulating the movement of goods or entities.

https://github.com/Gink5814/eternum