Research list

Place to get help with not working mods / modding interface.
User avatar
Bl4ckmail
Inserter
Inserter
Posts: 29
Joined: Sun Aug 16, 2015 10:31 pm
Contact:

Research list

Post 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.
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Research list

Post 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
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
User avatar
Bl4ckmail
Inserter
Inserter
Posts: 29
Joined: Sun Aug 16, 2015 10:31 pm
Contact:

Re: Research list

Post by Bl4ckmail »

Thanks that helped me alot
Post Reply

Return to “Modding help”