20 lines
1.2 KiB
Plaintext
20 lines
1.2 KiB
Plaintext
a="\n" c="Total" d="Shell:" e="Ore:" f=" Mln"
|
|
g=1000000 goto2+(:v1!=0)*(:v2!=0)*(:m1!=0)*(:m2!=0)
|
|
if:m1==:_1 thens=:p1 goto5 end if:m1==:_2 thens=:p2 goto5 end
|
|
if:m1==:_3 thens=:p3 end //P1=NPC shell P2=NPC ore
|
|
if:m2==:_4 theno=:p4 goto17 end if:m2==:_5 theno=:p5 goto17 end
|
|
if:m2==:_6 theno=:p6 goto17 end if:m2==:_7 theno=:p7 goto17 end
|
|
if:m2==:_8 theno=:p8 goto17 end if:m2==:_9 theno=:p9 goto17 end
|
|
if:m2==:_10 theno=:p10 goto17 end if:m2==:_11 theno=:p11 goto17 end
|
|
if:m2==:_12 theno=:p12 goto17 end if:m2==:_13 theno=:p13 goto17 end
|
|
if:m2==:_14 theno=:p14 goto17 end if:m2==:_15 theno=:p15 goto17 end
|
|
if:m2==:_16 theno=:p16 goto17 end if:m2==:_17 theno=:p17 goto17 end
|
|
if:m2==:_18 theno=:p18 goto17 end if:m2==:_19 theno=:p19 goto17 end
|
|
if:m2==:_20 theno=:p20 goto17 end if:m2==:_21 theno=:p21 goto17 end
|
|
if:m2==:_22 theno=:p22 goto17 end if:m2==:_23 theno=:p23 goto17 end
|
|
if:m2==:_24 theno=:p24 goto17 end if:m2==:_25 theno=:p25 goto17 end
|
|
if:m2==:_26 theno=:p26 goto17 else s=0 o=0 end
|
|
p1=((s*:v1)*:_pm)/g p2=((o*:v2)*:_pm)/g p3=(s*:v1)/g p4=(o*:v2)/g
|
|
p5=p1+p2 if :scan==0 then :_ore+=a+p5+f goto19 else goto18 end
|
|
p6=p3+p4 :price=a+d+a+p3+f+a+e+a+p4+f+a+c+a+p6+f
|
|
:m1=0 :m2=0 :v1=0 :v2=0 goto1 //P3=TTT shell P4=TTT ore |