• Civilization 7 has been announced. For more info please check the forum here .

Looking for text components

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
3,508
Location
Łódź, Poland
I'm looking for two things:
  1. Trade deals for each player. I want to use that info in other window (Trade Opportunities mod). I suppose it has some lua part related to it. Can you tell me where can I find that code or text field name ("TXT_...")?


2. I want to add also monopoly bonus info there. I predict that it is made in form of text fields separate for each resource. Can you point me out what txt fields are made for this?
 
I'm looking for two things:
  1. Trade deals for each player. I want to use that info in other window (Trade Opportunities mod). I suppose it has some lua part related to it. Can you tell me where can I find that code or text field name ("TXT_...")?


2. I want to add also monopoly bonus info there. I predict that it is made in form of text fields separate for each resource. Can you point me out what txt fields are made for this?

That's all done here:

local function GetMoodInfo( playerID )

in eui_tooltip_library

Most of it is hardcoded in the LUA. Yay! (Boo)

G
 
Thanks. I will look into it.
 
@Gazebo I managed to use that code. Like you said it was really hard coded, but I spent a while to decypher it. This is the effect:
upload_2018-11-8_19-45-22.png

Thank you once again.
 
Top Bottom