:time
2 n0 {! w& [" R( d: S# dis8 Z$ i4 }* |' J4 X% p7 e
do
3 e2 y8 T, b5 Y3 \8 Z7 j if @.name = "Materials"6 I5 S1 e1 p+ g" Z* F; b' s
then
9 K/ O. ]* F1 S4 {; ~* J" C result:=z_normal(1,330,120);
3 s1 c5 B; p! e% v; l" Z- C( Y elseif @.name = "Pallets"% J/ S, F8 R( D1 N
then ( w* R6 J4 ~4 I+ f
result:=z_normal(1,492,120);" g- _4 G; z. w5 f; L3 v
elseif @.name = "Charging"
0 M' Q4 R: }. A' y/ B- z1 w then
" h$ `' q" X* q/ {. i' X result:=z_uniform(1,240,480);' l+ g! B- M7 q% B" ?# G7 x
elseif @.name = "Endproduct"
) O- Z# _& C" d7 L4 q* a' ^ then 9 s5 U( c# B0 o' N# t/ M* n. q
result:=z_uniform(1,300,540);
+ K& Z0 b3 M. o* U8 Z$ N elseif @.name = "Waste"
! }8 B- S; N0 ^! H. [ then
2 A7 e8 x+ N- H0 X: I result:=z_normal(1,720,240);5 j( j" s( X) G, V% C! d$ A
end;
! }0 G0 N4 Q0 Eend;
! G2 b* J7 s. t' f6 B+ |' c
9 o7 t" Z5 D) G1 W4 P! @
, n- o1 [7 x" e$ I
. X& Z$ _: F2 M8 s4 C' ~ |