<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39451 >

> That sounds better to me.  KISS.
> Remember, the lua code cannot do anything that requires understanding of
> the underlying structure, nor anything random (choosing), as that would
> break fundamental assumptions of the network, ruleset, and savegame code.

Good catch: The hut code that per has been working on (and now I),
uses api_utilities_random in server/scripting/api_utilities.c . That
is a random outcome on the server, and should be reproducible since it
uses myrand. Is this not safe in the long run?

Freeciv-dev mailing list

Reply via email to