Page 1 of 1
How to make everything on a certian surface go twice as fast
Posted: Tue Jun 26, 2018 10:05 pm
by tat3rjr
How would you make everything on a certain surface go twice as fast?
Like assembling machine 1 has a crafting speed of 1 on nauvis, and then on surface x it has a crafting speed of 2.
Or a blue belt can transport 40 items/sec on nauvis ,then it transports 80 items/sec on surface x.
Re: How to make everything on a certian surface go twice as fast
Posted: Tue Jun 26, 2018 10:58 pm
by Bilka
There is no property that directly allows this.
Re: How to make everything on a certian surface go twice as fast
Posted: Wed Jun 27, 2018 2:57 am
by tat3rjr
There is no property that directly allows this.
Is there a way to do it by replacing an entity on surface x with an entity twice as fast?
Re: How to make everything on a certian surface go twice as fast
Posted: Wed Jun 27, 2018 8:01 am
by bobingabout
tat3rjr wrote:There is no property that directly allows this.
Is there a way to do it by replacing an entity on surface x with an entity twice as fast?
Possibly, but then you have to worry about things like entity inventories or equipment grids. Simply replacing the entity from one type to another doesn't guarantee that the inventories will be moved.
However, most entities (including the player in later 0.16.x) are allowed to be fast replaced, you just have to create an entity with the same co-ordinates as the one you want to replace, with the fast replace option selected.
I'm not currently looking at code, I don't know the exact tag names without looking them up.
Re: How to make everything on a certian surface go twice as fast
Posted: Wed Jun 27, 2018 4:50 pm
by tat3rjr
bobingabout wrote:tat3rjr wrote:There is no property that directly allows this.
Is there a way to do it by replacing an entity on surface x with an entity twice as fast?
Possibly, but then you have to worry about things like entity inventories or equipment grids. Simply replacing the entity from one type to another doesn't guarantee that the inventories will be moved.
However, most entities (including the player in later 0.16.x) are allowed to be fast replaced, you just have to create an entity with the same co-ordinates as the one you want to replace, with the fast replace option selected.
I'm not currently looking at code, I don't know the exact tag names without looking them up.
Thank you for helping me.