Uighur_Caesar
Comandante en Jefe
I'm trying to make this civ whose UA would be that whenever they chop down forest/jungle, there is a random chance of a luxury spawning on that tile. How is this done?
function code(playerID, plotX, plotY, improvementID)
local player = Players[playerID]
if improvementID == -1 then
-- do stuff
end
end
GameEvents.BuildFinished.Add(code)
Yes, scrubbing fallout as well.Presumably that would trigger when scrubbing fallout as well though, right?
It wouldn't be an issue in most cases however.
Yeah... I don't really wanna mess with DLL. How would I do it through the remembering the jungle tiles method?
Sorry for my noobishness, but how do you create, load, and save tables?