Auto-translated
Okay, you can build structures at the moment you capture a castle. Or, you can build them initially and reset the growth in 1 day of the week using a trigger for the new day (but you'll have to do the first reset manually). Something like this:for i = 16, 28, 2 do
local count = GetObjectDwellingCreatures('houseInferno', i)
if count ~= - 1 then
SetObjectDwellingCreatures('houseInferno', i, 0)
end
end
function NewDay()
if GetDate(DAY_OF_WEEK) == 1 then
for i = 16, 28, 2 do
local count = GetObjectDwellingCreatures('houseInferno', i)
if count ~= - 1 then
SetObjectDwellingCreatures('houseInferno', i, 0)
end
end
end
end
Trigger(NEW_DAY_TRIGGER, 'NewDay')
This also doesn't work((( it still buys them every week.