ThatNorthernMonkey
Chieftain
- Joined
- Oct 31, 2016
- Messages
- 2
I was hoping to add to the 'Report' screens resources tab a way of seeing the resources you are currently trading. In the DiplomacyDealView.lua there's references to 'DealManger' e.g.,
local possibleResources = DealManager.GetPossibleDealItems(player:GetID(), GetOtherPlayer(player):GetID(), DealItemTypes.RESOURCES);
So I'm assuming the DealManager acts as an interface to all of the currently active trades (may be a stretch?), and hopefully can provide the information I'm looking for. I've searched through some other files but the DealManager seems a bit elusive. I was wondering if anybody else has come across anything that may help? New to modding Civ series so I may be doing this wrong. Is the DealManager likely to be in the dll's rather than a script, so I would need access to the SDK? Is there any way I can use this DealManager with the Firetuner or something else to explore it some more? A little stumped!
Any help appreciated!
local possibleResources = DealManager.GetPossibleDealItems(player:GetID(), GetOtherPlayer(player):GetID(), DealItemTypes.RESOURCES);
So I'm assuming the DealManager acts as an interface to all of the currently active trades (may be a stretch?), and hopefully can provide the information I'm looking for. I've searched through some other files but the DealManager seems a bit elusive. I was wondering if anybody else has come across anything that may help? New to modding Civ series so I may be doing this wrong. Is the DealManager likely to be in the dll's rather than a script, so I would need access to the SDK? Is there any way I can use this DealManager with the Firetuner or something else to explore it some more? A little stumped!
Any help appreciated!