Thalassicus
Bytes and Nibblers
What's the best way for a mod to solve the old farm crash bug?
IIRC it crashed for me when removing a Farm using the FireTuner too (but perhaps not every time). And also when founding a city on a tile with a Farm.
DELETE FROM "ArtDefine_Landmarks" WHERE ImprovementType='ART_DEF_IMPROVEMENT_FARM' AND ResourceType='ART_DEF_RESOURCE_NONE';
DELETE FROM "ArtDefine_Landmarks" WHERE ImprovementType='ART_DEF_IMPROVEMENT_FARM' AND LayoutHandler='SNAPSHOT';
UPDATE "ArtDefine_Landmarks" SET ResourceType='ART_DEF_RESOURCE_ALL' WHERE ImprovementType='ART_DEF_IMPROVEMENT_FARM' AND ResourceType='ART_DEF_RESOURCE_WHEAT';
Yes, but what happens when the AI does it? There's an unexplainable CTD?
There's a simple solution of lowering the scale of the wheat after it is farmed....but it also makes farms on Wheat almost invisible (as the checker-board is under the "fluffy wheat" graphic)
Well, now that whoward is working on the issue instead of Firaxis, we can expect it to be fixed in the near future.
UPDATE ArtDefine_Landmarks
SET LayoutHandler='SNAPSHOT'
WHERE ImprovementType='ART_DEF_IMPROVEMENT_FARM'
AND ResourceType='ART_DEF_RESOURCE_NONE';