Originally posted by Maquiladora
Well its definitely not a bug, but some kind of flag in units.txt would be useful to do that for certain units.
hmm i think i found it here why it doesnt let you add a pop to the city:
Code:
BOOL UnitData::Settle()
{
DPRINTF(k_DBG_GAMESTATE, ("Unit %lx settling\n", m_id));
if (CanSettle(m_pos) == FALSE) {
DPRINTF(k_DBG_GAMESTATE, ("CanSettle false!\n"));
return FALSE;
}
Unit nearbyCity = g_theWorld->GetCell(m_pos)->GetCityOwner();
if (nearbyCity.IsValid())
{
SlicObject *so = new SlicObject("29IASettlingTooClose") ;
so->AddRecipient(m_owner);
so->AddCity(nearbyCity);
g_slicEngine->Execute(so);
DPRINTF(k_DBG_GAMESTATE, ("Tile already owned!\n"));
return FALSE;
}
Bookmarks