Page 1 of 1

Research list

Posted: Thu Jan 21, 2016 2:49 pm
by Bl4ckmail
Hello is there a possible way to get all the Research that is in the game (including mods) into a list.

Thanks in advance.

Re: Research list

Posted: Thu Jan 21, 2016 2:58 pm
by prg
Bl4ckmail wrote:Hello is there a possible way to get all the Research that is in the game (including mods) into a list.

Thanks in advance.
Forces have a technologies list.

Code: Select all

for k,v in pairs(game.local_player.force.technologies) do
    game.local_player.print(k .. " has " .. (v.researched and "" or "not ") .. "been researched")
end

Re: Research list

Posted: Thu Jan 21, 2016 3:02 pm
by Bl4ckmail
Thanks that helped me alot