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

>I used to insert in script.lua a function. 
Or in a scenario files between:

[script]
code=$
$

but it's not simply for novice. I have a scenario (Europe 350*350 - S_3) where
I generate 617 cities at the start. The problem are nations!
If I use script lua:

      local owner = find.player(0)

Maybe player(0) is Poland or Greece or United Kingdom, but Stockholm is
Swedish! I tried find.nation_type('nameofthenation') and
find.nation_type(nameofthenation), but both don't run.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3495>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to