Follow-up Comment #10, patch #3495 (project freeciv):

> Now I test the (untested) function, but... Where should I insert? Function
turn_cb(turn, year) or function city_nation_swedish()? 

The function should be inserted on its own (separate function). After that you
could change your function as follows:

function  city_nation_swedish()
      local owner = search_player_with_nation("Swedish") 
      if owner then
        local Stockholm = find.tile(208,93)
        create_city(owner,  Stockholm, 'Stockholm')
        log.error("No player with nation 'Swedish'")

(all untested)


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to