For instance, Belt Splitters have Shift = {0.25, 0.05} at points, which I'm guessing is to do with moving items on it. But the wiki is blank on the subject.
So... What does it do?
Hoping it might help remake a Belt Separator.
What Does Shift= Do?
-
- Inserter
- Posts: 48
- Joined: Mon Apr 27, 2015 3:39 pm
- Contact:
Re: What Does Shift= Do?
Shift moves the sprite relative to its selection/collision box, it is a purely aesthetic lua definition and has no gameplay affects
-
- Inserter
- Posts: 48
- Joined: Mon Apr 27, 2015 3:39 pm
- Contact:
Re: What Does Shift= Do?
My only other question then is, how does a splitter move items?
Re: What Does Shift= Do?
The c++ code does. There is not behavior description for a splitter. Because the entity is type="splitter", it behaves like a splitter.Foxy_Boxes wrote:My only other question then is, how does a splitter move items?
You might as well ask, what makes an inserter take items from a belt and insert them into a machine. The answer is the same: the behavior defined in the c++ code.