Project

General

Profile

Feature #2104 ยป 2104.patch

Dean Brown, 08/03/2026 06:49 AM

View differences:

data/civ2civ3/script.lua
-- Place Ruins at the location of the destroyed city.
function city_destroyed_callback(city, loser, destroyer)
city.tile:create_extra("Ruins", NIL)
city.tile:remove_extra("Maglev")
city.tile:remove_extra("Railroad")
-- continue processing
return false
end
data/classic/script.lua
-- Place Ruins at the location of the destroyed city.
function city_destroyed_callback(city, loser, destroyer)
city.tile:create_extra("Ruins", NIL)
city.tile:remove_extra("Railroad")
-- continue processing
return false
end
data/goldkeep/script.lua
-- Place Ruins at the location of the destroyed city.
function city_destroyed_callback(city, loser, destroyer)
city.tile:create_extra("Ruins", NIL)
city.tile:remove_extra("Maglev")
city.tile:remove_extra("Railroad")
-- continue processing
return false
end
data/multiplayer/script.lua
-- Place Ruins at the location of the destroyed city.
function city_destroyed_callback(city, loser, destroyer)
city.tile:create_extra("Ruins", NIL)
city.tile:remove_extra("Railroad")
-- continue processing
return false
end
data/sandbox/script.lua
-- Place Ruins at the location of the destroyed city.
function city_destroyed_callback(city, loser, destroyer)
city.tile:create_extra("Ruins", NIL)
city.tile:remove_extra("Maglev")
city.tile:remove_extra("Railroad")
-- continue processing
return false
end
    (1-1/1)