@@ -361,26 +361,26 @@ private static List<Location> getLocationsFromText(String text) {
361
361
362
362
private static List <Slot > generateDefaultEventSlots (String eventName ) {
363
363
var slots = new ArrayList <Slot >();
364
- slots .add (Slot .of (Pos .KAPITAEN ).withRequired ( ));
365
- slots .add (Slot .of (Pos .STM , Pos .KAPITAEN ).withRequired ( ));
366
- slots .add (Slot .of (Pos .STM , Pos .KAPITAEN ).withRequired ( ));
367
- slots .add (Slot .of (Pos .MASCHINIST ).withName ("1. Maschinist" ).withRequired ( ));
368
- slots .add (Slot .of (Pos .MASCHINIST ).withName ("2. Maschinist" ).withRequired ( ));
369
-
370
- slots .add (Slot .of (Pos .KOCH ).withRequired ( ));
371
- slots .add (Slot .of (Pos .AUSBILDER , Pos .STM ).withName ("Ausbilder" ).withRequired ( ));
372
- slots .add (Slot .of (Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
373
- slots .add (Slot .of (Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
374
- slots .add (Slot .of (Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
375
-
376
- slots . add ( Slot . of ( Pos . MATROSE , Pos . LEICHTMATROSE ). withRequired ());
377
- slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
378
- slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
379
- slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
380
- slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
381
-
382
- slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
383
- slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withRequired ( ));
364
+ slots .add (Slot .of (Pos .KAPITAEN ).withCriticality ( 2 ));
365
+ slots .add (Slot .of (Pos .STM , Pos .KAPITAEN ).withCriticality ( 2 ));
366
+ slots .add (Slot .of (Pos .STM , Pos .KAPITAEN ).withCriticality ( 1 ));
367
+ slots .add (Slot .of (Pos .MASCHINIST ).withName ("1. Maschinist" ).withCriticality ( 2 ));
368
+ slots .add (Slot .of (Pos .MASCHINIST ).withName ("2. Maschinist" ).withCriticality ( 2 ));
369
+
370
+ slots .add (Slot .of (Pos .KOCH ).withCriticality ( 1 ));
371
+ slots .add (Slot .of (Pos .AUSBILDER , Pos .STM ).withName ("Ausbilder" ).withCriticality ( 1 ));
372
+ slots .add (Slot .of (Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 2 ));
373
+ slots .add (Slot .of (Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 2 ));
374
+ slots .add (Slot .of (Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 2 ));
375
+ slots . add ( Slot . of ( Pos . MATROSE , Pos . LEICHTMATROSE ). withCriticality ( 2 ));
376
+
377
+ slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 1 ));
378
+ slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 1 ));
379
+ slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 1 ));
380
+ slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 1 ));
381
+
382
+ slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 1 ));
383
+ slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ).withCriticality ( 1 ));
384
384
slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ));
385
385
slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ));
386
386
slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE ));
@@ -395,7 +395,7 @@ private static List<Slot> generateDefaultEventSlots(String eventName) {
395
395
slots .add (Slot .of (Pos .DECKSHAND , Pos .MOA , Pos .NOA , Pos .MATROSE , Pos .LEICHTMATROSE , Pos .BACKSCHAFT ));
396
396
slots .add (Slot .of (Pos .STM , Pos .KAPITAEN , Pos .MATROSE , Pos .LEICHTMATROSE , Pos .DECKSHAND , Pos .MOA , Pos .NOA )
397
397
.withRequired ());
398
- slots .add (Slot .of (Pos .KOCH , Pos .MATROSE , Pos .LEICHTMATROSE , Pos .DECKSHAND , Pos .MOA , Pos .NOA ).withRequired ( ));
398
+ slots .add (Slot .of (Pos .KOCH , Pos .MATROSE , Pos .LEICHTMATROSE , Pos .DECKSHAND , Pos .MOA , Pos .NOA ).withCriticality ( 1 ));
399
399
400
400
for (int i = 0 ; i < slots .size (); i ++) {
401
401
slots .set (i , slots .get (i ).withOrder (i + 1 ));
0 commit comments