City Yield Trade - Sciences/Gold

Discussion in 'Mod Creation Help' started by K-pax, Aug 10, 2019.

  1. K-pax

    K-pax Chieftain

    Joined:
    Aug 9, 2019
    Messages:
    1
    Gender:
    Male
    I am creating my first mod. I am ok with SQL and I understand LUA. I have already made my new tech tree, some of my buildings and ajusted my terrain/feature/ressources. Thank LeeS for his posts...

    Now I want to do something tricky... for me.

    I want to implement a new Yield for plot, something like Trade in civ revolution, that we can convert in gold or sciences. I also want to add the fonction in the CityPanel (maybe at the YieldFocus) to make the choice for each city.

    Is this feasible?
     
  2. Pusperk

    Pusperk Chieftain

    Joined:
    Dec 24, 2015
    Messages:
    30
    Yes.
    Good news icon dds texture, art dds texture into UI layer lens, font icons and add new Yield use xml or sql is ok.
    Bad news function plot.getYield do not return value of new Yield. You must write new function in Lua and replace it.
     

Share This Page