Skip to content

Adding your first conveyor

Regonold edited this page Dec 21, 2024 · 4 revisions

Here is the tutorial for adding a custom conveyor type!

PREREQUISITES

It is highly encourged to check out these pages before continuing!

Dataside

In any folder we will create a basic json for our custom straight conveyor

see Adding your first building on how to begin this

for a custom conveyor there are 7 types of conveyors we need to add to fully complete it:

  • conveyor
  • turnconveyor
  • revturnconveyor
  • twayconveyor
  • othertwayconveyor
  • otherothertwayconveyor
  • threeoneconveyor

for this tutorial we will be using:

  • conveyor
  • turnconveyor
  • threeoneconveyor

You can apply the steps in this tutorial to make the other 4

to create a custom conveyor we need a "type" so we will be using "fast" as our conveyor type, all you need to do is create the conveyor json and then in internal name you need the specific name of the conveyor, for example "conveyor" and then _[YOUR CONVEYOR TYPE]

so, for our straight conveyor this is what it looks like

fastconveyor.json

{
    "internalname":"conveyor_fast",
    "displayname":"Fast Conveyor",
    "sizex":1,
    "sizey":1,
    "inputside": "east",
    "outputside": "west",
    "showprogress":false,
    "worktime":0.1,
    "freeinput":true,
    "price":500,
    "subtype":"transporters"
}

image

There are only 3 things we need to change throughout our different conveyors I will show you what changed would have to be made to make this turn conveyor

image

"internalname"

originally we used "conveyor" for a straight one but, for this turn we would use "turnconveyor"

"inputside"

originally we used "east" as we can see items will come in from the right but, for the turn it would be "north" as we can see items are supose to come from the top

"outputside"

originally we used "west" as we can see items will exit out to the left but, for the turn it would still be east as from the image we can see they still exit out to the right.

NOTE! IF YOU ARE MAKING A CONVEYOR OTHER THAN A STRAIGHT ONE, THE PRICE MUST BE 0 SO THEN IT DOSENT SHOW UP IN THE SHOP!!

Multiple inputs

the next conveyor we will add is the "threeoneconveyor"

image

As we can see from this image we are going to work with multiple inputs. Dont be afraid, its super easy!!

all we would do is this "inputside": ["north","east","south"] it is just a list of sides it will take inputs from so the:

  • top
  • right
  • bottom

and then we would make "outputside" east as that is the last direction avalable!

Visualside

After you have created all the jsons you want add the images for your conveyors into a folder

image

Congrats

You should be all set to test your new conveyor out!!

image

Further Resources

If you want to make all 7 resources i would reccomend you take a look at

The official One Turret typedata to see how all the conveyors and buildings work

The list of all Conveyor Types

Clone this wiki locally