Hiding custom prototypes from alt-/detail-view.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Hiding custom prototypes from alt-/detail-view.
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.
Re: Hiding custom prototypes from alt-/detail-view.
A new invisible entity totally customizable for mods that has no details and that allows the same thing as the current entities would not it be more judicious?
The quality of the mod creators is that they use the system to do things for not originally planned.
In the majority of IT projects, adding patches to bypass the system has often had a negative effect on the long run. I think but after you do what you want, starting to create systems that have their own use and use for what it's supposed to do is a much better idea.
For the example :
{{not-on-details-view}} could be used on visible elements and could confuse the player as well.
The quality of the mod creators is that they use the system to do things for not originally planned.
In the majority of IT projects, adding patches to bypass the system has often had a negative effect on the long run. I think but after you do what you want, starting to create systems that have their own use and use for what it's supposed to do is a much better idea.
For the example :
{{not-on-details-view}} could be used on visible elements and could confuse the player as well.
Re: Hiding custom prototypes from alt-/detail-view.
Such an entity is not possible within the system that is Factorios game engine.Angamara wrote:A new invisible entity totally customizable for mods that has no details and that allows the same thing as the current entities would not it be more judicious?
Any entity that has any logic must explicitly be coded to support it on the C++ side. You can't piece-meal an entity together with logic from different entities because it simply doesn't work that way.
If you want to get ahold of me I'm almost always on Discord.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Hiding custom prototypes from alt-/detail-view.
@Rseding91:
Well, so how realistic is my flag proposal? If you're already answering ;P.
On a scale from "I'm gonna do this during lunchbreak" to "performance would drop through the floor and fall into the seweres".
Well, so how realistic is my flag proposal? If you're already answering ;P.
On a scale from "I'm gonna do this during lunchbreak" to "performance would drop through the floor and fall into the seweres".
Last edited by eradicator on Tue Nov 21, 2017 11:08 pm, edited 1 time in total.
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.
Re: Hiding custom prototypes from alt-/detail-view.
I'm planning on doing it. I'm just busy at the moment.eradicator wrote:@Rseding91:
Well, so how realistic is my flag proposal? If you're already answering ;P.
If you want to get ahold of me I'm almost always on Discord.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Hiding custom prototypes from alt-/detail-view.
Oh great. That's all i wanted to hear
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.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Hiding custom prototypes from alt-/detail-view.
This is now marked as "implemented" so what is the flag called? :D
(Also having a list of all possible flags, even without description, on the API doc would be immensely helpful...)
(Also having a list of all possible flags, even without description, on the API doc would be immensely helpful...)
Re: Hiding custom prototypes from alt-/detail-view.
http://lua-api.factorio.com/latest/LuaE ... e.has_flageradicator wrote:This is now marked as "implemented" so what is the flag called?
(Also having a list of all possible flags, even without description, on the API doc would be immensely helpful...)
If you want to get ahold of me I'm almost always on Discord.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Hiding custom prototypes from alt-/detail-view.
Hrng. PEBKAC. I thougth i looked through all the has_flag() pages, but apparently i missed the prototype one. Thanks.