-
Notifications
You must be signed in to change notification settings - Fork 9
Address
Address are used by Bytecart to identify a specific station in the world.
Address are composed of 3 parts :
Address are represented by putting the 3 parts together, separated by a dot : region.track.station
Any address may be shifted to hold some properties :
- +32 to station number mark the first cart of a train.
Any address belong to a subnet. The subnet is identified by the region and the track number.
Address sharing the same region numer and the same track number are in the same subnet. Stations in the same track must have an address in the same subnet, i.e same region and track number.
22.7.11 designates station #11 in the subnet 22.7.0 (i.e in region #22, track #7).
Address can be represented in 2 forms :
- litterally on 4th line of Bytecart signs when applicable
- in inventories of player or storage cart.
When a player wants to travel to a specific station from any point of the network, he needs to set his destination address in his own inventory before riding a cart.
When one wants to send a storage cart, he will use the inventory of the storage cart.
An address can be "written" in inventory of player or storage cart by filling slots 0, 1 and 2 with each part of the address. See Inventory slot number to match slot number with cell of inventory window. The slots can be filled with whatever type item of the game.
For example, to set address 12.25.10 in inventory, we would put 12 cobbles in slot 0, 25 wheat in slot 1 and 10 wood in slot 2. We can also use only cobbles if we want.
As such, a player will be driven to station 12.25.10 when passing on Bytecart devices.