Search found 6 matches

by DARKHAWX
Wed May 16, 2018 11:50 am
Forum: Modding interface requests
Topic: Call LuaLogisticNetwork.get_item_count() without item name
Replies: 3
Views: 1114

Re: Call LuaLogisticNetwork.get_item_count() without item name

betrok wrote:I think it will be better to add an optional member argument for get_contents() instead.
That is a better idea.
by DARKHAWX
Wed May 16, 2018 8:08 am
Forum: Modding interface requests
Topic: Call LuaLogisticNetwork.get_item_count() without item name
Replies: 3
Views: 1114

Call LuaLogisticNetwork.get_item_count() without item name

I couldn't quite fit it all within the title but it would be nice to call LuaLogisticNetwork.get_item_count(item, member) withoutspecify an item name. Right now you must specify and item name, it's impossible to get a count of all items only in storage or only in providers. Solution would probably b...
by DARKHAWX
Tue May 15, 2018 1:17 pm
Forum: Modding help
Topic: How to Use Optional Parameters
Replies: 1
Views: 557

How to Use Optional Parameters

According to the docs I should be able to call LuaLogisticNetwork.get_item_count(item, member). Item and member are both optional string parameters. I only want to pass a member parameter to the function (i.e. I want a total item count but only from storage chests). I don't know how to do this. If I...
by DARKHAWX
Sat May 12, 2018 1:57 am
Forum: Modding help
Topic: Adjusting One Table Seems to Affect a Different Table
Replies: 2
Views: 1144

Adjusting One Table Seems to Affect a Different Table

So in my mod I add inputs to one table and outputs to another. I also have a third table which is a total of the two. So when I add something to the inputs table I also add it to the total table. When I add something to the outputs table I also add it (subtract) to the total table. I've noticed a we...
by DARKHAWX
Thu May 10, 2018 10:30 am
Forum: Modding help
Topic: [Solved] Create Combinator that outputs more than 18 signals
Replies: 2
Views: 908

[Solved] Create Combinator that outputs more than 18 signals

Hi there, I'm making a type of constant combinator and I need to be able to output more than 18 signals at a time, potentially one for each signal type (including items, colors and alphanumeric symbols). Right now my code all works fine, but since my entity is simply a custom copy of the constant co...

Go to advanced search