So, without going into too many details, I'm trying to make a new roboport with a new type of bots. And I only want players to be able to insert this new type into this roboport.
Also don't want other types of bots to be able to access the construction radius on this roboport (but this part is optional).
Does anyone have any code blocks or guides they could share that might help me? I'm not good with the scripting stuff that this sort of thing requires.
New Roboport/bot type
-
- Manual Inserter
- Posts: 2
- Joined: Mon Oct 08, 2018 12:28 pm
- Contact:
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: New Roboport/bot type
Your description is way too vague to give any hints at all. Nobody's going to steal your idea.
All i can say is that restricting what goes into the inventory of a roboport type entity and what doesn't is impossible.
All i can say is that restricting what goes into the inventory of a roboport type entity and what doesn't is impossible.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
-
- Manual Inserter
- Posts: 2
- Joined: Mon Oct 08, 2018 12:28 pm
- Contact:
Re: New Roboport/bot type
My goal is to make a set of robots and roboports that have a huge range, mainpy for laying rails to outposts.eradicator wrote: ↑Mon Oct 08, 2018 2:56 pmYour description is way too vague to give any hints at all. Nobody's going to steal your idea.
All i can say is that restricting what goes into the inventory of a roboport type entity and what doesn't is impossible.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: New Roboport/bot type
Yea, that's not possible. You can't prevent networks from connecting to each other. So the only way that's gonna happen if you control every single bot per script, which is too much work to be worth it. What's don't you like about FARL's approach?
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.