lua example

  1. FieryCharizard7

    LUA Function like when a forest is cleared, but when a unit dies

    Hello all, I've been learning LUA for about a week now, and I think I have a handle on it, but I am unsure about making a LUA function. It will be an ability from a wonder that will increase a city's production on whatever it is currently constructing (whether a unit, building, wonder, etc.)...
  2. FieryCharizard7

    Rewriting "CulturePerGarrisonedUnit" into "FaithPerGarrisonedUnit"

    Hello all, I'm working on an Italian Wonders modpack, and for one wonder, I want to implement something similar to the "Military Caste" social policy where the empire would gain +1 Faith for every unit garrisoned in a city. I have been trying to find the original LUA code from the game and...
  3. donald23

    Current Time of Day 0.1

    This little script checks every time a human player's turn starts, what the time of day is. Then changes the in-game time of day function to match that.
Back
Top Bottom