Added Trade (T) (T+) system for NPC Exchange Resources - #112
Added Trade (T) (T+) system for NPC Exchange Resources#112oGabrielFreitas wants to merge 1 commit into
Conversation
|
I love this script, I've been using it for a long time. I always felt that this option to make trades easier was missing. I decided to implement it so I don’t have to use long and boring Excel tables anymore haha |
|
Hi, |
|
It would be really cool. I can change the code to make this option as an optional feature. I’ve been using the functionality quite a lot in the past few days, it’s working well, but I ended up finding some small improvements that could be made. I can already open a new PR with these adjustments and the updated version. |
Ok, you can make a new PR and I will merge it in the next release. |
Summary
Added a new Trade memory system (T/T+) that works alongside the existing Market memory (M/M+), but stores the full resource cost of buildings instead of only what's missing.
How it works
Unlike the Market memory (M), which only stores what's missing (current resources minus cost), the Trade memory stores the complete cost regardless of current resources.
Usage Examples:
Usage 1:
Usage 2: