Feature #2104 ยป 2104.patch
| 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
|
||