Whys
Between the Lines
- Joined
- Oct 20, 2007
- Messages
- 465
I'm using ModBuddy, LiveTuner, and SQLite. I've created a test mod that loads an SQL database update and a Lua gameplay script, both as in-game actions. The test shows everything is loading as intended.
I want to enable/disable the found city button for settlers for both players and AI, depending on the terrain yields of the settler's plot and adjacent plots. I don't want settlers to found cities unless there is at least one initial city plot that yields at least 2 food.
As best I can tell, I think I want to replace the UnitPanel.lua, but that won't work for the AI, correct? Can this possibly be achieved through dynamic modifiers?
I want to enable/disable the found city button for settlers for both players and AI, depending on the terrain yields of the settler's plot and adjacent plots. I don't want settlers to found cities unless there is at least one initial city plot that yields at least 2 food.
As best I can tell, I think I want to replace the UnitPanel.lua, but that won't work for the AI, correct? Can this possibly be achieved through dynamic modifiers?
Last edited: