Skip to content
Alpha version. These pages describe a game that is not built yet. Everything here can still change, and in the alpha every city can be reset at any time.

Orders ​

An order is a shop asking for goods. Delivering orders is how your company earns money.

What an order is ​

A shop posts an order. The order says:

  • which goods, by weight. For example 5 kg of oil and 3 kg of water, 8 kg in all;
  • the delivery fee, which the shop pays to whoever brings the goods;
  • when it runs out. After that tick the order is gone.

Shops pay different fees. The same goods can pay 7 at one shop and 10 at another. So the main question for your program is always which orders are worth the trip. A good fee is worth little when the trip to earn it costs much fuel, much wear and much time.

Shops keep posting new orders. An order that nobody delivers in time is simply gone, and nobody is paid.

Taking an order ​

You cannot reserve an order. There is no command that says "this one is mine".

A car takes an order by being the first to load goods for it at a storage. From that moment only this car may load the rest and deliver it.

So if two cars drive toward the same order, one of them will load first. The other has driven for nothing. This is true for two cars of the same company as well.

Three more rules:

  • A new order cannot be taken at once. Every order is announced first, and it can be taken a few ticks later. The wait is the same for everyone. So a car that happens to stand at the right storage has no unfair head start.
  • The order must fit. A car can take an order only if its whole weight fits into what is free in the car.
  • A car can hold several orders at the same time, as long as all of them fit.

Loading ​

A car loads at a storage. A storage holds a large stock of some goods, and the stock fills up again over time.

Sometimes no single storage has everything an order needs. Then the car visits several storages. The order is taken at the first load, and the car collects the rest afterwards.

Your company does not pay for the goods it loads.

Delivering ​

When the car carries all goods of the order, it drives to the order's shop and delivers. The goods leave the car, and your company receives the delivery fee.

When a taken order runs out of time ​

An order still runs out of time after a car has taken it. Then:

  • the goods loaded for it are removed from the car;
  • nobody is paid;
  • from stage 3 your company pays a penalty, equal to the delivery fee. In a shared city a player could otherwise take orders only to keep them from others. From stage 4 the penalty also covers what the shop had paid for the goods.

When two cars load in the same moment ​

Your command is answered at once: accepted or refused. An accepted command takes effect at the next tick. If two cars are accepted for the same order in one tick, the first one takes it. The other one's command fails, and its company is told.

So "accepted" does not yet mean "done". See Writing code.

Delivery is part of simgit.io. This is an alpha version.