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

Day 341 of 365 · Expert · Month 12: Masterpieces

Planning missions

Planning missions: break a mission down into phases, keep a checklist as a bit word in the chip and tie launch and return to clear conditions.

Lesson 20 min Week 49

What you learn today

  • Sequence of a mission
  • Checklists in the chip
  • Launch and return

A mission to the asteroid is more than a launch. Fuel, crew, drill head, cargo, the way back – whoever forgets one of them only notices out there. That is why pilots work with checklists. Your chip can do that too, and it never forgets an item.

The course of a mission

Phasewhat happenstransition to the next phase
0 preparationrefuel, crew on board, hatch closedchecklist complete and launch pressed
1 flightway to the destinationdestination reached
2 workdrilling, scanninghold full, drill head worn or reserve reached
3 return flightway homelanded
4 unloadingcargo out, check the rocketback to 0

Every phase has a condition under which it ends. If the condition is code in the chip, it is no longer the gut feeling that decides, but the number.

Checklists in the chip

A checklist is a bit word: every fulfilled item sets its bit.

BitItemCheck
0fuelMass − DryMass at least 6000 kg
1thrust-to-weightThrustToWeight at least 1.3
2crew readylever “Crew” thrown
3hatch closeddoor “Luke” not open

If all four bits are set, the word is %1111 = 15 and the launch is clear. For the person in front of it the chip shows which item is missing first. For that it checks from back to front, so the smallest open item writes last and wins:

move first 0
ext tmp wort 3 1
select first tmp first 4      # item 4 open?
ext tmp wort 2 1
select first tmp first 3
ext tmp wort 1 1
select first tmp first 2
ext tmp wort 0 1
select first tmp first 1      # item 1 last: wins

Launch and return

The checklist clears the launch, but it does not launch. A person presses the button. The return, on the other hand, the chip may trigger itself, because it is the safe direction: better a mission ended too early than a rocket without fuel in space.

Tip

A missing device fulfils no item. If the avionics is missing, items 1 and 2 are open, if the hatch is missing, item 4 is open. That is intended – a rocket without avionics does not launch.

Exercise

Task

Build the checklist according to the table above. Avionics “Avionik”, lever “Crew”, door “Luke”. The display “Checkwort” shows the bit word, the display “Checkliste” the number of the first open item (1 to 4) or 0 if everything is fulfilled. The light “Startfrei” is only lit with a complete list.

Hints

Hint 1

Bit 0 directly with sge word …, the others with ins word tmp N 1.

Hint 2

Hatch closed means Open is 0: seqz tmp tmp. A missing door returns NaN, and seqz of that is 0.

Hint 3

Find the first open item from back to front with ext and select.

Quiz

3 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