a lua-construction like
results = { {type="item", name="y-boiler-iv", amount=1,}, {type="item", name="y_rwtechsign", amount=2,}, },
will remove ingame recipe description box/line and entity-stats
results = { {type="item", name="y-boiler-iv", amount=1,}, },
show the ingame recipe-description and entity-stats
i understand this, because the game needs to decide which stats from these 2 items/entitys to show ...
maybe it's possible to refer only to the first item and take from this the entity-name as recipe-name and more importend the stats.
lua - result - results - construction
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: lua - result - results - construction
I think if you don't set the main_product it always shows the recipes description and name. If you set main_product it will show the name and description of said item.
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: lua - result - results - construction
Yeah, basically...
result= will use the item on result's name.
results= will use the recipe's name.
results= with main_product= will use the name of the item on main_product.
result= will use the item on result's name.
results= will use the recipe's name.
results= with main_product= will use the name of the item on main_product.
Re: lua - result - results - construction
looks like working now ...
so done !
so done !