File location of functions?

daviiadams

Prince
Joined
Jul 7, 2011
Messages
369
Location
London
Does anyone have, or know of, a list showing which file holds each function?

The Wiki lists the various functions, but not where to find them, or are they deliberately hidden?
 
what do you mean exactly ?

you can find the Lua functions here : http://www.lua.org/manual/5.1/ (but the io, file, debug and surely package functions are disabled in Civ5 engine)

the game objects related functions are defined in the core files (and we won't have access to them until the DLL source code is released)
 
what do you mean exactly ?

you can find the Lua functions here : http://www.lua.org/manual/5.1/ (but the io, file, debug and surely package functions are disabled in Civ5 engine)

the game objects related functions are defined in the core files (and we won't have access to them until the DLL source code is released)

The latter by the look of it, the ones relavant to things like "GetTotalJONSCulturePerTurn" etc.

The reason for asking, is due to becoming stuck with adding up an attribute produced by buildings - both on a per population and set amount basis - and had naturally hoped to see how it was being done for gold, culture, science etc for reference.
 
Back
Top Bottom