isnorden
Amnesiac Modder
I'm planning to write a mod that does two things:
Problem #1 looks like something I could fix with a couple of <update> statements, if I knew the name of the right variable(s). Unfortunately, I can't seem to find the files anywhere in Civ 5's XML or Lua folders.
Problem #2 looks like a cross between unique-building code and religious-belief code. But Pastures aren't defined as buildings anywhere I looked; and the bonuses shouldn't go to everyone with a Pasture full of cows, just to India. How do I specify this combination of restrictions?
I don't expect someone else to write the mod for me, just to point me in the right direction so I can do the coding; could any of you please help out? Many thanks!
- Reduces city-related unhappiness (both population and number of cities) for all civs. The problem won't vanish altogether, but should be easier to manage.
- Gives India a new advantage, "Sacred Cattle". Any improved source of Cattle in their cities gives +1 Faith and Food per turn, plus a one-time +1 Happiness boost. (Why the Food bonus when most people in India don't eat beef? Because milk and butter are still acceptable to eat in their culture--even sacred under the right circumstances.)
Problem #1 looks like something I could fix with a couple of <update> statements, if I knew the name of the right variable(s). Unfortunately, I can't seem to find the files anywhere in Civ 5's XML or Lua folders.

Problem #2 looks like a cross between unique-building code and religious-belief code. But Pastures aren't defined as buildings anywhere I looked; and the bonuses shouldn't go to everyone with a Pasture full of cows, just to India. How do I specify this combination of restrictions?
I don't expect someone else to write the mod for me, just to point me in the right direction so I can do the coding; could any of you please help out? Many thanks!