Page 1 of 1

Modding around robots questions

Posted: Wed Mar 16, 2016 2:18 pm
by niarkoleptik
Hi !

I started modding factorio a week ago. Thanks to the community, I was able to find all the tutorial that I needed and was able to make something simple quickly.

I really like the robots system and I would like to build somethings around it, but I have some question first.

I would like to make a robots able to mine coal / iron / copper deposit. Is it possible ? And how ?

Then, I would like to know if it's possible to make some kind of inheritance between type to merge some concepts, and how it works ?

For example I would like to make a roboport on a train wagon, or an building being both an assembly and a requester chest for it's input.

Thanks a lot !

Re: Modding around robots questions

Posted: Fri Mar 18, 2016 3:57 pm
by StanFear
hello,

welcome to the modding community,

having robots mine ressources has been done, look at MoMining
(although, some of the ways it works is really not the propper way)

as to multiple inheritence is, as far as I know, not possible, although, you can create a phantom entity to get the functions you want, for instance, create a requester chest when your assembling machine is built, and manually move items from the chest to the assembling machine when there is some to move.

roboports on train has also been done, and you'll have to check 5dim's mod to see how it was done !