Captain of Industry
Trades Maker
WARNING
Removing existing Quick Trades could lead to problems when you'll try to load a savegame where these were used, because your save wouldn't load!

I'm not really sure that something could be done at this level, because it's a Serialization/Deserialization problem with a savegame file, but I'll still try to do some magic.

Adding new XML lines or altering any already defined line should work, tho.

---

Hi lovelies!

I've just published a new little mod for CoI on my GitHub[github.com].

This pesky creature will let you configure new Quick Trades using the in-game parameters that the C# code will provide for every quick trade pair.

Every trade must be configured inside the 'Trades.xml' file, one 'trade' node for every Village of the World Map that you wish to use, and multiple 'quick' nodes for any Sell-Buy product pair.

The Mod should create a 'ProductsIds.txt' file inside the Mod's folder, and it will contains any Product that is eligible to be traded. At least I hope so!

Since I'm not a coder or sorta, nor I'm a professional working on C# sources, it's almost sure that the overall quality of the product (no pun intended) is very far from wonderful.

Things could explode, because I consider this still a WIP, so I've tested only two quick trades for the first Village only, just to say. Keep an eye on the game's logs, maybe.

But hey, we're using GitHub also for this reason! So anyone could fork this code and make a proper version of it, if they are pleased to, without give any notice nor any credit to me (but please give credits to MaFi, as I implicitly do every time!).

And sorry for my horrible English!

XOXO
Автор останньої редакції: ne_propheta; 11 черв. 2023 о 16:43
< >
Показані коментарі 3131 із 31
"So... really 821 years in a single save? D:"

I'm a very patient guy. Like 500 years were spent only for the trucks and excavators to prepare the terrain for the infrastructure development. While I had to move tons of rocks I often stock materials and keep all other stuff in order for the building process that will come after. This is like, if you feel like you need 5 of something, make the space for 25 or more because you will eventually use it.
< >
Показані коментарі 3131 із 31
На сторінку: 1530 50