:time
- ~% {& u# }. ]5 h7 ois7 J! k4 k3 Y1 x" y( U* J3 b
do
4 I4 N& v2 z4 i5 Z: {: \ if @.name = "Materials"
' K6 ]# A! U% {( ~7 U then
1 `5 Q/ A$ }) Y: L' `, l7 Q. l result:=z_normal(1,330,120);
0 b2 l" `% x5 N$ U& X elseif @.name = "Pallets"4 d7 q' c7 o! Z: Y; ^3 ]
then ( z1 y+ }# t: Y# {- w- j( C3 }& e
result:=z_normal(1,492,120);
7 `7 S5 Q+ g& S- r1 \ elseif @.name = "Charging"
/ P% \& [; h' Q then
2 e; @* s) ~/ o$ ~ result:=z_uniform(1,240,480);
8 M; c8 f* t6 Z4 Y* B k elseif @.name = "Endproduct"# I5 R* i @# P1 m/ _
then ) g& O! z4 f$ P3 Q" S/ h0 I
result:=z_uniform(1,300,540);
- Q/ Q* b* E5 k: [ elseif @.name = "Waste"
" x% `! o& E0 f2 C2 W5 ^1 { then
- D% C5 h7 s. ~* Y( \ result:=z_normal(1,720,240);
, \8 U9 h3 B. ^% z8 u end;$ W) w7 G& O D7 t0 x7 L& {7 q
end;5 s I' z$ \- j+ k, K
7 x" c! L% }4 a* x# E4 R6 A0 A6 [, X0 |: S" F5 l, c' ?* O
2 ~. J6 k/ r# i: |4 J |