Page 1 of 1

Make a fuel only work in one type of generator

Posted: Fri Feb 13, 2015 11:19 pm
by xBlizzDevious
Basically, I'm wondering if this is possible as I want to make a machine generate power with only one type of fuel, and I don't want other machines to be able to use that fuel. Crafting something that made power wouldn't work so it has to be in a generator.

So, is it possible? If so; how?

Re: Make a fuel only work in one type of generator

Posted: Fri Feb 13, 2015 11:37 pm
by FreeER
not as far as I'm aware. Theoretically you could make a second item without the fuel value and have players craft it, then swap it out using Lua with the one that has a fuel value later. However, since non-fuel items won't go in a fuel slot players would have to use a chest and an inserter and the Lua code would have to search for a nearby container to swap them out (and possibly the inserter so that it doesn't get stuck holding a non-fuel item). Of course the issue with that is if you change more than one out at a time the players could then pickup the items with a fuel value from the chest and use it like any other fuel...