stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 250

Day 250 of 365 · Pro · Month 9: Logistics and greenhouse

Trading and satellite dish

The satellite dish finds traders in orbit. The chip reads signal and required power, adjusts the transmit power, keeps the interrogation running and reports the contact.

Lesson 22 min Week 36

What you learn today

  • Receive signals
  • Recognise traders
  • What a chip can do there

At some point your own ore is no longer enough, or a part is missing that you cannot build. Then traders come into play. They circle in orbit and only land if you reach them – with a satellite dish.

The dishes

DevicePrefabTransmit power
Small satellite dishStructureSmallSatelliteDish50–200 W
Medium satellite dishStructureSatelliteDish500–7,500 W
Large satellite dishStructureLargeSatelliteDish2,000–50,000 W

Setting is the transmit power in watts. Horizontal and Vertical align the dish, Idle is 1 while it is not turning.

Receiving signals

The dish always reports the strongest contact:

LogicTypeMeaning
SignalIDidentifier of the contact, −1 without contact
SignalStrengthangle deviation to the contact in degrees – smaller is better, −1 while unknown
ContactTypeIdidentifier of the trader type
MinimumWattsToContacthow much power has to arrive at the contact
WattsReachingContacthow much arrives right now – transmit power times alignment
InterrogationProgressprogress of the interrogation from 0 to 1, −1 without contact

SignalStrength is a trap: the name sounds like “the bigger, the better”, but the value is an angle. 0 means perfectly aligned.

Recognising traders

According to the game's trader data, small traders need 25 to 30 W at the contact and 20 to 30 seconds of interrogation, medium ones 180 to 200 W and one to two minutes, large ones 6,000 to 8,000 W and seven to ten minutes. So MinimumWattsToContact alone tells you what size is circling up there.

What a chip can do

  • Adjust the power: if too little arrives, the chip turns Setting up step by step until it is enough.
  • Start and hold the interrogation: Activate 1 starts the interrogation of the strongest contact. If Activate drops to 0 or the power is no longer enough, it is cancelled.
  • Report: progress in percent and a light as soon as the contact stands.
  • Request landing: if the trader is contacted and a fitting landing pad is free, another Activate 1 calls it down.
slt tmp arriving needed
and tmp tmp contact
mul tmp tmp STEP
add power power tmp

Buying and selling you have to do yourself once the trader has landed. The chip finds, connects and reports.

Tip

Better alignment saves power: the smaller the angle deviation, the more of the transmit power arrives. According to the game code it works fully up to 2° deviation, at 5° still at 90 %, at 22.5° only at 10 %. A well-aligned dish needs less Setting for the same trader.

Note

The dish does not always draw power equal to Setting: while interrogating a contact it is exactly Setting watts, while it only evaluates contacts it has found, a tenth of that, otherwise just its base consumption.

Exercise

Task

The medium satellite dish is named “Schuessel”. There is a contact when SignalID is not −1 (and not NaN). While WattsReachingContact is below MinimumWattsToContact and a contact exists, the chip raises Setting by 100 W per tick, always within 500 to 7500. Activate is 1 while a contact exists. “Kontakt” shows InterrogationProgress in percent mode (never below 0, 0 without dish), the light “Haendler” is on at 1.

Hints

Hint 1

Contact: sne contact signal NONE, and exclude NaN with snan/seqz/and.

Hint 2

Power: add “too little” times STEP, then clamp.

Hint 3

Progress: max … 0, NaN to 0, percent mode, light at exactly 1.

Quiz

5 questions. You pass from 60 % – the server does the grading.

Complete the day

  • Passed the simulator exercise
  • Passed the quiz with at least 60 %

Without an account progress is saved in this browser only.

Report a mistake in this lesson

Please sign in to report. Sign in

Esc
↑ ↓ selectEnter open/ opens search anywhere