I'm not sure about the format, as this will be quite big, I would like you to look at the two sample pages I made, and criticise it before I write the rest
![Smile :)](./images/smilies/icon_e_smile.gif)
https://forums.factorio.com/wiki/inde ... efinitions
Yes, this. Those 2 pages were the most useful tools while I was programming, Thank you so much.Dysoch wrote:those 2 pages alone helped me alot.... SO YES, write more
Not really... All I can say is check out the base game prototypes and you'll see the obvious/common ones (look hard enough and you should see everything with maybe a tiny number of exceptions). Of course you are free to add your 'discoveries' to the wikikitsune9tails wrote:Is there a place where we can actually see all the class prototypes for the Prototype objects? I need to know what properties and subclasses are available for each class and what they mean before I can really dive into modding.
Code: Select all
"technology": {
"effects": {
"ammo_category": "string",
"modifier": "number",
"type": "string",
"recipe": "string"
},
"icon": "string",
"name": "string",
"order": "string",
"prerequisites": "string",
"type": "string",
"unit": {
"count": "number",
"ingredients": "number",
"time": "number"
},
"upgrade": "string",
"enabled": "boolean"
},
For Lua objects:wahming wrote:Bump. Is there any way we modders can get a list of available properties/methods for all prototypes? At the moment it's a struggle getting the info we need from the game.
Code: Select all
/c sel = function() return game.player.selected; end
/c mh = function() game.make_file("help/" .. sel().name, sel().help()); end
This outputs a file with the name of the entity selected, but the content is always the same: LuaEntityjohanwanderer wrote:For Lua objects:wahming wrote:Bump. Is there any way we modders can get a list of available properties/methods for all prototypes? At the moment it's a struggle getting the info we need from the game.
Move your mouse over something, and then "/c mh()", then look under script-output/help/ for the help textCode: Select all
/c sel = function() return game.player.selected; end /c mh = function() game.make_file("help/" .. sel().name, sel().help()); end
For the prototypes themselves, I would just look under data/base/prototypes/... what you see is what you get there.