URL:
<http://gna.org/patch/?6557>
Summary: Lua script read access to AI trait values
Project: Freeciv
Submitted by: jtn
Submitted on: Sat 07 Nov 2015 17:32:01 UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.6.0, 3.0.0
_______________________________________________________
Details:
Currently, I don't think there's a way for players to know what randomly
selected AI traits they ended up with in a particular game (without examining
the savefile).
In lieu of proper UI, Lua script access would be better than nothing. Might
also be useful to Lua scripters seeking to use trait_mod, to avoid exceeding
the ruleset maximum in the presence of random traits.
The most complete version would give access to current base trait, current Lua
mod, and ruleset min/max/default (for players and/or nations).
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6557>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev