From 23152493b1f205ec6158fbca99eedb90da1ec74e Mon Sep 17 00:00:00 2001 From: LA-DI-DA <11174151+0o0o0oooo00@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:42:06 +0800 Subject: [PATCH] Add: pick out auto research farming from more alas --- alas.py | 34 + .../SHIP_EXPERIENCE_COMMIT_1.png | Bin 0 -> 5682 bytes .../SHIP_EXPERIENCE_COMMIT_2.png | Bin 0 -> 5663 bytes .../SHIP_EXPERIENCE_COMPLETE_1.png | Bin 0 -> 6036 bytes .../SHIP_EXPERIENCE_COMPLETE_2.png | Bin 0 -> 6035 bytes .../SHIP_EXPERIENCE_FINISHED_1.png | Bin 0 -> 5505 bytes .../SHIP_EXPERIENCE_FINISHED_2.png | Bin 0 -> 5507 bytes .../SHIP_EXPERIENCE_PERCENT_1.png | Bin 0 -> 7169 bytes .../SHIP_EXPERIENCE_PERCENT_2.png | Bin 0 -> 7109 bytes config/template.json | 664 +++- module/campaign/run.py | 9 + module/config/argument/args.json | 3456 ++++++++++++----- module/config/argument/argument.yaml | 140 +- module/config/argument/dashboard.yaml | 3 +- module/config/argument/gui.yaml | 1 + module/config/argument/menu.json | 13 + module/config/argument/override.yaml | 23 + module/config/argument/task.yaml | 71 + module/config/config_generated.py | 85 +- module/config/config_manual.py | 4 +- module/config/i18n/en-US.json | 500 ++- module/config/i18n/ja-JP.json | 472 ++- module/config/i18n/zh-CN.json | 454 ++- module/config/i18n/zh-TW.json | 500 ++- module/gg_handler/gg_handler.py | 6 + module/research_farming/assets.py | 14 + module/research_farming/farming.py | 126 + 27 files changed, 5172 insertions(+), 1403 deletions(-) create mode 100644 assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_1.png create mode 100644 assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_2.png create mode 100644 assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_1.png create mode 100644 assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_2.png create mode 100644 assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_1.png create mode 100644 assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_2.png create mode 100644 assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_1.png create mode 100644 assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_2.png create mode 100644 module/research_farming/assets.py create mode 100644 module/research_farming/farming.py diff --git a/alas.py b/alas.py index 1e29b66b1..73b52243a 100644 --- a/alas.py +++ b/alas.py @@ -397,6 +397,40 @@ class AzurLaneAutoScript: from module.campaign.os_run import OSCampaignRun OSCampaignRun(config=self.config, device=self.device).opsi_cross_month() + def research_farming_setting(self): + from module.research_farming.farming import ResearchFarming + ResearchFarming(config=self.config, device=self.device).run() + + def research_farm(self): + from module.campaign.run import CampaignRun + CampaignRun(config=self.config, device=self.device).run( + name=self.config.Campaign_Name, folder=self.config.Campaign_Event, mode=self.config.Campaign_Mode) + + def research_farm2(self): + from module.campaign.run import CampaignRun + CampaignRun(config=self.config, device=self.device).run( + name=self.config.Campaign_Name, folder=self.config.Campaign_Event, mode=self.config.Campaign_Mode) + + def research_farm3(self): + from module.campaign.run import CampaignRun + CampaignRun(config=self.config, device=self.device).run( + name=self.config.Campaign_Name, folder=self.config.Campaign_Event, mode=self.config.Campaign_Mode) + + def research_farm4(self): + from module.campaign.run import CampaignRun + CampaignRun(config=self.config, device=self.device).run( + name=self.config.Campaign_Name, folder=self.config.Campaign_Event, mode=self.config.Campaign_Mode) + + def research_farm5(self): + from module.campaign.run import CampaignRun + CampaignRun(config=self.config, device=self.device).run( + name=self.config.Campaign_Name, folder=self.config.Campaign_Event, mode=self.config.Campaign_Mode) + + def research_farm6(self): + from module.campaign.run import CampaignRun + CampaignRun(config=self.config, device=self.device).run( + name=self.config.Campaign_Name, folder=self.config.Campaign_Event, mode=self.config.Campaign_Mode) + def main(self): from module.campaign.run import CampaignRun CampaignRun(config=self.config, device=self.device).run( diff --git a/assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_1.png b/assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_1.png new file mode 100644 index 0000000000000000000000000000000000000000..73996664623b8555ae6b486858a0094b1c6037a6 GIT binary patch literal 5682 zcmeAS@N?(olHy`uVBq!ia0y~yU z91VoglrWkdM$3fJf^oEV7_A~l+X=vua5NA`17WmfOwI1Ww7uYN$$|B6zuW)+d4qfT z%(q+4&e?X;@A%BiXRL1L+^@HiIW&7S*Y>ruU|ICUg`Gi#*Z&-`53pvU&pk_l}8@91a$#Tzuj z%@er|!0xeH|2KM_-JKo=s83dNRDA8ZZ7>xi`6kEK{lMeQXEkq+zb^V()opO!72>Wu znQ1d0uQ6V3{_bDsrn-(yP=F-FpKpDY*?K=QEiE!VZTFgA(euLD_ic=wkuL=9HtyhG z@ARNMee=18Y^tw+Tsw7WhraRW()W%aix}n~);$2C1=PS{=r9B99EL=Qqgyx|MkPlB u0hk6x17S1}M#}_-(Si|FAB?ox;V*k%QJiave*>thX7F_Nb6Mw<&;$UU-?jw+ literal 0 HcmV?d00001 diff --git a/assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_2.png b/assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_2.png new file mode 100644 index 0000000000000000000000000000000000000000..0b1a7576b49af3373556e44a1b8c7b5a72bf91c1 GIT binary patch literal 5663 zcmeAS@N?(olHy`uVBq!ia0y~yUr+KWr>!Jhig>+V@$ejRkZMeNGXJ#Y z+YC;;7_k zAdIGj(d;l`RvN@jknTnZ!7*Vd*#> zK-Nv$aQ3w4-fsWje=FzZ-%tB?`S91D`L$0q_iyKD0Lkk-3_WoB{rTtL-`+km=lrMH ze;;m)3w?bzM-(Lax`M0j_L=zQ_3z~M4$VJaWADPi0u)Z*y#4p@nK{os&fR-_{?yfn zyS4Lw)x8FFo*53@wETD0;{5wr5ZlEz-mPNvWK(4XN=3Bn+<#sH+`ZkSjHjqs}Ow{NU;NnmN!Q<105dF20k$r%!-U0I06vYfOmt<@*1< z#$bCQ4kz}ku4RHqZRKbTPt^unHMyu%bekYZz3Ls=bIbqEO-uXsc3HM2#B~v;?w&dG z@P`)DJiYzT@9sN$raxLALs+BZctc_^^DnQ#qm&(< Sljn(p3UW_ZKbLh*2~7a|s|6NoCoGpI?%At?v%77pZ?b=bEmTGzPXG++8y>fBy>i_Wn12TiG^LKYeQdmAazr zjIUm)sXH^6@%sFMx(v(i-nJ*NF5P$RIk9VC`f^s@fTN9f^>X`A+DXkL#b92=8-JVp z%{G^mZz_!pLq(cQ7{k+uivT~~!!H)3Ccye?R!>S_J^-W>a(ooXN-dkx_od|f?4Fd6 zn;un*CG-38qH(vfXueJ@Ilb7?rFtNzQUMt3<=p#@aMxEmq%3s z>cABQ(RwB78T~-N-{0%(;9GE>LFvCNf{SGK+Q=q4}z`_aK z*ACn(&NxoIoFmWO2v0)VF?lWQi}SJPwPCk0pjEB!t$!OAvx}7_{Af(iOa>C%>l|A= zggSMZO4RqMh9jCmJdjo9F&VqsILH~9!Wcd^f|MeH#543(ZQF8@sGXi8lbQ1k`HFU@ zPvp01H=dz~)aNcG<`I=hg+^b}#~r^cT8?gX%Yv-on4wu7jkK&N7rdH4|EALJdi)WX zYqwbOU^95r40Re2^B2-5kMY$hO2Tc9h6RoAvE*#dRx0l*j%RPBY|<}@Mx&%-0o*bSDzl?P7t8IUj0<+W)UJgA zhAm5&ei-bARzBb|69>a7)Kch0wBp8TD>i9X+FQe#-K&niNY`R%X}wqf2K{tDoIJnZ zIbY6s&hI?G=Ujf{Wc8k`=dvIO+EZIoSr0)^&|${U+$U*pXo&_IGTUpUDhSH{ff<}@ zhqCh_D6guvviz+ceSnaBp-?`%xcE|_bmG$4s7oRS6l|1!=?0!X2zm!|^ z;=6|{HV#`~cO4w;>#e_J=2SV0`|o63Y~5F0bdj5ROD=a3jj|(e$}U-DXhUxK;3wgT zT8?B#43W=JWUd+BvH{I5dMnTY?H_(06F}kBeGrGn!V}PL8v4pOIn4CZ?qdvabJ<0f z1hx{`=Rns0O9D#*+a1^z$@&D=EYV8%ACoY>aP?oWnhvhiiG(n`0z}iT)V+@bqU2A4 zga!`r9Nr7(V59H;cmROA!TAAy=t}Po?sZTNYm=xJr)MHrw?N*X( zj&(;YCi`a5jM8j~gB$q;ABnXYg*1iX%U|;fYy%qj6h3FSE+Zogm;`@0LaqYS5MtT- zO|aMd4rP_JAxAOw=BA+8JdfFY0@N}C2tPJZ=a6aNH}G+b{R*x(r93uwatQxMqYWp! z+K5;6=3WAHA=xoxN~G(VwWK%K!Jok%sZ0G=vSgJ=5+$BMDV$dz)E^&JHfhfpJ}3qI zpGWQXM%|3zsD-~_5a_X%(0N}M)_8j!pA~D@cqkQI7bHSKpQJ}2q#S`^bmvTWI&hcX zPUr0M%?QtcwIovW&S~}eq$HJdfZInOa*=QU4v4gB!||&QZ#)6^>W-+W9@R6y@J_qp zp02#dB|4qqCjJ%ny}xs6=PXI)k4fv4vh4?gQ}_b*Wu48d)fhY|UcfPWu&9E(mkS$l zToYP)?UAUxjSQb9qrXRCejyX&9E37x zICdT4GU=Ir?hhKw>|-)^ktKnx1c-eOj2N(*z>>gr2ew7BKH+~dOFO%e)4#TZ!3G5* OzqM5-E2k>t{eJ^k6_E1) literal 0 HcmV?d00001 diff --git a/assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_1.png b/assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_1.png new file mode 100644 index 0000000000000000000000000000000000000000..b17a1d51c27afd1b1b1a390bc3dce4668a02c12b GIT binary patch literal 5505 zcmeAS@N?(olHy`uVBq!ia0y~yUynX_N7im&{1_V?%cXU?1j+Q7iz`JK-e%-CVeqyS>Ha5jJ_0W}6D zAmuQFfdj-%9F-gmgwd2RoU+4>cNds}Ir~BVp6V*g+jVK*vag+q*;i#7o`3J$_4D)7 z&YEq$W>fk9;RR#HzCLaTpwf3Ox!2C*ojr5rWnG%J?cBEyf1YV}-#mBj`JCI0;!HB? zi~C zwxNC}0}Ie4ei6TCZv8L%^IG27qnn=>|NnUO%=g!k_t!l?-uRtSX7%KmJ1xI})8K=$ z9Uu)14F(`985j@b=g tK&@w33w^Xq7%dY<%Y@PFFx<+7-<(|$21RQXkGu!@%+uA+Wt~$(69AmiJZAs^ literal 0 HcmV?d00001 diff --git a/assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_2.png b/assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_2.png new file mode 100644 index 0000000000000000000000000000000000000000..eda3708674f975d0312083a141a6743e0406df51 GIT binary patch literal 5507 zcmeAS@N?(olHy`uVBq!ia0y~yUoG(Heo!{VJAbR(5B zlWE$&qx>5?%!H1p`8<0(=bP#Fe>>jqojh}=9MB2|g_j2xvV#~5@A?=xKy)IL0*Gqi zYyeRLY79(3%3;Q+7Ofq=iUG~1aU6h!|YUp~Eg zW@*~B)M+yR^}--M3<^FBEI_KkV15IT zDzNz%!+h^dP3`ZrY4621+uZwaS0X9#zzlBw8uN+yH+71Cz4~fXQ)g9NYI*u<|If

%w-RA;9Kf8?OV1=0LN9Q2-=*2<(zk$W literal 0 HcmV?d00001 diff --git a/assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_1.png b/assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_1.png new file mode 100644 index 0000000000000000000000000000000000000000..194470deae0f396232a5f3d107b5abd9aaf772a0 GIT binary patch literal 7169 zcmeI1`&-gk9>=kn9qnT7GhGb|EwbGwyU3V{Al8_pY=%D7Y8qw=qm!v5l)}ixsZDG0 z7EWp_VQuTQ`)J^0H1Pr^5E!De@XP)c{BWN4`TTI6=RD_p&gXnS zug~pRY^3M99qT|KkS8YU#Ay)dPmbxD*B)OvL`I*AbI95&Q3+%aXyXg#aJ#pEBNzk% zw_r{jKTBcjrebcfH7USCa_?rj+m^KFZfn18^l_^{;eKyNM!45$@$-X-(dqCx`H6Ke z#l9HdqSxV%9=QXazXu3jpf}GQ`y%MKhr1^G-JcB~uRAz;)(uQ(Jho3%b{8s25CUbP=-#^I`u${f#xeFu5s)Qbav^(3dcDCT`_nRI5jpJ^rb@z zQrGx6&CQ!YZVq`^4f1fBFTXtIl)w0aoXd{|xc%8_{=BxpDXyiiV{*BK>*ctj1nB2e z`bB3Loz6xr{a(g`iBf9kJLfT!Cc8-aQ_Oga*$+PnK5Ex_VoG;;nx4i@?-RkEn$yl0J30eaW0Sm;`BV+TK=rCCX?rT=*Lc*8x|} z933WQ9Vzk^-{)nkw7_r$jAu_hz)P;#i`nHJWSmPL%##vvuqs|Od9_>BThyXk5awMo zFJHRQ4exy4{woIS3AR4Z(;Uq_zmZMT)U~2kN&?Ezzx|lmY!~plk4X7;&H=z?q1hKd zS1(&n0;G!g&N{7bjuyjhqRaPGoS$2`G>Dg(59?R7xxA`~IN_ZeyjLR1V)BKq8MJV{ zUFY~jVzUMO9O752U5pGtL~(HN8lA`2c{|;_YQA4A^8x(u9C|9}8%0zh#;A7}*OjPV z+z^*xxtc#N&r)X;BXAgXsmY8ojRxMAkhP>{0fLZK$zB=$kwe=})s?7PkB+qUp&1$G z9s7VTa!Tk3nw`cW1YtO+Zb2*EGGHcNESQ>}b2%Xa*uk*T@{} zcW{Xs!GMbot0yN0a+=TSjvnMyAf=~}wRuduO&UIJUNj4ujM9ZXS|XIBIDB%6v3Yogk!M|cX_St@wu`c8TNV`{W?ee(1Q{hSUdsHS{iePbnXqq zAp}^$Ns^_;gjzjEvMN=8>=cb5ytRMkX@Y( zuJD&Fd_;xWhg!jE#^PmZ8-O@l+A&o?`_JV}O~_yUbctN{#`%OU5;sN+caAb*lr zdlLcUm$a7DUPnrsCiaIEjX_mN1#{ma!Bu^wY)QgSbzFJDfjcl!#+DChZI9&)+bLFb zAAvlX6vE}*nusQ4b_MXGSu_?QOEO>QtBk}K@;tr6M*HXQy`SEa3B)gMU~j+_5(1yVzB7JaK!d26M=ax22 zKW)k7i|$aS z<^IcZNR07$``qpk(c9evK%TBsxtE*iA3whn3P-_DZdH<~?+EPye)_{Wd*^_-Isi{n zjptsR@P52CVdZHKOVP=Q4L35!x;^IJR!f?fPdg6T6RAPzKYyXKwj)26i1a!rkCRVt zcvqNmmu}GHMb5sl*yxbAaUC5)wrKhDs%#qfK(4#inu-&|dtsaj>onQ$2Fhtq$3rRh z9)hsfs=Pa2{2 zuH~)o$=iy$mU{ig7DhZUlR#bmiMncusVw8rvnz9C=i&h^7b$;0y~wFWHPciwPH3fh zCq6riNjW0-s#-kRHAcbct+vI7=1cjqF*$wl&M%#i;KfkcXpvOyOTEAF7I+Oaz39z@FfKd-3}J06u6lS^xk5 literal 0 HcmV?d00001 diff --git a/assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_2.png b/assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_2.png new file mode 100644 index 0000000000000000000000000000000000000000..076a0e95d5c0e0bfb860088aa5b0796a7464a7ce GIT binary patch literal 7109 zcmeI0{a4ai9>=k%u}7P>ovd^ulW;nj3Z_KjLra#JVe?Q9X_;a;Ci#S=2&k<`tr?TT zV~Qfywhy(2wh}6-P%(mp$dm_*48K_jktqs+;1dhGf5h$&{BY0v-XHEc_kQlZpU?Zg zt{%r8*|2u|S`Y}d0TX-Zdk|=qqr2kw)n7V9K~tY}$eP?(90>&S_|4he>h^eefk0k` zm_rADEMiTm6YeJKQpMwl)U_GW75p9LD>wXf7X9P-D{)_(xV>(7(RY_Uk7YgyTlvdq z%;dwj2b$i+?8dBlc%mowP4wxEO=(`+8>4T>`Nr&SIJM6G4-f9G4I4Ns`no&U@b0Pi zhv-KQeEVPb*y1{tH5245FO)2jz$9lf`) z^kNHD*EO$#wfbQ^76n%j8OiFnz}`@Ke<2~9K5;$0p&D6OJg7=h4Fp4)lF(yRO5?gH zpAP<3cuK_IhamuYI*y?+R-w<#FP|Fm6b*HTw5SI|guELN@|2mkC{yAX8bqZWW%oDH zOkSSSx{d$fTQBA7`&2_LyPj``NaxP9XqC!Y3TGEGl&DojH5w?NBoR^6i3uKR$=dJ( zJ>BfhOhI57y%zC4&yoX4HFFE5_3kLU7-lQ4rvtV-R!nbTHom&tU>lD&ynR*vMw;wl z!28^bcsb)ARiwus`A} z#{zSp{$T8xA|e~#E;n)PEW%Hagb0|zv!#J>fT=U~phvnGJU=NnrBQbeXwoIwS-tay zp4}gQ(4Dm2ilZ0+`Lq2sF9AC6Lb8e!MJM(5584A-I-^WbcYgXc(zJ8F_lHHMqbRf znfk$d6;XinfB5&@3gz&On2u^sahnI+~PqLD42pTsoevHl$sIJI*uM& zKrU*~E#++?){ z;8-B-B6(C_r9)nVt6s&A5D;v@=2;7qnOLk{?In~!sYJZ^@wu;Omj~H@4rK|Vg{YD_ zCq@Ny6Qq4nQlKklMK-eLB@-hiiUr)^zmFrP>ic=sWYANioDI~z!Tl_}O8M7cENv}# zn0%tJ=3H_5U;(4~>-(7e#es$(Hcr-m)QeBOayzn4lTnz(cJ8vPnP#k59BoN?1Ps5e zeHaUeiZW_;q2U7BMO;#i_X9)2`d@v?1vja|fr;fqmTGR@`Xd=qG}>q(h*NoRgNBHc zY{5X$VtQDu9EOaP<)-uJvm4~_Gq2-oIPlk1(p&=4YPD$DT@O8EvsBYEvca+JEe6HI;Vy_ z**IA+RYcL{3nNyOV)Ju=E2TY|mv}}}e5EQ#x2JTTFeIdo{;MGA_yJ*f2-Gfx3isd9AIOopF`9o_v}uw?k5 zl^kGU2NkxjR1@DcotBKAUR5+@i_ETeZ!1%05|fi^@&*>nkJU8C^2#8xyB8r+Jlgm? zG%qLI`UzK2zZo<3P5p&);Q@O)dTD@wf}I`L=C1;-`ik_pj;-~wR;b7f%cG|*(CTYp zc(G4JMJ zzDsiI!qzPd2|e7>Y|%lw#CJ;5K1y3R!|^GsA3IM~1X$elwzT*y?uVwlzHMt=zJ4cij!$OWxiArNU@lOeKWjb_*#t>g zN;TdALp@6m$cbSJ#4;SY{QIf4_{v_RS@Y~<{=1)zgCsoGL#EiYXnaY}pko z4j9xvqsEg>OPX-NC*&JOqP=(^D=P9v4y#3{xr0ArdvZN-49SKdDFtj{1h>~C#riS8 z>m`){bn=u|O#V2>w_ULRsD=7mrv1oWr|@ppWeNGcW?5;JOl%=#^Zq&ealf3}5w6v% zP$}VkZ|sHaD1jklxpHc%CFRbTfG!B=f`Bdv=z@SQ f2>Aa90hhtgj_)`~tg|#b4ICy0d#LSCXaD?fy!ZcF literal 0 HcmV?d00001 diff --git a/config/template.json b/config/template.json index ac3207dea..bee32cf05 100644 --- a/config/template.json +++ b/config/template.json @@ -137,17 +137,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -211,17 +201,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -285,17 +265,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -380,6 +350,472 @@ "Storage": {} } }, + "ResearchFarmingSetting": { + "Scheduler": { + "Enable": false, + "NextRun": "2020-01-01 00:00:00", + "Command": "ResearchFarmingSetting", + "SuccessInterval": 0, + "FailureInterval": 120, + "ServerUpdate": "00:00" + }, + "ResearchFarmingSetting": { + "OilLimit": 3000, + "ResearchSeries": 1, + "ShipIndex": 1, + "ExperienceIndex": 1, + "CheckInterval": 5, + "CurrentCampaignTimes": 0, + "OnepushNotify": true + }, + "ResearchFarm1Setting": { + "Enable": false, + "Campaign": "12-4", + "Fleet1": 1, + "EmotionValue": 119, + "EmotionControlMethod": "calculate", + "Fleet1Control": "prevent_yellow_face", + "Fleet1Recover": "not_in_dormitory", + "Fleet2": 2 + }, + "ResearchFarm2Setting": { + "Enable": false, + "Campaign": "12-4", + "Fleet1": 1, + "EmotionValue": 119, + "EmotionControlMethod": "calculate", + "Fleet1Control": "prevent_yellow_face", + "Fleet1Recover": "not_in_dormitory", + "Fleet2": 2 + }, + "ResearchFarm3Setting": { + "Enable": false, + "Campaign": "12-4", + "Fleet1": 1, + "EmotionValue": 119, + "EmotionControlMethod": "calculate", + "Fleet1Control": "prevent_yellow_face", + "Fleet1Recover": "not_in_dormitory", + "Fleet2": 2 + }, + "ResearchFarm4Setting": { + "Enable": false, + "Campaign": "12-4", + "Fleet1": 1, + "EmotionValue": 119, + "EmotionControlMethod": "calculate", + "Fleet1Control": "prevent_yellow_face", + "Fleet1Recover": "not_in_dormitory", + "Fleet2": 2 + }, + "ResearchFarm5Setting": { + "Enable": false, + "Campaign": "12-4", + "Fleet1": 1, + "EmotionValue": 119, + "EmotionControlMethod": "calculate", + "Fleet1Control": "prevent_yellow_face", + "Fleet1Recover": "not_in_dormitory", + "Fleet2": 2 + }, + "ResearchFarm6Setting": { + "Enable": false, + "Campaign": "12-4", + "Fleet1": 1, + "EmotionValue": 119, + "EmotionControlMethod": "calculate", + "Fleet1Control": "prevent_yellow_face", + "Fleet1Recover": "not_in_dormitory", + "Fleet2": 2 + }, + "Storage": { + "Storage": {} + } + }, + "ResearchFarm": { + "Scheduler": { + "Enable": false, + "NextRun": "2020-01-01 00:00:00", + "Command": "ResearchFarm", + "SuccessInterval": 0, + "FailureInterval": 120, + "ServerUpdate": "00:00" + }, + "Campaign": { + "Name": "12-4", + "Event": "campaign_main", + "Mode": "normal", + "UseClearMode": true, + "UseFleetLock": true, + "UseAutoSearch": true, + "Use2xBook": false, + "AmbushEvade": true + }, + "StopCondition": { + "OilLimit": 1000, + "RunCount": 0, + "MapAchievement": "non_stop", + "StageIncrease": false, + "GetNewShip": false, + "ReachLevel": 0 + }, + "Fleet": { + "Fleet1": 1, + "Fleet1Formation": "double_line", + "Fleet1Mode": "combat_auto", + "Fleet1Step": 3, + "Fleet2": 2, + "Fleet2Formation": "double_line", + "Fleet2Mode": "combat_auto", + "Fleet2Step": 2, + "FleetOrder": "fleet1_mob_fleet2_boss" + }, + "Submarine": { + "Fleet": 0, + "Mode": "do_not_use", + "AutoSearchMode": "sub_standby", + "DistanceToBoss": "2_grid_to_boss" + }, + "Emotion": { + "Mode": "calculate" + }, + "HpControl": { + "UseHpBalance": false, + "UseEmergencyRepair": false, + "UseLowHpRetreat": false, + "HpBalanceThreshold": 0.2, + "HpBalanceWeight": "1000, 1000, 1000", + "RepairUseSingleThreshold": 0.3, + "RepairUseMultiThreshold": 0.6, + "LowHpRetreatThreshold": 0.3 + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": "default_mode" + }, + "Storage": { + "Storage": {} + } + }, + "ResearchFarm2": { + "Scheduler": { + "Enable": false, + "NextRun": "2020-01-01 00:00:00", + "Command": "ResearchFarm2", + "SuccessInterval": 0, + "FailureInterval": 120, + "ServerUpdate": "00:00" + }, + "Campaign": { + "Name": "12-4", + "Event": "campaign_main", + "Mode": "normal", + "UseClearMode": true, + "UseFleetLock": true, + "UseAutoSearch": true, + "Use2xBook": false, + "AmbushEvade": true + }, + "StopCondition": { + "OilLimit": 1000, + "RunCount": 0, + "MapAchievement": "non_stop", + "StageIncrease": false, + "GetNewShip": false, + "ReachLevel": 0 + }, + "Fleet": { + "Fleet1": 1, + "Fleet1Formation": "double_line", + "Fleet1Mode": "combat_auto", + "Fleet1Step": 3, + "Fleet2": 2, + "Fleet2Formation": "double_line", + "Fleet2Mode": "combat_auto", + "Fleet2Step": 2, + "FleetOrder": "fleet1_mob_fleet2_boss" + }, + "Submarine": { + "Fleet": 0, + "Mode": "do_not_use", + "AutoSearchMode": "sub_standby", + "DistanceToBoss": "2_grid_to_boss" + }, + "Emotion": { + "Mode": "calculate" + }, + "HpControl": { + "UseHpBalance": false, + "UseEmergencyRepair": false, + "UseLowHpRetreat": false, + "HpBalanceThreshold": 0.2, + "HpBalanceWeight": "1000, 1000, 1000", + "RepairUseSingleThreshold": 0.3, + "RepairUseMultiThreshold": 0.6, + "LowHpRetreatThreshold": 0.3 + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": "default_mode" + }, + "Storage": { + "Storage": {} + } + }, + "ResearchFarm3": { + "Scheduler": { + "Enable": false, + "NextRun": "2020-01-01 00:00:00", + "Command": "ResearchFarm3", + "SuccessInterval": 0, + "FailureInterval": 120, + "ServerUpdate": "00:00" + }, + "Campaign": { + "Name": "12-4", + "Event": "campaign_main", + "Mode": "normal", + "UseClearMode": true, + "UseFleetLock": true, + "UseAutoSearch": true, + "Use2xBook": false, + "AmbushEvade": true + }, + "StopCondition": { + "OilLimit": 1000, + "RunCount": 0, + "MapAchievement": "non_stop", + "StageIncrease": false, + "GetNewShip": false, + "ReachLevel": 0 + }, + "Fleet": { + "Fleet1": 1, + "Fleet1Formation": "double_line", + "Fleet1Mode": "combat_auto", + "Fleet1Step": 3, + "Fleet2": 2, + "Fleet2Formation": "double_line", + "Fleet2Mode": "combat_auto", + "Fleet2Step": 2, + "FleetOrder": "fleet1_mob_fleet2_boss" + }, + "Submarine": { + "Fleet": 0, + "Mode": "do_not_use", + "AutoSearchMode": "sub_standby", + "DistanceToBoss": "2_grid_to_boss" + }, + "Emotion": { + "Mode": "calculate" + }, + "HpControl": { + "UseHpBalance": false, + "UseEmergencyRepair": false, + "UseLowHpRetreat": false, + "HpBalanceThreshold": 0.2, + "HpBalanceWeight": "1000, 1000, 1000", + "RepairUseSingleThreshold": 0.3, + "RepairUseMultiThreshold": 0.6, + "LowHpRetreatThreshold": 0.3 + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": "default_mode" + }, + "Storage": { + "Storage": {} + } + }, + "ResearchFarm4": { + "Scheduler": { + "Enable": false, + "NextRun": "2020-01-01 00:00:00", + "Command": "ResearchFarm4", + "SuccessInterval": 0, + "FailureInterval": 120, + "ServerUpdate": "00:00" + }, + "Campaign": { + "Name": "12-4", + "Event": "campaign_main", + "Mode": "normal", + "UseClearMode": true, + "UseFleetLock": true, + "UseAutoSearch": true, + "Use2xBook": false, + "AmbushEvade": true + }, + "StopCondition": { + "OilLimit": 1000, + "RunCount": 0, + "MapAchievement": "non_stop", + "StageIncrease": false, + "GetNewShip": false, + "ReachLevel": 0 + }, + "Fleet": { + "Fleet1": 1, + "Fleet1Formation": "double_line", + "Fleet1Mode": "combat_auto", + "Fleet1Step": 3, + "Fleet2": 2, + "Fleet2Formation": "double_line", + "Fleet2Mode": "combat_auto", + "Fleet2Step": 2, + "FleetOrder": "fleet1_mob_fleet2_boss" + }, + "Submarine": { + "Fleet": 0, + "Mode": "do_not_use", + "AutoSearchMode": "sub_standby", + "DistanceToBoss": "2_grid_to_boss" + }, + "Emotion": { + "Mode": "calculate" + }, + "HpControl": { + "UseHpBalance": false, + "UseEmergencyRepair": false, + "UseLowHpRetreat": false, + "HpBalanceThreshold": 0.2, + "HpBalanceWeight": "1000, 1000, 1000", + "RepairUseSingleThreshold": 0.3, + "RepairUseMultiThreshold": 0.6, + "LowHpRetreatThreshold": 0.3 + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": "default_mode" + }, + "Storage": { + "Storage": {} + } + }, + "ResearchFarm5": { + "Scheduler": { + "Enable": false, + "NextRun": "2020-01-01 00:00:00", + "Command": "ResearchFarm5", + "SuccessInterval": 0, + "FailureInterval": 120, + "ServerUpdate": "00:00" + }, + "Campaign": { + "Name": "12-4", + "Event": "campaign_main", + "Mode": "normal", + "UseClearMode": true, + "UseFleetLock": true, + "UseAutoSearch": true, + "Use2xBook": false, + "AmbushEvade": true + }, + "StopCondition": { + "OilLimit": 1000, + "RunCount": 0, + "MapAchievement": "non_stop", + "StageIncrease": false, + "GetNewShip": false, + "ReachLevel": 0 + }, + "Fleet": { + "Fleet1": 1, + "Fleet1Formation": "double_line", + "Fleet1Mode": "combat_auto", + "Fleet1Step": 3, + "Fleet2": 2, + "Fleet2Formation": "double_line", + "Fleet2Mode": "combat_auto", + "Fleet2Step": 2, + "FleetOrder": "fleet1_mob_fleet2_boss" + }, + "Submarine": { + "Fleet": 0, + "Mode": "do_not_use", + "AutoSearchMode": "sub_standby", + "DistanceToBoss": "2_grid_to_boss" + }, + "Emotion": { + "Mode": "calculate" + }, + "HpControl": { + "UseHpBalance": false, + "UseEmergencyRepair": false, + "UseLowHpRetreat": false, + "HpBalanceThreshold": 0.2, + "HpBalanceWeight": "1000, 1000, 1000", + "RepairUseSingleThreshold": 0.3, + "RepairUseMultiThreshold": 0.6, + "LowHpRetreatThreshold": 0.3 + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": "default_mode" + }, + "Storage": { + "Storage": {} + } + }, + "ResearchFarm6": { + "Scheduler": { + "Enable": false, + "NextRun": "2020-01-01 00:00:00", + "Command": "ResearchFarm6", + "SuccessInterval": 0, + "FailureInterval": 120, + "ServerUpdate": "00:00" + }, + "Campaign": { + "Name": "12-4", + "Event": "campaign_main", + "Mode": "normal", + "UseClearMode": true, + "UseFleetLock": true, + "UseAutoSearch": true, + "Use2xBook": false, + "AmbushEvade": true + }, + "StopCondition": { + "OilLimit": 1000, + "RunCount": 0, + "MapAchievement": "non_stop", + "StageIncrease": false, + "GetNewShip": false, + "ReachLevel": 0 + }, + "Fleet": { + "Fleet1": 1, + "Fleet1Formation": "double_line", + "Fleet1Mode": "combat_auto", + "Fleet1Step": 3, + "Fleet2": 2, + "Fleet2Formation": "double_line", + "Fleet2Mode": "combat_auto", + "Fleet2Step": 2, + "FleetOrder": "fleet1_mob_fleet2_boss" + }, + "Submarine": { + "Fleet": 0, + "Mode": "do_not_use", + "AutoSearchMode": "sub_standby", + "DistanceToBoss": "2_grid_to_boss" + }, + "Emotion": { + "Mode": "calculate" + }, + "HpControl": { + "UseHpBalance": false, + "UseEmergencyRepair": false, + "UseLowHpRetreat": false, + "HpBalanceThreshold": 0.2, + "HpBalanceWeight": "1000, 1000, 1000", + "RepairUseSingleThreshold": 0.3, + "RepairUseMultiThreshold": 0.6, + "LowHpRetreatThreshold": 0.3 + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": "default_mode" + }, + "Storage": { + "Storage": {} + } + }, "EventGeneral": { "EventGeneral": { "PtLimit": 0, @@ -439,17 +875,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -513,17 +939,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -587,17 +1003,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -648,17 +1054,7 @@ "ReachLevel": 0 }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "Storage": { "Storage": {} @@ -696,17 +1092,7 @@ "ReachLevel": 0 }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "Storage": { "Storage": {} @@ -773,17 +1159,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -851,17 +1227,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -929,17 +1295,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -1007,17 +1363,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -1085,17 +1431,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -1159,17 +1495,7 @@ "DistanceToBoss": "2_grid_to_boss" }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "HpControl": { "UseHpBalance": false, @@ -1219,17 +1545,7 @@ "ReachLevel": 0 }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "Storage": { "Storage": {} @@ -1267,17 +1583,7 @@ "ReachLevel": 0 }, "Emotion": { - "Mode": "calculate", - "Fleet1Value": 119, - "Fleet1Record": "2020-01-01 00:00:00", - "Fleet1Control": "prevent_yellow_face", - "Fleet1Recover": "not_in_dormitory", - "Fleet1Oath": false, - "Fleet2Value": 119, - "Fleet2Record": "2020-01-01 00:00:00", - "Fleet2Control": "prevent_yellow_face", - "Fleet2Recover": "not_in_dormitory", - "Fleet2Oath": false + "Mode": "calculate" }, "Storage": { "Storage": {} @@ -2102,6 +2408,12 @@ "Color": "^AAAAAA", "Record": "2020-01-01 00:00:00" }, + "ResearchPercent": { + "Value": 0, + "Limit": 100, + "Color": "^00AA00", + "Record": "2020-01-01 00:00:00" + }, "Storage": { "Storage": {} } diff --git a/module/campaign/run.py b/module/campaign/run.py index 6efbd8030..734a31c53 100644 --- a/module/campaign/run.py +++ b/module/campaign/run.py @@ -403,6 +403,15 @@ class CampaignRun(CampaignEvent, ShopStatus): self.device.click_record_clear() try: self.campaign.run() + if self.config.task.command in ['ResearchFarm', 'ResearchFarm2', 'ResearchFarm3', 'ResearchFarm4', 'ResearchFarm5', 'ResearchFarm6']: + CurrentTimes = deep_get(self.config.data, "ResearchFarmingSetting.ResearchFarmingSetting.CurrentCampaignTimes") + 1 + CheckInterval = deep_get(self.config.data, "ResearchFarmingSetting.ResearchFarmingSetting.CheckInterval") + self.config.modified["ResearchFarmingSetting.ResearchFarmingSetting.CurrentCampaignTimes"] = CurrentTimes + if CurrentTimes % CheckInterval == 0: + from module.research_farming.farming import ResearchFarming + ResearchFarming(config=self.config, device=self.device).CheckResearchShipExperience() + self.config.update() + except ScriptEnd as e: logger.hr('Script end') logger.info(str(e)) diff --git a/module/config/argument/args.json b/module/config/argument/args.json index c7c5e6a81..f1250f303 100644 --- a/module/config/argument/args.json +++ b/module/config/argument/args.json @@ -721,72 +721,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -1098,72 +1032,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -1475,72 +1343,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -2121,6 +1923,2370 @@ } } }, + "ResearchFarmingSetting": { + "Scheduler": { + "Enable": { + "type": "checkbox", + "value": false, + "option": [ + true, + false + ] + }, + "NextRun": { + "type": "datetime", + "value": "2020-01-01 00:00:00", + "validate": "datetime" + }, + "Command": { + "type": "input", + "value": "ResearchFarmingSetting", + "display": "hide" + }, + "SuccessInterval": { + "type": "input", + "value": 0, + "display": "hide" + }, + "FailureInterval": { + "type": "input", + "value": 120, + "display": "hide" + }, + "ServerUpdate": { + "type": "input", + "value": "00:00", + "display": "hide" + } + }, + "ResearchFarmingSetting": { + "OilLimit": { + "type": "input", + "value": 3000 + }, + "ResearchSeries": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "ShipIndex": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "ExperienceIndex": { + "type": "select", + "value": 1, + "option": [ + 0, + 1, + 2 + ] + }, + "CheckInterval": { + "type": "input", + "value": 5 + }, + "CurrentCampaignTimes": { + "type": "input", + "value": 0 + }, + "OnepushNotify": { + "type": "checkbox", + "value": true + } + }, + "ResearchFarm1Setting": { + "Enable": { + "type": "checkbox", + "value": false + }, + "Campaign": { + "type": "input", + "value": "12-4" + }, + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "EmotionValue": { + "type": "input", + "value": 119 + }, + "EmotionControlMethod": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + }, + "Fleet1Control": { + "type": "select", + "value": "prevent_yellow_face", + "option": [ + "keep_exp_bonus", + "prevent_green_face", + "prevent_yellow_face", + "prevent_red_face" + ] + }, + "Fleet1Recover": { + "type": "select", + "value": "not_in_dormitory", + "option": [ + "not_in_dormitory", + "dormitory_floor_1", + "dormitory_floor_2" + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + } + }, + "ResearchFarm2Setting": { + "Enable": { + "type": "checkbox", + "value": false + }, + "Campaign": { + "type": "input", + "value": "12-4" + }, + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "EmotionValue": { + "type": "input", + "value": 119 + }, + "EmotionControlMethod": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + }, + "Fleet1Control": { + "type": "select", + "value": "prevent_yellow_face", + "option": [ + "keep_exp_bonus", + "prevent_green_face", + "prevent_yellow_face", + "prevent_red_face" + ] + }, + "Fleet1Recover": { + "type": "select", + "value": "not_in_dormitory", + "option": [ + "not_in_dormitory", + "dormitory_floor_1", + "dormitory_floor_2" + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + } + }, + "ResearchFarm3Setting": { + "Enable": { + "type": "checkbox", + "value": false + }, + "Campaign": { + "type": "input", + "value": "12-4" + }, + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "EmotionValue": { + "type": "input", + "value": 119 + }, + "EmotionControlMethod": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + }, + "Fleet1Control": { + "type": "select", + "value": "prevent_yellow_face", + "option": [ + "keep_exp_bonus", + "prevent_green_face", + "prevent_yellow_face", + "prevent_red_face" + ] + }, + "Fleet1Recover": { + "type": "select", + "value": "not_in_dormitory", + "option": [ + "not_in_dormitory", + "dormitory_floor_1", + "dormitory_floor_2" + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + } + }, + "ResearchFarm4Setting": { + "Enable": { + "type": "checkbox", + "value": false + }, + "Campaign": { + "type": "input", + "value": "12-4" + }, + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "EmotionValue": { + "type": "input", + "value": 119 + }, + "EmotionControlMethod": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + }, + "Fleet1Control": { + "type": "select", + "value": "prevent_yellow_face", + "option": [ + "keep_exp_bonus", + "prevent_green_face", + "prevent_yellow_face", + "prevent_red_face" + ] + }, + "Fleet1Recover": { + "type": "select", + "value": "not_in_dormitory", + "option": [ + "not_in_dormitory", + "dormitory_floor_1", + "dormitory_floor_2" + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + } + }, + "ResearchFarm5Setting": { + "Enable": { + "type": "checkbox", + "value": false + }, + "Campaign": { + "type": "input", + "value": "12-4" + }, + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "EmotionValue": { + "type": "input", + "value": 119 + }, + "EmotionControlMethod": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + }, + "Fleet1Control": { + "type": "select", + "value": "prevent_yellow_face", + "option": [ + "keep_exp_bonus", + "prevent_green_face", + "prevent_yellow_face", + "prevent_red_face" + ] + }, + "Fleet1Recover": { + "type": "select", + "value": "not_in_dormitory", + "option": [ + "not_in_dormitory", + "dormitory_floor_1", + "dormitory_floor_2" + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + } + }, + "ResearchFarm6Setting": { + "Enable": { + "type": "checkbox", + "value": false + }, + "Campaign": { + "type": "input", + "value": "12-4" + }, + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "EmotionValue": { + "type": "input", + "value": 119 + }, + "EmotionControlMethod": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + }, + "Fleet1Control": { + "type": "select", + "value": "prevent_yellow_face", + "option": [ + "keep_exp_bonus", + "prevent_green_face", + "prevent_yellow_face", + "prevent_red_face" + ] + }, + "Fleet1Recover": { + "type": "select", + "value": "not_in_dormitory", + "option": [ + "not_in_dormitory", + "dormitory_floor_1", + "dormitory_floor_2" + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + } + }, + "Storage": { + "Storage": { + "type": "storage", + "value": {}, + "valuetype": "ignore", + "display": "disabled" + } + } + }, + "ResearchFarm": { + "Scheduler": { + "Enable": { + "type": "checkbox", + "value": false, + "option": [ + true, + false + ] + }, + "NextRun": { + "type": "datetime", + "value": "2020-01-01 00:00:00", + "validate": "datetime" + }, + "Command": { + "type": "input", + "value": "ResearchFarm", + "display": "hide" + }, + "SuccessInterval": { + "type": "input", + "value": 0, + "display": "hide" + }, + "FailureInterval": { + "type": "input", + "value": 120, + "display": "hide" + }, + "ServerUpdate": { + "type": "input", + "value": "00:00", + "display": "hide" + } + }, + "Campaign": { + "Name": { + "type": "input", + "value": "12-4" + }, + "Event": { + "type": "select", + "value": "campaign_main", + "option": [ + "campaign_main" + ], + "display": "hide" + }, + "Mode": { + "type": "select", + "value": "normal", + "option": [ + "normal", + "hard" + ] + }, + "UseClearMode": { + "type": "checkbox", + "value": true + }, + "UseFleetLock": { + "type": "checkbox", + "value": true + }, + "UseAutoSearch": { + "type": "checkbox", + "value": true + }, + "Use2xBook": { + "type": "checkbox", + "value": false + }, + "AmbushEvade": { + "type": "checkbox", + "value": true + } + }, + "StopCondition": { + "OilLimit": { + "type": "input", + "value": 1000 + }, + "RunCount": { + "type": "input", + "value": 0 + }, + "MapAchievement": { + "type": "select", + "value": "non_stop", + "option": [ + "non_stop", + "100_percent_clear", + "map_3_stars", + "threat_safe", + "threat_safe_without_3_stars" + ] + }, + "StageIncrease": { + "type": "checkbox", + "value": false + }, + "GetNewShip": { + "type": "checkbox", + "value": false + }, + "ReachLevel": { + "type": "input", + "value": 0 + } + }, + "Fleet": { + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet1Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet1Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet1Step": { + "type": "select", + "value": 3, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet2Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet2Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet2Step": { + "type": "select", + "value": 2, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "FleetOrder": { + "type": "select", + "value": "fleet1_mob_fleet2_boss", + "option": [ + "fleet1_mob_fleet2_boss", + "fleet1_boss_fleet2_mob", + "fleet1_all_fleet2_standby", + "fleet1_standby_fleet2_all" + ] + } + }, + "Submarine": { + "Fleet": { + "type": "select", + "value": 0, + "option": [ + 0, + 1, + 2 + ] + }, + "Mode": { + "type": "select", + "value": "do_not_use", + "option": [ + "do_not_use", + "hunt_only", + "boss_only", + "hunt_and_boss", + "every_combat" + ] + }, + "AutoSearchMode": { + "type": "select", + "value": "sub_standby", + "option": [ + "sub_standby", + "sub_auto_call" + ] + }, + "DistanceToBoss": { + "type": "select", + "value": "2_grid_to_boss", + "option": [ + "to_boss_position", + "1_grid_to_boss", + "2_grid_to_boss", + "use_open_ocean_support" + ] + } + }, + "Emotion": { + "Mode": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + } + }, + "HpControl": { + "UseHpBalance": { + "type": "checkbox", + "value": false + }, + "UseEmergencyRepair": { + "type": "checkbox", + "value": false + }, + "UseLowHpRetreat": { + "type": "checkbox", + "value": false + }, + "HpBalanceThreshold": { + "type": "input", + "value": 0.2 + }, + "HpBalanceWeight": { + "type": "input", + "value": "1000, 1000, 1000" + }, + "RepairUseSingleThreshold": { + "type": "input", + "value": 0.3 + }, + "RepairUseMultiThreshold": { + "type": "input", + "value": 0.6 + }, + "LowHpRetreatThreshold": { + "type": "input", + "value": 0.3 + } + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": { + "type": "select", + "value": "default_mode", + "option": [ + "default_mode", + "S3_enemy_first", + "S1_enemy_first" + ] + } + }, + "Storage": { + "Storage": { + "type": "storage", + "value": {}, + "valuetype": "ignore", + "display": "disabled" + } + } + }, + "ResearchFarm2": { + "Scheduler": { + "Enable": { + "type": "checkbox", + "value": false, + "option": [ + true, + false + ] + }, + "NextRun": { + "type": "datetime", + "value": "2020-01-01 00:00:00", + "validate": "datetime" + }, + "Command": { + "type": "input", + "value": "ResearchFarm2", + "display": "hide" + }, + "SuccessInterval": { + "type": "input", + "value": 0, + "display": "hide" + }, + "FailureInterval": { + "type": "input", + "value": 120, + "display": "hide" + }, + "ServerUpdate": { + "type": "input", + "value": "00:00", + "display": "hide" + } + }, + "Campaign": { + "Name": { + "type": "input", + "value": "12-4" + }, + "Event": { + "type": "select", + "value": "campaign_main", + "option": [ + "campaign_main" + ], + "display": "hide" + }, + "Mode": { + "type": "select", + "value": "normal", + "option": [ + "normal", + "hard" + ] + }, + "UseClearMode": { + "type": "checkbox", + "value": true + }, + "UseFleetLock": { + "type": "checkbox", + "value": true + }, + "UseAutoSearch": { + "type": "checkbox", + "value": true + }, + "Use2xBook": { + "type": "checkbox", + "value": false + }, + "AmbushEvade": { + "type": "checkbox", + "value": true + } + }, + "StopCondition": { + "OilLimit": { + "type": "input", + "value": 1000 + }, + "RunCount": { + "type": "input", + "value": 0 + }, + "MapAchievement": { + "type": "select", + "value": "non_stop", + "option": [ + "non_stop", + "100_percent_clear", + "map_3_stars", + "threat_safe", + "threat_safe_without_3_stars" + ] + }, + "StageIncrease": { + "type": "checkbox", + "value": false + }, + "GetNewShip": { + "type": "checkbox", + "value": false + }, + "ReachLevel": { + "type": "input", + "value": 0 + } + }, + "Fleet": { + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet1Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet1Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet1Step": { + "type": "select", + "value": 3, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet2Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet2Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet2Step": { + "type": "select", + "value": 2, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "FleetOrder": { + "type": "select", + "value": "fleet1_mob_fleet2_boss", + "option": [ + "fleet1_mob_fleet2_boss", + "fleet1_boss_fleet2_mob", + "fleet1_all_fleet2_standby", + "fleet1_standby_fleet2_all" + ] + } + }, + "Submarine": { + "Fleet": { + "type": "select", + "value": 0, + "option": [ + 0, + 1, + 2 + ] + }, + "Mode": { + "type": "select", + "value": "do_not_use", + "option": [ + "do_not_use", + "hunt_only", + "boss_only", + "hunt_and_boss", + "every_combat" + ] + }, + "AutoSearchMode": { + "type": "select", + "value": "sub_standby", + "option": [ + "sub_standby", + "sub_auto_call" + ] + }, + "DistanceToBoss": { + "type": "select", + "value": "2_grid_to_boss", + "option": [ + "to_boss_position", + "1_grid_to_boss", + "2_grid_to_boss", + "use_open_ocean_support" + ] + } + }, + "Emotion": { + "Mode": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + } + }, + "HpControl": { + "UseHpBalance": { + "type": "checkbox", + "value": false + }, + "UseEmergencyRepair": { + "type": "checkbox", + "value": false + }, + "UseLowHpRetreat": { + "type": "checkbox", + "value": false + }, + "HpBalanceThreshold": { + "type": "input", + "value": 0.2 + }, + "HpBalanceWeight": { + "type": "input", + "value": "1000, 1000, 1000" + }, + "RepairUseSingleThreshold": { + "type": "input", + "value": 0.3 + }, + "RepairUseMultiThreshold": { + "type": "input", + "value": 0.6 + }, + "LowHpRetreatThreshold": { + "type": "input", + "value": 0.3 + } + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": { + "type": "select", + "value": "default_mode", + "option": [ + "default_mode", + "S3_enemy_first", + "S1_enemy_first" + ] + } + }, + "Storage": { + "Storage": { + "type": "storage", + "value": {}, + "valuetype": "ignore", + "display": "disabled" + } + } + }, + "ResearchFarm3": { + "Scheduler": { + "Enable": { + "type": "checkbox", + "value": false, + "option": [ + true, + false + ] + }, + "NextRun": { + "type": "datetime", + "value": "2020-01-01 00:00:00", + "validate": "datetime" + }, + "Command": { + "type": "input", + "value": "ResearchFarm3", + "display": "hide" + }, + "SuccessInterval": { + "type": "input", + "value": 0, + "display": "hide" + }, + "FailureInterval": { + "type": "input", + "value": 120, + "display": "hide" + }, + "ServerUpdate": { + "type": "input", + "value": "00:00", + "display": "hide" + } + }, + "Campaign": { + "Name": { + "type": "input", + "value": "12-4" + }, + "Event": { + "type": "select", + "value": "campaign_main", + "option": [ + "campaign_main" + ], + "display": "hide" + }, + "Mode": { + "type": "select", + "value": "normal", + "option": [ + "normal", + "hard" + ] + }, + "UseClearMode": { + "type": "checkbox", + "value": true + }, + "UseFleetLock": { + "type": "checkbox", + "value": true + }, + "UseAutoSearch": { + "type": "checkbox", + "value": true + }, + "Use2xBook": { + "type": "checkbox", + "value": false + }, + "AmbushEvade": { + "type": "checkbox", + "value": true + } + }, + "StopCondition": { + "OilLimit": { + "type": "input", + "value": 1000 + }, + "RunCount": { + "type": "input", + "value": 0 + }, + "MapAchievement": { + "type": "select", + "value": "non_stop", + "option": [ + "non_stop", + "100_percent_clear", + "map_3_stars", + "threat_safe", + "threat_safe_without_3_stars" + ] + }, + "StageIncrease": { + "type": "checkbox", + "value": false + }, + "GetNewShip": { + "type": "checkbox", + "value": false + }, + "ReachLevel": { + "type": "input", + "value": 0 + } + }, + "Fleet": { + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet1Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet1Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet1Step": { + "type": "select", + "value": 3, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet2Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet2Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet2Step": { + "type": "select", + "value": 2, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "FleetOrder": { + "type": "select", + "value": "fleet1_mob_fleet2_boss", + "option": [ + "fleet1_mob_fleet2_boss", + "fleet1_boss_fleet2_mob", + "fleet1_all_fleet2_standby", + "fleet1_standby_fleet2_all" + ] + } + }, + "Submarine": { + "Fleet": { + "type": "select", + "value": 0, + "option": [ + 0, + 1, + 2 + ] + }, + "Mode": { + "type": "select", + "value": "do_not_use", + "option": [ + "do_not_use", + "hunt_only", + "boss_only", + "hunt_and_boss", + "every_combat" + ] + }, + "AutoSearchMode": { + "type": "select", + "value": "sub_standby", + "option": [ + "sub_standby", + "sub_auto_call" + ] + }, + "DistanceToBoss": { + "type": "select", + "value": "2_grid_to_boss", + "option": [ + "to_boss_position", + "1_grid_to_boss", + "2_grid_to_boss", + "use_open_ocean_support" + ] + } + }, + "Emotion": { + "Mode": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + } + }, + "HpControl": { + "UseHpBalance": { + "type": "checkbox", + "value": false + }, + "UseEmergencyRepair": { + "type": "checkbox", + "value": false + }, + "UseLowHpRetreat": { + "type": "checkbox", + "value": false + }, + "HpBalanceThreshold": { + "type": "input", + "value": 0.2 + }, + "HpBalanceWeight": { + "type": "input", + "value": "1000, 1000, 1000" + }, + "RepairUseSingleThreshold": { + "type": "input", + "value": 0.3 + }, + "RepairUseMultiThreshold": { + "type": "input", + "value": 0.6 + }, + "LowHpRetreatThreshold": { + "type": "input", + "value": 0.3 + } + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": { + "type": "select", + "value": "default_mode", + "option": [ + "default_mode", + "S3_enemy_first", + "S1_enemy_first" + ] + } + }, + "Storage": { + "Storage": { + "type": "storage", + "value": {}, + "valuetype": "ignore", + "display": "disabled" + } + } + }, + "ResearchFarm4": { + "Scheduler": { + "Enable": { + "type": "checkbox", + "value": false, + "option": [ + true, + false + ] + }, + "NextRun": { + "type": "datetime", + "value": "2020-01-01 00:00:00", + "validate": "datetime" + }, + "Command": { + "type": "input", + "value": "ResearchFarm4", + "display": "hide" + }, + "SuccessInterval": { + "type": "input", + "value": 0, + "display": "hide" + }, + "FailureInterval": { + "type": "input", + "value": 120, + "display": "hide" + }, + "ServerUpdate": { + "type": "input", + "value": "00:00", + "display": "hide" + } + }, + "Campaign": { + "Name": { + "type": "input", + "value": "12-4" + }, + "Event": { + "type": "select", + "value": "campaign_main", + "option": [ + "campaign_main" + ], + "display": "hide" + }, + "Mode": { + "type": "select", + "value": "normal", + "option": [ + "normal", + "hard" + ] + }, + "UseClearMode": { + "type": "checkbox", + "value": true + }, + "UseFleetLock": { + "type": "checkbox", + "value": true + }, + "UseAutoSearch": { + "type": "checkbox", + "value": true + }, + "Use2xBook": { + "type": "checkbox", + "value": false + }, + "AmbushEvade": { + "type": "checkbox", + "value": true + } + }, + "StopCondition": { + "OilLimit": { + "type": "input", + "value": 1000 + }, + "RunCount": { + "type": "input", + "value": 0 + }, + "MapAchievement": { + "type": "select", + "value": "non_stop", + "option": [ + "non_stop", + "100_percent_clear", + "map_3_stars", + "threat_safe", + "threat_safe_without_3_stars" + ] + }, + "StageIncrease": { + "type": "checkbox", + "value": false + }, + "GetNewShip": { + "type": "checkbox", + "value": false + }, + "ReachLevel": { + "type": "input", + "value": 0 + } + }, + "Fleet": { + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet1Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet1Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet1Step": { + "type": "select", + "value": 3, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet2Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet2Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet2Step": { + "type": "select", + "value": 2, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "FleetOrder": { + "type": "select", + "value": "fleet1_mob_fleet2_boss", + "option": [ + "fleet1_mob_fleet2_boss", + "fleet1_boss_fleet2_mob", + "fleet1_all_fleet2_standby", + "fleet1_standby_fleet2_all" + ] + } + }, + "Submarine": { + "Fleet": { + "type": "select", + "value": 0, + "option": [ + 0, + 1, + 2 + ] + }, + "Mode": { + "type": "select", + "value": "do_not_use", + "option": [ + "do_not_use", + "hunt_only", + "boss_only", + "hunt_and_boss", + "every_combat" + ] + }, + "AutoSearchMode": { + "type": "select", + "value": "sub_standby", + "option": [ + "sub_standby", + "sub_auto_call" + ] + }, + "DistanceToBoss": { + "type": "select", + "value": "2_grid_to_boss", + "option": [ + "to_boss_position", + "1_grid_to_boss", + "2_grid_to_boss", + "use_open_ocean_support" + ] + } + }, + "Emotion": { + "Mode": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + } + }, + "HpControl": { + "UseHpBalance": { + "type": "checkbox", + "value": false + }, + "UseEmergencyRepair": { + "type": "checkbox", + "value": false + }, + "UseLowHpRetreat": { + "type": "checkbox", + "value": false + }, + "HpBalanceThreshold": { + "type": "input", + "value": 0.2 + }, + "HpBalanceWeight": { + "type": "input", + "value": "1000, 1000, 1000" + }, + "RepairUseSingleThreshold": { + "type": "input", + "value": 0.3 + }, + "RepairUseMultiThreshold": { + "type": "input", + "value": 0.6 + }, + "LowHpRetreatThreshold": { + "type": "input", + "value": 0.3 + } + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": { + "type": "select", + "value": "default_mode", + "option": [ + "default_mode", + "S3_enemy_first", + "S1_enemy_first" + ] + } + }, + "Storage": { + "Storage": { + "type": "storage", + "value": {}, + "valuetype": "ignore", + "display": "disabled" + } + } + }, + "ResearchFarm5": { + "Scheduler": { + "Enable": { + "type": "checkbox", + "value": false, + "option": [ + true, + false + ] + }, + "NextRun": { + "type": "datetime", + "value": "2020-01-01 00:00:00", + "validate": "datetime" + }, + "Command": { + "type": "input", + "value": "ResearchFarm5", + "display": "hide" + }, + "SuccessInterval": { + "type": "input", + "value": 0, + "display": "hide" + }, + "FailureInterval": { + "type": "input", + "value": 120, + "display": "hide" + }, + "ServerUpdate": { + "type": "input", + "value": "00:00", + "display": "hide" + } + }, + "Campaign": { + "Name": { + "type": "input", + "value": "12-4" + }, + "Event": { + "type": "select", + "value": "campaign_main", + "option": [ + "campaign_main" + ], + "display": "hide" + }, + "Mode": { + "type": "select", + "value": "normal", + "option": [ + "normal", + "hard" + ] + }, + "UseClearMode": { + "type": "checkbox", + "value": true + }, + "UseFleetLock": { + "type": "checkbox", + "value": true + }, + "UseAutoSearch": { + "type": "checkbox", + "value": true + }, + "Use2xBook": { + "type": "checkbox", + "value": false + }, + "AmbushEvade": { + "type": "checkbox", + "value": true + } + }, + "StopCondition": { + "OilLimit": { + "type": "input", + "value": 1000 + }, + "RunCount": { + "type": "input", + "value": 0 + }, + "MapAchievement": { + "type": "select", + "value": "non_stop", + "option": [ + "non_stop", + "100_percent_clear", + "map_3_stars", + "threat_safe", + "threat_safe_without_3_stars" + ] + }, + "StageIncrease": { + "type": "checkbox", + "value": false + }, + "GetNewShip": { + "type": "checkbox", + "value": false + }, + "ReachLevel": { + "type": "input", + "value": 0 + } + }, + "Fleet": { + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet1Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet1Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet1Step": { + "type": "select", + "value": 3, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet2Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet2Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet2Step": { + "type": "select", + "value": 2, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "FleetOrder": { + "type": "select", + "value": "fleet1_mob_fleet2_boss", + "option": [ + "fleet1_mob_fleet2_boss", + "fleet1_boss_fleet2_mob", + "fleet1_all_fleet2_standby", + "fleet1_standby_fleet2_all" + ] + } + }, + "Submarine": { + "Fleet": { + "type": "select", + "value": 0, + "option": [ + 0, + 1, + 2 + ] + }, + "Mode": { + "type": "select", + "value": "do_not_use", + "option": [ + "do_not_use", + "hunt_only", + "boss_only", + "hunt_and_boss", + "every_combat" + ] + }, + "AutoSearchMode": { + "type": "select", + "value": "sub_standby", + "option": [ + "sub_standby", + "sub_auto_call" + ] + }, + "DistanceToBoss": { + "type": "select", + "value": "2_grid_to_boss", + "option": [ + "to_boss_position", + "1_grid_to_boss", + "2_grid_to_boss", + "use_open_ocean_support" + ] + } + }, + "Emotion": { + "Mode": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + } + }, + "HpControl": { + "UseHpBalance": { + "type": "checkbox", + "value": false + }, + "UseEmergencyRepair": { + "type": "checkbox", + "value": false + }, + "UseLowHpRetreat": { + "type": "checkbox", + "value": false + }, + "HpBalanceThreshold": { + "type": "input", + "value": 0.2 + }, + "HpBalanceWeight": { + "type": "input", + "value": "1000, 1000, 1000" + }, + "RepairUseSingleThreshold": { + "type": "input", + "value": 0.3 + }, + "RepairUseMultiThreshold": { + "type": "input", + "value": 0.6 + }, + "LowHpRetreatThreshold": { + "type": "input", + "value": 0.3 + } + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": { + "type": "select", + "value": "default_mode", + "option": [ + "default_mode", + "S3_enemy_first", + "S1_enemy_first" + ] + } + }, + "Storage": { + "Storage": { + "type": "storage", + "value": {}, + "valuetype": "ignore", + "display": "disabled" + } + } + }, + "ResearchFarm6": { + "Scheduler": { + "Enable": { + "type": "checkbox", + "value": false, + "option": [ + true, + false + ] + }, + "NextRun": { + "type": "datetime", + "value": "2020-01-01 00:00:00", + "validate": "datetime" + }, + "Command": { + "type": "input", + "value": "ResearchFarm6", + "display": "hide" + }, + "SuccessInterval": { + "type": "input", + "value": 0, + "display": "hide" + }, + "FailureInterval": { + "type": "input", + "value": 120, + "display": "hide" + }, + "ServerUpdate": { + "type": "input", + "value": "00:00", + "display": "hide" + } + }, + "Campaign": { + "Name": { + "type": "input", + "value": "12-4" + }, + "Event": { + "type": "select", + "value": "campaign_main", + "option": [ + "campaign_main" + ], + "display": "hide" + }, + "Mode": { + "type": "select", + "value": "normal", + "option": [ + "normal", + "hard" + ] + }, + "UseClearMode": { + "type": "checkbox", + "value": true + }, + "UseFleetLock": { + "type": "checkbox", + "value": true + }, + "UseAutoSearch": { + "type": "checkbox", + "value": true + }, + "Use2xBook": { + "type": "checkbox", + "value": false + }, + "AmbushEvade": { + "type": "checkbox", + "value": true + } + }, + "StopCondition": { + "OilLimit": { + "type": "input", + "value": 1000 + }, + "RunCount": { + "type": "input", + "value": 0 + }, + "MapAchievement": { + "type": "select", + "value": "non_stop", + "option": [ + "non_stop", + "100_percent_clear", + "map_3_stars", + "threat_safe", + "threat_safe_without_3_stars" + ] + }, + "StageIncrease": { + "type": "checkbox", + "value": false + }, + "GetNewShip": { + "type": "checkbox", + "value": false + }, + "ReachLevel": { + "type": "input", + "value": 0 + } + }, + "Fleet": { + "Fleet1": { + "type": "select", + "value": 1, + "option": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet1Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet1Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet1Step": { + "type": "select", + "value": 3, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "Fleet2": { + "type": "select", + "value": 2, + "option": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Fleet2Formation": { + "type": "select", + "value": "double_line", + "option": [ + "line_ahead", + "double_line", + "diamond" + ] + }, + "Fleet2Mode": { + "type": "select", + "value": "combat_auto", + "option": [ + "combat_auto", + "combat_manual", + "stand_still_in_the_middle", + "hide_in_bottom_left" + ] + }, + "Fleet2Step": { + "type": "select", + "value": 2, + "option": [ + 2, + 3, + 4, + 5 + ] + }, + "FleetOrder": { + "type": "select", + "value": "fleet1_mob_fleet2_boss", + "option": [ + "fleet1_mob_fleet2_boss", + "fleet1_boss_fleet2_mob", + "fleet1_all_fleet2_standby", + "fleet1_standby_fleet2_all" + ] + } + }, + "Submarine": { + "Fleet": { + "type": "select", + "value": 0, + "option": [ + 0, + 1, + 2 + ] + }, + "Mode": { + "type": "select", + "value": "do_not_use", + "option": [ + "do_not_use", + "hunt_only", + "boss_only", + "hunt_and_boss", + "every_combat" + ] + }, + "AutoSearchMode": { + "type": "select", + "value": "sub_standby", + "option": [ + "sub_standby", + "sub_auto_call" + ] + }, + "DistanceToBoss": { + "type": "select", + "value": "2_grid_to_boss", + "option": [ + "to_boss_position", + "1_grid_to_boss", + "2_grid_to_boss", + "use_open_ocean_support" + ] + } + }, + "Emotion": { + "Mode": { + "type": "select", + "value": "calculate", + "option": [ + "calculate", + "ignore", + "calculate_ignore" + ] + } + }, + "HpControl": { + "UseHpBalance": { + "type": "checkbox", + "value": false + }, + "UseEmergencyRepair": { + "type": "checkbox", + "value": false + }, + "UseLowHpRetreat": { + "type": "checkbox", + "value": false + }, + "HpBalanceThreshold": { + "type": "input", + "value": 0.2 + }, + "HpBalanceWeight": { + "type": "input", + "value": "1000, 1000, 1000" + }, + "RepairUseSingleThreshold": { + "type": "input", + "value": 0.3 + }, + "RepairUseMultiThreshold": { + "type": "input", + "value": 0.6 + }, + "LowHpRetreatThreshold": { + "type": "input", + "value": 0.3 + } + }, + "EnemyPriority": { + "EnemyScaleBalanceWeight": { + "type": "select", + "value": "default_mode", + "option": [ + "default_mode", + "S3_enemy_first", + "S1_enemy_first" + ] + } + }, + "Storage": { + "Storage": { + "type": "storage", + "value": {}, + "valuetype": "ignore", + "display": "disabled" + } + } + }, "EventGeneral": { "EventGeneral": { "PtLimit": { @@ -2489,72 +4655,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -2939,72 +5039,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -3389,72 +5423,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -3673,76 +5641,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119, - "display": "hide" - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "hide" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ], - "display": "hide" - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ], - "display": "hide" - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false, - "display": "hide" } }, "Storage": { @@ -3913,76 +5811,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119, - "display": "hide" - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "hide" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ], - "display": "hide" - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ], - "display": "hide" - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false, - "display": "hide" } }, "Storage": { @@ -4337,72 +6165,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -4804,72 +6566,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -5271,72 +6967,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -5738,72 +7368,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -6205,72 +7769,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -6663,72 +8161,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119 - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false } }, "HpControl": { @@ -6938,76 +8370,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119, - "display": "hide" - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "hide" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ], - "display": "hide" - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ], - "display": "hide" - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false, - "display": "hide" } }, "Storage": { @@ -7179,76 +8541,6 @@ "ignore", "calculate_ignore" ] - }, - "Fleet1Value": { - "type": "input", - "value": 119 - }, - "Fleet1Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "disabled" - }, - "Fleet1Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ] - }, - "Fleet1Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ] - }, - "Fleet1Oath": { - "type": "checkbox", - "value": false - }, - "Fleet2Value": { - "type": "input", - "value": 119, - "display": "hide" - }, - "Fleet2Record": { - "type": "datetime", - "value": "2020-01-01 00:00:00", - "validate": "datetime", - "display": "hide" - }, - "Fleet2Control": { - "type": "select", - "value": "prevent_yellow_face", - "option": [ - "keep_exp_bonus", - "prevent_green_face", - "prevent_yellow_face", - "prevent_red_face" - ], - "display": "hide" - }, - "Fleet2Recover": { - "type": "select", - "value": "not_in_dormitory", - "option": [ - "not_in_dormitory", - "dormitory_floor_1", - "dormitory_floor_2" - ], - "display": "hide" - }, - "Fleet2Oath": { - "type": "checkbox", - "value": false, - "display": "hide" } }, "Storage": { @@ -10333,6 +11625,26 @@ "validate": "datetime" } }, + "ResearchPercent": { + "Value": { + "type": "input", + "value": 0 + }, + "Limit": { + "type": "input", + "value": 100 + }, + "Color": { + "type": "input", + "value": "^00AA00", + "display": "hide" + }, + "Record": { + "type": "datetime", + "value": "2020-01-01 00:00:00", + "validate": "datetime" + } + }, "Storage": { "Storage": { "type": "storage", diff --git a/module/config/argument/argument.yaml b/module/config/argument/argument.yaml index 02ae83b3a..4f3c3820c 100644 --- a/module/config/argument/argument.yaml +++ b/module/config/argument/argument.yaml @@ -215,28 +215,137 @@ Emotion: Mode: value: calculate option: [ calculate, ignore, calculate_ignore ] - Fleet1Value: 119 - Fleet1Record: - value: 2020-01-01 00:00:00 - display: disabled + +# ==================== ResearchFarming ==================== +ResearchFarmingSetting: + OilLimit: 3000 + ResearchSeries: + value: 1 + option: [ 1, 2, 3, 4, 5, 6 ] + ShipIndex: + value: 1 + option: [ 1, 2, 3, 4, 5, 6 ] + ExperienceIndex: + value: 1 + option: [ 0, 1, 2 ] + CheckInterval: 5 + CurrentCampaignTimes: 0 + OnepushNotify: true + +ResearchFarm1Setting: + Enable: false + Campaign: 12-4 + Fleet1: + value: 1 + option: [ 1, 2, 3, 4, 5, 6 ] + EmotionValue: 119 + EmotionControlMethod: + value: calculate + option: [ calculate, ignore, calculate_ignore ] Fleet1Control: value: prevent_yellow_face option: [ keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face ] Fleet1Recover: value: not_in_dormitory option: [ not_in_dormitory, dormitory_floor_1, dormitory_floor_2 ] - Fleet1Oath: false - Fleet2Value: 119 - Fleet2Record: - value: 2020-01-01 00:00:00 - display: disabled - Fleet2Control: + Fleet2: + value: 2 + option: [ 0, 1, 2, 3, 4, 5, 6 ] +ResearchFarm2Setting: + Enable: false + Campaign: 12-4 + Fleet1: + value: 1 + option: [ 1, 2, 3, 4, 5, 6 ] + EmotionValue: 119 + EmotionControlMethod: + value: calculate + option: [ calculate, ignore, calculate_ignore ] + Fleet1Control: value: prevent_yellow_face option: [ keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face ] - Fleet2Recover: + Fleet1Recover: value: not_in_dormitory option: [ not_in_dormitory, dormitory_floor_1, dormitory_floor_2 ] - Fleet2Oath: false + Fleet2: + value: 2 + option: [ 0, 1, 2, 3, 4, 5, 6 ] +ResearchFarm3Setting: + Enable: false + Campaign: 12-4 + Fleet1: + value: 1 + option: [ 1, 2, 3, 4, 5, 6 ] + EmotionValue: 119 + EmotionControlMethod: + value: calculate + option: [ calculate, ignore, calculate_ignore ] + Fleet1Control: + value: prevent_yellow_face + option: [ keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face ] + Fleet1Recover: + value: not_in_dormitory + option: [ not_in_dormitory, dormitory_floor_1, dormitory_floor_2 ] + Fleet2: + value: 2 + option: [ 0, 1, 2, 3, 4, 5, 6 ] +ResearchFarm4Setting: + Enable: false + Campaign: 12-4 + Fleet1: + value: 1 + option: [ 1, 2, 3, 4, 5, 6 ] + EmotionValue: 119 + EmotionControlMethod: + value: calculate + option: [ calculate, ignore, calculate_ignore ] + Fleet1Control: + value: prevent_yellow_face + option: [ keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face ] + Fleet1Recover: + value: not_in_dormitory + option: [ not_in_dormitory, dormitory_floor_1, dormitory_floor_2 ] + Fleet2: + value: 2 + option: [ 0, 1, 2, 3, 4, 5, 6 ] +ResearchFarm5Setting: + Enable: false + Campaign: 12-4 + Fleet1: + value: 1 + option: [ 1, 2, 3, 4, 5, 6 ] + EmotionValue: 119 + EmotionControlMethod: + value: calculate + option: [ calculate, ignore, calculate_ignore ] + Fleet1Control: + value: prevent_yellow_face + option: [ keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face ] + Fleet1Recover: + value: not_in_dormitory + option: [ not_in_dormitory, dormitory_floor_1, dormitory_floor_2 ] + Fleet2: + value: 2 + option: [ 0, 1, 2, 3, 4, 5, 6 ] +ResearchFarm6Setting: + Enable: false + Campaign: 12-4 + Fleet1: + value: 1 + option: [ 1, 2, 3, 4, 5, 6 ] + EmotionValue: 119 + EmotionControlMethod: + value: calculate + option: [ calculate, ignore, calculate_ignore ] + Fleet1Control: + value: prevent_yellow_face + option: [ keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face ] + Fleet1Recover: + value: not_in_dormitory + option: [ not_in_dormitory, dormitory_floor_1, dormitory_floor_2 ] + Fleet2: + value: 2 + option: [ 0, 1, 2, 3, 4, 5, 6 ] HpControl: UseHpBalance: false UseEmergencyRepair: false @@ -924,6 +1033,13 @@ GuildCoin: value: ^000000 display: hide Record: 2020-01-01 00:00:00 +ResearchPercent: + Value: 0 + Limit: 100 + Color: + value: ^000000 + display: hide + Record: 2020-01-01 00:00:00 diff --git a/module/config/argument/dashboard.yaml b/module/config/argument/dashboard.yaml index 93dc59ede..65b62eaf8 100644 --- a/module/config/argument/dashboard.yaml +++ b/module/config/argument/dashboard.yaml @@ -15,4 +15,5 @@ Dashboard: - Core - Medal - Merit - - GuildCoin \ No newline at end of file + - GuildCoin + - ResearchPercent \ No newline at end of file diff --git a/module/config/argument/gui.yaml b/module/config/argument/gui.yaml index c78614847..e4c8fb0e9 100644 --- a/module/config/argument/gui.yaml +++ b/module/config/argument/gui.yaml @@ -71,6 +71,7 @@ Overview: Medal: Core: GuildCoin: + ResearchPercent: Log: Running: Pending: diff --git a/module/config/argument/menu.json b/module/config/argument/menu.json index 3c422c21f..26d622528 100644 --- a/module/config/argument/menu.json +++ b/module/config/argument/menu.json @@ -18,6 +18,19 @@ "GemsFarming" ] }, + "ResearchFarming": { + "menu": "collapse", + "page": "setting", + "tasks": [ + "ResearchFarmingSetting", + "ResearchFarm", + "ResearchFarm2", + "ResearchFarm3", + "ResearchFarm4", + "ResearchFarm5", + "ResearchFarm6" + ] + }, "Event": { "menu": "collapse", "page": "setting", diff --git a/module/config/argument/override.yaml b/module/config/argument/override.yaml index eb8fdde9a..02f17dda7 100644 --- a/module/config/argument/override.yaml +++ b/module/config/argument/override.yaml @@ -15,6 +15,27 @@ Restart: FailureInterval: 0 ServerUpdate: 00:00 +# ==================== ResearchFarm ==================== +ResearchFarm: + Campaign: + Event: campaign_main +ResearchFarm2: + Campaign: + Event: campaign_main +ResearchFarm3: + Campaign: + Event: campaign_main +ResearchFarm4: + Campaign: + Event: campaign_main +ResearchFarm5: + Campaign: + Event: campaign_main +ResearchFarm6: + Campaign: + Event: campaign_main + + # ==================== Farm ==================== Main: @@ -478,3 +499,5 @@ Dashboard: Color: ^FFDD00 GuildCoin: Color: ^AAAAAA + ResearchPercent: + Color: ^00AA00 diff --git a/module/config/argument/task.yaml b/module/config/argument/task.yaml index 1f7b0cc10..44ba05b32 100644 --- a/module/config/argument/task.yaml +++ b/module/config/argument/task.yaml @@ -68,6 +68,77 @@ Farm: - StopCondition - Fleet +# ==================== ResearchFarming ==================== + +ResearchFarming: + menu: 'collapse' + page: 'setting' + tasks: + ResearchFarmingSetting: + - Scheduler + - ResearchFarmingSetting + - ResearchFarm1Setting + - ResearchFarm2Setting + - ResearchFarm3Setting + - ResearchFarm4Setting + - ResearchFarm5Setting + - ResearchFarm6Setting + + ResearchFarm: + - Scheduler + - Campaign + - StopCondition + - Fleet + - Submarine + - Emotion + - HpControl + - EnemyPriority + ResearchFarm2: + - Scheduler + - Campaign + - StopCondition + - Fleet + - Submarine + - Emotion + - HpControl + - EnemyPriority + ResearchFarm3: + - Scheduler + - Campaign + - StopCondition + - Fleet + - Submarine + - Emotion + - HpControl + - EnemyPriority + ResearchFarm4: + - Scheduler + - Campaign + - StopCondition + - Fleet + - Submarine + - Emotion + - HpControl + - EnemyPriority + ResearchFarm5: + - Scheduler + - Campaign + - StopCondition + - Fleet + - Submarine + - Emotion + - HpControl + - EnemyPriority + ResearchFarm6: + - Scheduler + - Campaign + - StopCondition + - Fleet + - Submarine + - Emotion + - HpControl + - EnemyPriority + # ==================== Event ==================== Event: diff --git a/module/config/config_generated.py b/module/config/config_generated.py index b13a57975..5fb8daa1e 100644 --- a/module/config/config_generated.py +++ b/module/config/config_generated.py @@ -113,16 +113,75 @@ class GeneratedConfig: # Group `Emotion` Emotion_Mode = 'calculate' # calculate, ignore, calculate_ignore - Emotion_Fleet1Value = 119 - Emotion_Fleet1Record = datetime.datetime(2020, 1, 1, 0, 0) - Emotion_Fleet1Control = 'prevent_yellow_face' # keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face - Emotion_Fleet1Recover = 'not_in_dormitory' # not_in_dormitory, dormitory_floor_1, dormitory_floor_2 - Emotion_Fleet1Oath = False - Emotion_Fleet2Value = 119 - Emotion_Fleet2Record = datetime.datetime(2020, 1, 1, 0, 0) - Emotion_Fleet2Control = 'prevent_yellow_face' # keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face - Emotion_Fleet2Recover = 'not_in_dormitory' # not_in_dormitory, dormitory_floor_1, dormitory_floor_2 - Emotion_Fleet2Oath = False + + # Group `ResearchFarmingSetting` + ResearchFarmingSetting_OilLimit = 3000 + ResearchFarmingSetting_ResearchSeries = 1 # 1, 2, 3, 4, 5, 6 + ResearchFarmingSetting_ShipIndex = 1 # 1, 2, 3, 4, 5, 6 + ResearchFarmingSetting_ExperienceIndex = 1 # 0, 1, 2 + ResearchFarmingSetting_CheckInterval = 5 + ResearchFarmingSetting_CurrentCampaignTimes = 0 + ResearchFarmingSetting_OnepushNotify = True + + # Group `ResearchFarm1Setting` + ResearchFarm1Setting_Enable = False + ResearchFarm1Setting_Campaign = '12-4' + ResearchFarm1Setting_Fleet1 = 1 # 1, 2, 3, 4, 5, 6 + ResearchFarm1Setting_EmotionValue = 119 + ResearchFarm1Setting_EmotionControlMethod = 'calculate' # calculate, ignore, calculate_ignore + ResearchFarm1Setting_Fleet1Control = 'prevent_yellow_face' # keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face + ResearchFarm1Setting_Fleet1Recover = 'not_in_dormitory' # not_in_dormitory, dormitory_floor_1, dormitory_floor_2 + ResearchFarm1Setting_Fleet2 = 2 # 0, 1, 2, 3, 4, 5, 6 + + # Group `ResearchFarm2Setting` + ResearchFarm2Setting_Enable = False + ResearchFarm2Setting_Campaign = '12-4' + ResearchFarm2Setting_Fleet1 = 1 # 1, 2, 3, 4, 5, 6 + ResearchFarm2Setting_EmotionValue = 119 + ResearchFarm2Setting_EmotionControlMethod = 'calculate' # calculate, ignore, calculate_ignore + ResearchFarm2Setting_Fleet1Control = 'prevent_yellow_face' # keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face + ResearchFarm2Setting_Fleet1Recover = 'not_in_dormitory' # not_in_dormitory, dormitory_floor_1, dormitory_floor_2 + ResearchFarm2Setting_Fleet2 = 2 # 0, 1, 2, 3, 4, 5, 6 + + # Group `ResearchFarm3Setting` + ResearchFarm3Setting_Enable = False + ResearchFarm3Setting_Campaign = '12-4' + ResearchFarm3Setting_Fleet1 = 1 # 1, 2, 3, 4, 5, 6 + ResearchFarm3Setting_EmotionValue = 119 + ResearchFarm3Setting_EmotionControlMethod = 'calculate' # calculate, ignore, calculate_ignore + ResearchFarm3Setting_Fleet1Control = 'prevent_yellow_face' # keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face + ResearchFarm3Setting_Fleet1Recover = 'not_in_dormitory' # not_in_dormitory, dormitory_floor_1, dormitory_floor_2 + ResearchFarm3Setting_Fleet2 = 2 # 0, 1, 2, 3, 4, 5, 6 + + # Group `ResearchFarm4Setting` + ResearchFarm4Setting_Enable = False + ResearchFarm4Setting_Campaign = '12-4' + ResearchFarm4Setting_Fleet1 = 1 # 1, 2, 3, 4, 5, 6 + ResearchFarm4Setting_EmotionValue = 119 + ResearchFarm4Setting_EmotionControlMethod = 'calculate' # calculate, ignore, calculate_ignore + ResearchFarm4Setting_Fleet1Control = 'prevent_yellow_face' # keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face + ResearchFarm4Setting_Fleet1Recover = 'not_in_dormitory' # not_in_dormitory, dormitory_floor_1, dormitory_floor_2 + ResearchFarm4Setting_Fleet2 = 2 # 0, 1, 2, 3, 4, 5, 6 + + # Group `ResearchFarm5Setting` + ResearchFarm5Setting_Enable = False + ResearchFarm5Setting_Campaign = '12-4' + ResearchFarm5Setting_Fleet1 = 1 # 1, 2, 3, 4, 5, 6 + ResearchFarm5Setting_EmotionValue = 119 + ResearchFarm5Setting_EmotionControlMethod = 'calculate' # calculate, ignore, calculate_ignore + ResearchFarm5Setting_Fleet1Control = 'prevent_yellow_face' # keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face + ResearchFarm5Setting_Fleet1Recover = 'not_in_dormitory' # not_in_dormitory, dormitory_floor_1, dormitory_floor_2 + ResearchFarm5Setting_Fleet2 = 2 # 0, 1, 2, 3, 4, 5, 6 + + # Group `ResearchFarm6Setting` + ResearchFarm6Setting_Enable = False + ResearchFarm6Setting_Campaign = '12-4' + ResearchFarm6Setting_Fleet1 = 1 # 1, 2, 3, 4, 5, 6 + ResearchFarm6Setting_EmotionValue = 119 + ResearchFarm6Setting_EmotionControlMethod = 'calculate' # calculate, ignore, calculate_ignore + ResearchFarm6Setting_Fleet1Control = 'prevent_yellow_face' # keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face + ResearchFarm6Setting_Fleet1Recover = 'not_in_dormitory' # not_in_dormitory, dormitory_floor_1, dormitory_floor_2 + ResearchFarm6Setting_Fleet2 = 2 # 0, 1, 2, 3, 4, 5, 6 # Group `HpControl` HpControl_UseHpBalance = False @@ -565,6 +624,12 @@ class GeneratedConfig: GuildCoin_Color = '^000000' GuildCoin_Record = datetime.datetime(2020, 1, 1, 0, 0) + # Group `ResearchPercent` + ResearchPercent_Value = 0 + ResearchPercent_Limit = 100 + ResearchPercent_Color = '^000000' + ResearchPercent_Record = datetime.datetime(2020, 1, 1, 0, 0) + # Group `AutoRestart` AutoRestart_Enabled = False AutoRestart_AttemptsToRestart = 114514 diff --git a/module/config/config_manual.py b/module/config/config_manual.py index cd022d301..33cc04cf6 100644 --- a/module/config/config_manual.py +++ b/module/config/config_manual.py @@ -24,7 +24,9 @@ class ManualConfig: > SmallGame > Sos > EventSp > EventA > EventB > EventC > EventD > RaidDaily > CoalitionSp > WarArchives > MaritimeEscort - > Event > Event2 > Event3 > Raid > Coalition > Main > Main2 > Main3 + > Event > Event2 > Event3 > Raid > Coalition + > ResearchFarmingSetting > ResearchFarm > ResearchFarm2 > ResearchFarm3 > ResearchFarm4 > ResearchFarm5 > ResearchFarm6 + > Main > Main2 > Main3 > OpsiMeowfficerFarming > GemsFarming > OpsiHazard1Leveling diff --git a/module/config/i18n/en-US.json b/module/config/i18n/en-US.json index 338b8c7ad..cd26a4376 100644 --- a/module/config/i18n/en-US.json +++ b/module/config/i18n/en-US.json @@ -8,6 +8,10 @@ "name": "Farm", "help": "" }, + "ResearchFarming": { + "name": "Menu.ResearchFarming.name", + "help": "Menu.ResearchFarming.help" + }, "Event": { "name": "Event", "help": "" @@ -62,6 +66,34 @@ "name": "Commission Farming", "help": "" }, + "ResearchFarmingSetting": { + "name": "Task.ResearchFarmingSetting.name", + "help": "Task.ResearchFarmingSetting.help" + }, + "ResearchFarm": { + "name": "Task.ResearchFarm.name", + "help": "Task.ResearchFarm.help" + }, + "ResearchFarm2": { + "name": "Task.ResearchFarm2.name", + "help": "Task.ResearchFarm2.help" + }, + "ResearchFarm3": { + "name": "Task.ResearchFarm3.name", + "help": "Task.ResearchFarm3.help" + }, + "ResearchFarm4": { + "name": "Task.ResearchFarm4.name", + "help": "Task.ResearchFarm4.help" + }, + "ResearchFarm5": { + "name": "Task.ResearchFarm5.name", + "help": "Task.ResearchFarm5.help" + }, + "ResearchFarm6": { + "name": "Task.ResearchFarm6.name", + "help": "Task.ResearchFarm6.help" + }, "EventGeneral": { "name": "Event General", "help": "" @@ -980,60 +1012,421 @@ "calculate": "Calculate Emotion Consumption", "ignore": "Ignore Low Emotion Warning", "calculate_ignore": "Calculate + Ignore" + } + }, + "ResearchFarmingSetting": { + "_info": { + "name": "ResearchFarmingSetting._info.name", + "help": "ResearchFarmingSetting._info.help" }, - "Fleet1Value": { - "name": "Fleet 1 Emotion Value", - "help": "" + "OilLimit": { + "name": "ResearchFarmingSetting.OilLimit.name", + "help": "ResearchFarmingSetting.OilLimit.help" }, - "Fleet1Record": { - "name": "Fleet 1 Emotion Record", - "help": "" + "ResearchSeries": { + "name": "ResearchFarmingSetting.ResearchSeries.name", + "help": "ResearchFarmingSetting.ResearchSeries.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "ShipIndex": { + "name": "ResearchFarmingSetting.ShipIndex.name", + "help": "ResearchFarmingSetting.ShipIndex.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "ExperienceIndex": { + "name": "ResearchFarmingSetting.ExperienceIndex.name", + "help": "ResearchFarmingSetting.ExperienceIndex.help", + "0": "0", + "1": "1", + "2": "2" + }, + "CheckInterval": { + "name": "ResearchFarmingSetting.CheckInterval.name", + "help": "ResearchFarmingSetting.CheckInterval.help" + }, + "CurrentCampaignTimes": { + "name": "ResearchFarmingSetting.CurrentCampaignTimes.name", + "help": "ResearchFarmingSetting.CurrentCampaignTimes.help" + }, + "OnepushNotify": { + "name": "ResearchFarmingSetting.OnepushNotify.name", + "help": "ResearchFarmingSetting.OnepushNotify.help" + } + }, + "ResearchFarm1Setting": { + "_info": { + "name": "ResearchFarm1Setting._info.name", + "help": "ResearchFarm1Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm1Setting.Enable.name", + "help": "ResearchFarm1Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm1Setting.Campaign.name", + "help": "ResearchFarm1Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm1Setting.Fleet1.name", + "help": "ResearchFarm1Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm1Setting.EmotionValue.name", + "help": "ResearchFarm1Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm1Setting.EmotionControlMethod.name", + "help": "ResearchFarm1Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" }, "Fleet1Control": { - "name": "Fleet 1 Emotion Control", - "help": "Measures will be taken to ensure control is maintained i.e. wait for recovery in level or stop current task if others can be executed while waiting", - "keep_exp_bonus": "Keep Happy Bonus (>120)", - "prevent_green_face": "Keep Content (>40)", - "prevent_yellow_face": "Prevent Moody (>30)", - "prevent_red_face": "Prevent Exhausted (>20)" + "name": "ResearchFarm1Setting.Fleet1Control.name", + "help": "ResearchFarm1Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" }, "Fleet1Recover": { - "name": "Fleet 1 Recover Location", - "help": "Configure accordingly to accurately calculate emotion", - "not_in_dormitory": "Docks (20/hr)", - "dormitory_floor_1": "Dorm Floor 1 (40/hr)", - "dormitory_floor_2": "Dorm Floor 2 (50/hr)" + "name": "ResearchFarm1Setting.Fleet1Recover.name", + "help": "ResearchFarm1Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" }, - "Fleet1Oath": { - "name": "Fleet 1 All Oath", - "help": "+10/hr emotion recovery is included into calculation" + "Fleet2": { + "name": "ResearchFarm1Setting.Fleet2.name", + "help": "ResearchFarm1Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm2Setting": { + "_info": { + "name": "ResearchFarm2Setting._info.name", + "help": "ResearchFarm2Setting._info.help" }, - "Fleet2Value": { - "name": "Fleet 2 Emotion Value", - "help": "" + "Enable": { + "name": "ResearchFarm2Setting.Enable.name", + "help": "ResearchFarm2Setting.Enable.help" }, - "Fleet2Record": { - "name": "Fleet 2 Emotion Record", - "help": "" + "Campaign": { + "name": "ResearchFarm2Setting.Campaign.name", + "help": "ResearchFarm2Setting.Campaign.help" }, - "Fleet2Control": { - "name": "Fleet 2 Emotion Control", - "help": "Measures will be taken to ensure control is maintained i.e. wait for recovery in level or stop current task if others can be executed while waiting", - "keep_exp_bonus": "Keep Happy Bonus (>120)", - "prevent_green_face": "Keep Content (>40)", - "prevent_yellow_face": "Prevent Moody (>30)", - "prevent_red_face": "Prevent Exhausted (>20)" + "Fleet1": { + "name": "ResearchFarm2Setting.Fleet1.name", + "help": "ResearchFarm2Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" }, - "Fleet2Recover": { - "name": "Fleet 2 Recover Location", - "help": "", - "not_in_dormitory": "Docks (20/hr)", - "dormitory_floor_1": "Dorm Floor 1 (40/hr)", - "dormitory_floor_2": "Dorm Floor 2 (50/hr)" + "EmotionValue": { + "name": "ResearchFarm2Setting.EmotionValue.name", + "help": "ResearchFarm2Setting.EmotionValue.help" }, - "Fleet2Oath": { - "name": "Fleet 2 All Oath", - "help": "+10/hr emotion recovery is included into calculation" + "EmotionControlMethod": { + "name": "ResearchFarm2Setting.EmotionControlMethod.name", + "help": "ResearchFarm2Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm2Setting.Fleet1Control.name", + "help": "ResearchFarm2Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm2Setting.Fleet1Recover.name", + "help": "ResearchFarm2Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm2Setting.Fleet2.name", + "help": "ResearchFarm2Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm3Setting": { + "_info": { + "name": "ResearchFarm3Setting._info.name", + "help": "ResearchFarm3Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm3Setting.Enable.name", + "help": "ResearchFarm3Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm3Setting.Campaign.name", + "help": "ResearchFarm3Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm3Setting.Fleet1.name", + "help": "ResearchFarm3Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm3Setting.EmotionValue.name", + "help": "ResearchFarm3Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm3Setting.EmotionControlMethod.name", + "help": "ResearchFarm3Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm3Setting.Fleet1Control.name", + "help": "ResearchFarm3Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm3Setting.Fleet1Recover.name", + "help": "ResearchFarm3Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm3Setting.Fleet2.name", + "help": "ResearchFarm3Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm4Setting": { + "_info": { + "name": "ResearchFarm4Setting._info.name", + "help": "ResearchFarm4Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm4Setting.Enable.name", + "help": "ResearchFarm4Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm4Setting.Campaign.name", + "help": "ResearchFarm4Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm4Setting.Fleet1.name", + "help": "ResearchFarm4Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm4Setting.EmotionValue.name", + "help": "ResearchFarm4Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm4Setting.EmotionControlMethod.name", + "help": "ResearchFarm4Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm4Setting.Fleet1Control.name", + "help": "ResearchFarm4Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm4Setting.Fleet1Recover.name", + "help": "ResearchFarm4Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm4Setting.Fleet2.name", + "help": "ResearchFarm4Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm5Setting": { + "_info": { + "name": "ResearchFarm5Setting._info.name", + "help": "ResearchFarm5Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm5Setting.Enable.name", + "help": "ResearchFarm5Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm5Setting.Campaign.name", + "help": "ResearchFarm5Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm5Setting.Fleet1.name", + "help": "ResearchFarm5Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm5Setting.EmotionValue.name", + "help": "ResearchFarm5Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm5Setting.EmotionControlMethod.name", + "help": "ResearchFarm5Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm5Setting.Fleet1Control.name", + "help": "ResearchFarm5Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm5Setting.Fleet1Recover.name", + "help": "ResearchFarm5Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm5Setting.Fleet2.name", + "help": "ResearchFarm5Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm6Setting": { + "_info": { + "name": "ResearchFarm6Setting._info.name", + "help": "ResearchFarm6Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm6Setting.Enable.name", + "help": "ResearchFarm6Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm6Setting.Campaign.name", + "help": "ResearchFarm6Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm6Setting.Fleet1.name", + "help": "ResearchFarm6Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm6Setting.EmotionValue.name", + "help": "ResearchFarm6Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm6Setting.EmotionControlMethod.name", + "help": "ResearchFarm6Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm6Setting.Fleet1Control.name", + "help": "ResearchFarm6Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm6Setting.Fleet1Recover.name", + "help": "ResearchFarm6Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm6Setting.Fleet2.name", + "help": "ResearchFarm6Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" } }, "HpControl": { @@ -3080,6 +3473,28 @@ "help": "GuildCoin.Record.help" } }, + "ResearchPercent": { + "_info": { + "name": "ResearchPercent._info.name", + "help": "ResearchPercent._info.help" + }, + "Value": { + "name": "ResearchPercent.Value.name", + "help": "ResearchPercent.Value.help" + }, + "Limit": { + "name": "ResearchPercent.Limit.name", + "help": "ResearchPercent.Limit.help" + }, + "Color": { + "name": "ResearchPercent.Color.name", + "help": "ResearchPercent.Color.help" + }, + "Record": { + "name": "ResearchPercent.Record.name", + "help": "ResearchPercent.Record.help" + } + }, "AutoRestart": { "_info": { "name": "AutoRestart._info.name", @@ -3201,6 +3616,7 @@ "Medal": "Medal", "Core": "Core Data", "GuildCoin": "Guild Coin", + "ResearchPercent": "Gui.Overview.ResearchPercent", "Log": "Log", "Running": "Running", "Pending": "Pending", diff --git a/module/config/i18n/ja-JP.json b/module/config/i18n/ja-JP.json index a984b9d10..b62190fb0 100644 --- a/module/config/i18n/ja-JP.json +++ b/module/config/i18n/ja-JP.json @@ -8,6 +8,10 @@ "name": "出撃", "help": "" }, + "ResearchFarming": { + "name": "Menu.ResearchFarming.name", + "help": "Menu.ResearchFarming.help" + }, "Event": { "name": "イベント", "help": "" @@ -62,6 +66,34 @@ "name": "Commission Farming", "help": "" }, + "ResearchFarmingSetting": { + "name": "Task.ResearchFarmingSetting.name", + "help": "Task.ResearchFarmingSetting.help" + }, + "ResearchFarm": { + "name": "Task.ResearchFarm.name", + "help": "Task.ResearchFarm.help" + }, + "ResearchFarm2": { + "name": "Task.ResearchFarm2.name", + "help": "Task.ResearchFarm2.help" + }, + "ResearchFarm3": { + "name": "Task.ResearchFarm3.name", + "help": "Task.ResearchFarm3.help" + }, + "ResearchFarm4": { + "name": "Task.ResearchFarm4.name", + "help": "Task.ResearchFarm4.help" + }, + "ResearchFarm5": { + "name": "Task.ResearchFarm5.name", + "help": "Task.ResearchFarm5.help" + }, + "ResearchFarm6": { + "name": "Task.ResearchFarm6.name", + "help": "Task.ResearchFarm6.help" + }, "EventGeneral": { "name": "イベント共通設定", "help": "" @@ -980,60 +1012,421 @@ "calculate": "calculate", "ignore": "ignore", "calculate_ignore": "calculate_ignore" + } + }, + "ResearchFarmingSetting": { + "_info": { + "name": "ResearchFarmingSetting._info.name", + "help": "ResearchFarmingSetting._info.help" }, - "Fleet1Value": { - "name": "Emotion.Fleet1Value.name", - "help": "Emotion.Fleet1Value.help" + "OilLimit": { + "name": "ResearchFarmingSetting.OilLimit.name", + "help": "ResearchFarmingSetting.OilLimit.help" }, - "Fleet1Record": { - "name": "Emotion.Fleet1Record.name", - "help": "Emotion.Fleet1Record.help" + "ResearchSeries": { + "name": "ResearchFarmingSetting.ResearchSeries.name", + "help": "ResearchFarmingSetting.ResearchSeries.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "ShipIndex": { + "name": "ResearchFarmingSetting.ShipIndex.name", + "help": "ResearchFarmingSetting.ShipIndex.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "ExperienceIndex": { + "name": "ResearchFarmingSetting.ExperienceIndex.name", + "help": "ResearchFarmingSetting.ExperienceIndex.help", + "0": "0", + "1": "1", + "2": "2" + }, + "CheckInterval": { + "name": "ResearchFarmingSetting.CheckInterval.name", + "help": "ResearchFarmingSetting.CheckInterval.help" + }, + "CurrentCampaignTimes": { + "name": "ResearchFarmingSetting.CurrentCampaignTimes.name", + "help": "ResearchFarmingSetting.CurrentCampaignTimes.help" + }, + "OnepushNotify": { + "name": "ResearchFarmingSetting.OnepushNotify.name", + "help": "ResearchFarmingSetting.OnepushNotify.help" + } + }, + "ResearchFarm1Setting": { + "_info": { + "name": "ResearchFarm1Setting._info.name", + "help": "ResearchFarm1Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm1Setting.Enable.name", + "help": "ResearchFarm1Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm1Setting.Campaign.name", + "help": "ResearchFarm1Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm1Setting.Fleet1.name", + "help": "ResearchFarm1Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm1Setting.EmotionValue.name", + "help": "ResearchFarm1Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm1Setting.EmotionControlMethod.name", + "help": "ResearchFarm1Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" }, "Fleet1Control": { - "name": "Emotion.Fleet1Control.name", - "help": "Emotion.Fleet1Control.help", + "name": "ResearchFarm1Setting.Fleet1Control.name", + "help": "ResearchFarm1Setting.Fleet1Control.help", "keep_exp_bonus": "keep_exp_bonus", "prevent_green_face": "prevent_green_face", "prevent_yellow_face": "prevent_yellow_face", "prevent_red_face": "prevent_red_face" }, "Fleet1Recover": { - "name": "Emotion.Fleet1Recover.name", - "help": "Emotion.Fleet1Recover.help", + "name": "ResearchFarm1Setting.Fleet1Recover.name", + "help": "ResearchFarm1Setting.Fleet1Recover.help", "not_in_dormitory": "not_in_dormitory", "dormitory_floor_1": "dormitory_floor_1", "dormitory_floor_2": "dormitory_floor_2" }, - "Fleet1Oath": { - "name": "Emotion.Fleet1Oath.name", - "help": "Emotion.Fleet1Oath.help" + "Fleet2": { + "name": "ResearchFarm1Setting.Fleet2.name", + "help": "ResearchFarm1Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm2Setting": { + "_info": { + "name": "ResearchFarm2Setting._info.name", + "help": "ResearchFarm2Setting._info.help" }, - "Fleet2Value": { - "name": "Emotion.Fleet2Value.name", - "help": "Emotion.Fleet2Value.help" + "Enable": { + "name": "ResearchFarm2Setting.Enable.name", + "help": "ResearchFarm2Setting.Enable.help" }, - "Fleet2Record": { - "name": "Emotion.Fleet2Record.name", - "help": "Emotion.Fleet2Record.help" + "Campaign": { + "name": "ResearchFarm2Setting.Campaign.name", + "help": "ResearchFarm2Setting.Campaign.help" }, - "Fleet2Control": { - "name": "Emotion.Fleet2Control.name", - "help": "Emotion.Fleet2Control.help", + "Fleet1": { + "name": "ResearchFarm2Setting.Fleet1.name", + "help": "ResearchFarm2Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm2Setting.EmotionValue.name", + "help": "ResearchFarm2Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm2Setting.EmotionControlMethod.name", + "help": "ResearchFarm2Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm2Setting.Fleet1Control.name", + "help": "ResearchFarm2Setting.Fleet1Control.help", "keep_exp_bonus": "keep_exp_bonus", "prevent_green_face": "prevent_green_face", "prevent_yellow_face": "prevent_yellow_face", "prevent_red_face": "prevent_red_face" }, - "Fleet2Recover": { - "name": "Emotion.Fleet2Recover.name", - "help": "Emotion.Fleet2Recover.help", + "Fleet1Recover": { + "name": "ResearchFarm2Setting.Fleet1Recover.name", + "help": "ResearchFarm2Setting.Fleet1Recover.help", "not_in_dormitory": "not_in_dormitory", "dormitory_floor_1": "dormitory_floor_1", "dormitory_floor_2": "dormitory_floor_2" }, - "Fleet2Oath": { - "name": "Emotion.Fleet2Oath.name", - "help": "Emotion.Fleet2Oath.help" + "Fleet2": { + "name": "ResearchFarm2Setting.Fleet2.name", + "help": "ResearchFarm2Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm3Setting": { + "_info": { + "name": "ResearchFarm3Setting._info.name", + "help": "ResearchFarm3Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm3Setting.Enable.name", + "help": "ResearchFarm3Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm3Setting.Campaign.name", + "help": "ResearchFarm3Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm3Setting.Fleet1.name", + "help": "ResearchFarm3Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm3Setting.EmotionValue.name", + "help": "ResearchFarm3Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm3Setting.EmotionControlMethod.name", + "help": "ResearchFarm3Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm3Setting.Fleet1Control.name", + "help": "ResearchFarm3Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm3Setting.Fleet1Recover.name", + "help": "ResearchFarm3Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm3Setting.Fleet2.name", + "help": "ResearchFarm3Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm4Setting": { + "_info": { + "name": "ResearchFarm4Setting._info.name", + "help": "ResearchFarm4Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm4Setting.Enable.name", + "help": "ResearchFarm4Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm4Setting.Campaign.name", + "help": "ResearchFarm4Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm4Setting.Fleet1.name", + "help": "ResearchFarm4Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm4Setting.EmotionValue.name", + "help": "ResearchFarm4Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm4Setting.EmotionControlMethod.name", + "help": "ResearchFarm4Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm4Setting.Fleet1Control.name", + "help": "ResearchFarm4Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm4Setting.Fleet1Recover.name", + "help": "ResearchFarm4Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm4Setting.Fleet2.name", + "help": "ResearchFarm4Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm5Setting": { + "_info": { + "name": "ResearchFarm5Setting._info.name", + "help": "ResearchFarm5Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm5Setting.Enable.name", + "help": "ResearchFarm5Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm5Setting.Campaign.name", + "help": "ResearchFarm5Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm5Setting.Fleet1.name", + "help": "ResearchFarm5Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm5Setting.EmotionValue.name", + "help": "ResearchFarm5Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm5Setting.EmotionControlMethod.name", + "help": "ResearchFarm5Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm5Setting.Fleet1Control.name", + "help": "ResearchFarm5Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm5Setting.Fleet1Recover.name", + "help": "ResearchFarm5Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm5Setting.Fleet2.name", + "help": "ResearchFarm5Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm6Setting": { + "_info": { + "name": "ResearchFarm6Setting._info.name", + "help": "ResearchFarm6Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm6Setting.Enable.name", + "help": "ResearchFarm6Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm6Setting.Campaign.name", + "help": "ResearchFarm6Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm6Setting.Fleet1.name", + "help": "ResearchFarm6Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm6Setting.EmotionValue.name", + "help": "ResearchFarm6Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm6Setting.EmotionControlMethod.name", + "help": "ResearchFarm6Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm6Setting.Fleet1Control.name", + "help": "ResearchFarm6Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm6Setting.Fleet1Recover.name", + "help": "ResearchFarm6Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm6Setting.Fleet2.name", + "help": "ResearchFarm6Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" } }, "HpControl": { @@ -3080,6 +3473,28 @@ "help": "GuildCoin.Record.help" } }, + "ResearchPercent": { + "_info": { + "name": "ResearchPercent._info.name", + "help": "ResearchPercent._info.help" + }, + "Value": { + "name": "ResearchPercent.Value.name", + "help": "ResearchPercent.Value.help" + }, + "Limit": { + "name": "ResearchPercent.Limit.name", + "help": "ResearchPercent.Limit.help" + }, + "Color": { + "name": "ResearchPercent.Color.name", + "help": "ResearchPercent.Color.help" + }, + "Record": { + "name": "ResearchPercent.Record.name", + "help": "ResearchPercent.Record.help" + } + }, "AutoRestart": { "_info": { "name": "AutoRestart._info.name", @@ -3201,6 +3616,7 @@ "Medal": "Medal", "Core": "Core Data", "GuildCoin": "Guild Coin", + "ResearchPercent": "Gui.Overview.ResearchPercent", "Log": "ログ", "Running": "実行中", "Pending": "隊列中", diff --git a/module/config/i18n/zh-CN.json b/module/config/i18n/zh-CN.json index dfd3930f5..612dedb7e 100644 --- a/module/config/i18n/zh-CN.json +++ b/module/config/i18n/zh-CN.json @@ -8,6 +8,10 @@ "name": "出击", "help": "" }, + "ResearchFarming": { + "name": "刷科研", + "help": "" + }, "Event": { "name": "活动", "help": "" @@ -62,6 +66,34 @@ "name": "刷紧急委托", "help": "" }, + "ResearchFarmingSetting": { + "name": "刷科研(总)", + "help": "" + }, + "ResearchFarm": { + "name": "刷科研-1", + "help": "" + }, + "ResearchFarm2": { + "name": "刷科研-2", + "help": "" + }, + "ResearchFarm3": { + "name": "刷科研-3", + "help": "" + }, + "ResearchFarm4": { + "name": "刷科研-4", + "help": "" + }, + "ResearchFarm5": { + "name": "刷科研-5", + "help": "" + }, + "ResearchFarm6": { + "name": "刷科研-6", + "help": "" + }, "EventGeneral": { "name": "活动通用设置", "help": "" @@ -980,17 +1012,93 @@ "calculate": "计算心情消耗", "ignore": "无视红脸出击警告", "calculate_ignore": "计算心情消耗 + 无视红脸出击警告" - }, - "Fleet1Value": { - "name": "一队心情值", + } + }, + "ResearchFarmingSetting": { + "_info": { + "name": "设置", "help": "" }, - "Fleet1Record": { - "name": "一队心情记录时间", + "OilLimit": { + "name": "石油低于 X 后停止", "help": "" }, + "ResearchSeries": { + "name": "科研期数", + "help": "", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "ShipIndex": { + "name": "舰船序号", + "help": "从左往右数,从1开始", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "ExperienceIndex": { + "name": "刷第 X 个经验条", + "help": "", + "0": "1和2", + "1": "1", + "2": "2" + }, + "CheckInterval": { + "name": "每刷 X 次检查", + "help": "" + }, + "CurrentCampaignTimes": { + "name": "当前已刷 X 次", + "help": "清空后立即检查是否刷完" + }, + "OnepushNotify": { + "name": "刷完后通知", + "help": "推荐开启" + } + }, + "ResearchFarm1Setting": { + "_info": { + "name": "刷科研-1设置", + "help": "" + }, + "Enable": { + "name": "启用", + "help": "" + }, + "Campaign": { + "name": "关卡名称", + "help": "" + }, + "Fleet1": { + "name": "刷经验队伍", + "help": "", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "刷经验队伍初始心情", + "help": "" + }, + "EmotionControlMethod": { + "name": "心情设置", + "help": "", + "calculate": "计算心情消耗", + "ignore": "无视红脸出击警告", + "calculate_ignore": "计算心情消耗 + 无视红脸出击警告" + }, "Fleet1Control": { - "name": "一队心情控制", + "name": "刷经验队伍心情控制", "help": "", "keep_exp_bonus": "保持经验加成 (>120)", "prevent_green_face": "防止绿脸 (>40)", @@ -998,42 +1106,327 @@ "prevent_red_face": "防止红脸 (>0)" }, "Fleet1Recover": { - "name": "一队心情回复", + "name": "刷经验队伍心情回复", "help": "", "not_in_dormitory": "未放置于后宅 (20/h)", "dormitory_floor_1": "后宅一层 (40/h)", "dormitory_floor_2": "后宅二层 (50/h)" }, - "Fleet1Oath": { - "name": "一队全员已婚 (+10/h)", + "Fleet2": { + "name": "跨队编队", + "help": "", + "0": "不使用", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm2Setting": { + "_info": { + "name": "刷科研-2设置", "help": "" }, - "Fleet2Value": { - "name": "二队心情值", + "Enable": { + "name": "启用", "help": "" }, - "Fleet2Record": { - "name": "二队心情记录时间", + "Campaign": { + "name": "关卡名称", "help": "" }, - "Fleet2Control": { - "name": "二队心情控制", + "Fleet1": { + "name": "刷经验队伍", + "help": "", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "刷经验队伍初始心情", + "help": "" + }, + "EmotionControlMethod": { + "name": "心情设置", + "help": "", + "calculate": "计算心情消耗", + "ignore": "无视红脸出击警告", + "calculate_ignore": "计算心情消耗 + 无视红脸出击警告" + }, + "Fleet1Control": { + "name": "刷经验队伍心情控制", "help": "", "keep_exp_bonus": "保持经验加成 (>120)", "prevent_green_face": "防止绿脸 (>40)", "prevent_yellow_face": "防止黄脸 (>30)", "prevent_red_face": "防止红脸 (>0)" }, - "Fleet2Recover": { - "name": "二队心情回复", + "Fleet1Recover": { + "name": "刷经验队伍心情回复", "help": "", "not_in_dormitory": "未放置于后宅 (20/h)", "dormitory_floor_1": "后宅一层 (40/h)", "dormitory_floor_2": "后宅二层 (50/h)" }, - "Fleet2Oath": { - "name": "二队全员已婚 (+10/h)", + "Fleet2": { + "name": "跨队编队", + "help": "", + "0": "不使用", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm3Setting": { + "_info": { + "name": "刷科研-3设置", "help": "" + }, + "Enable": { + "name": "启用", + "help": "" + }, + "Campaign": { + "name": "关卡名称", + "help": "" + }, + "Fleet1": { + "name": "刷经验队伍", + "help": "", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "刷经验队伍初始心情", + "help": "" + }, + "EmotionControlMethod": { + "name": "心情设置", + "help": "", + "calculate": "计算心情消耗", + "ignore": "无视红脸出击警告", + "calculate_ignore": "计算心情消耗 + 无视红脸出击警告" + }, + "Fleet1Control": { + "name": "刷经验队伍心情控制", + "help": "", + "keep_exp_bonus": "保持经验加成 (>120)", + "prevent_green_face": "防止绿脸 (>40)", + "prevent_yellow_face": "防止黄脸 (>30)", + "prevent_red_face": "防止红脸 (>0)" + }, + "Fleet1Recover": { + "name": "刷经验队伍心情回复", + "help": "", + "not_in_dormitory": "未放置于后宅 (20/h)", + "dormitory_floor_1": "后宅一层 (40/h)", + "dormitory_floor_2": "后宅二层 (50/h)" + }, + "Fleet2": { + "name": "跨队编队", + "help": "", + "0": "不使用", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm4Setting": { + "_info": { + "name": "刷科研-4设置", + "help": "" + }, + "Enable": { + "name": "启用", + "help": "" + }, + "Campaign": { + "name": "关卡名称", + "help": "" + }, + "Fleet1": { + "name": "刷经验队伍", + "help": "", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "刷经验队伍初始心情", + "help": "" + }, + "EmotionControlMethod": { + "name": "心情设置", + "help": "", + "calculate": "计算心情消耗", + "ignore": "无视红脸出击警告", + "calculate_ignore": "计算心情消耗 + 无视红脸出击警告" + }, + "Fleet1Control": { + "name": "刷经验队伍心情控制", + "help": "", + "keep_exp_bonus": "保持经验加成 (>120)", + "prevent_green_face": "防止绿脸 (>40)", + "prevent_yellow_face": "防止黄脸 (>30)", + "prevent_red_face": "防止红脸 (>0)" + }, + "Fleet1Recover": { + "name": "刷经验队伍心情回复", + "help": "", + "not_in_dormitory": "未放置于后宅 (20/h)", + "dormitory_floor_1": "后宅一层 (40/h)", + "dormitory_floor_2": "后宅二层 (50/h)" + }, + "Fleet2": { + "name": "跨队编队", + "help": "", + "0": "不使用", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm5Setting": { + "_info": { + "name": "刷科研-5设置", + "help": "" + }, + "Enable": { + "name": "启用", + "help": "" + }, + "Campaign": { + "name": "关卡名称", + "help": "" + }, + "Fleet1": { + "name": "刷经验队伍", + "help": "", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "刷经验队伍初始心情", + "help": "" + }, + "EmotionControlMethod": { + "name": "心情设置", + "help": "", + "calculate": "计算心情消耗", + "ignore": "无视红脸出击警告", + "calculate_ignore": "计算心情消耗 + 无视红脸出击警告" + }, + "Fleet1Control": { + "name": "刷经验队伍心情控制", + "help": "", + "keep_exp_bonus": "保持经验加成 (>120)", + "prevent_green_face": "防止绿脸 (>40)", + "prevent_yellow_face": "防止黄脸 (>30)", + "prevent_red_face": "防止红脸 (>0)" + }, + "Fleet1Recover": { + "name": "刷经验队伍心情回复", + "help": "", + "not_in_dormitory": "未放置于后宅 (20/h)", + "dormitory_floor_1": "后宅一层 (40/h)", + "dormitory_floor_2": "后宅二层 (50/h)" + }, + "Fleet2": { + "name": "跨队编队", + "help": "", + "0": "不使用", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm6Setting": { + "_info": { + "name": "刷科研-6设置", + "help": "" + }, + "Enable": { + "name": "启用", + "help": "" + }, + "Campaign": { + "name": "关卡名称", + "help": "" + }, + "Fleet1": { + "name": "刷经验队伍", + "help": "", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "刷经验队伍初始心情", + "help": "" + }, + "EmotionControlMethod": { + "name": "心情设置", + "help": "", + "calculate": "计算心情消耗", + "ignore": "无视红脸出击警告", + "calculate_ignore": "计算心情消耗 + 无视红脸出击警告" + }, + "Fleet1Control": { + "name": "刷经验队伍心情控制", + "help": "", + "keep_exp_bonus": "保持经验加成 (>120)", + "prevent_green_face": "防止绿脸 (>40)", + "prevent_yellow_face": "防止黄脸 (>30)", + "prevent_red_face": "防止红脸 (>0)" + }, + "Fleet1Recover": { + "name": "刷经验队伍心情回复", + "help": "", + "not_in_dormitory": "未放置于后宅 (20/h)", + "dormitory_floor_1": "后宅一层 (40/h)", + "dormitory_floor_2": "后宅二层 (50/h)" + }, + "Fleet2": { + "name": "跨队编队", + "help": "", + "0": "不使用", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" } }, "HpControl": { @@ -3080,6 +3473,28 @@ "help": "GuildCoin.Record.help" } }, + "ResearchPercent": { + "_info": { + "name": "ResearchPercent._info.name", + "help": "ResearchPercent._info.help" + }, + "Value": { + "name": "ResearchPercent.Value.name", + "help": "ResearchPercent.Value.help" + }, + "Limit": { + "name": "ResearchPercent.Limit.name", + "help": "ResearchPercent.Limit.help" + }, + "Color": { + "name": "ResearchPercent.Color.name", + "help": "ResearchPercent.Color.help" + }, + "Record": { + "name": "ResearchPercent.Record.name", + "help": "ResearchPercent.Record.help" + } + }, "AutoRestart": { "_info": { "name": "自动重启", @@ -3201,6 +3616,7 @@ "Medal": "勋章", "Core": "核心数据", "GuildCoin": "舰队币", + "ResearchPercent": "科研船进度", "Log": "日志", "Running": "运行中", "Pending": "队列中", diff --git a/module/config/i18n/zh-TW.json b/module/config/i18n/zh-TW.json index 0ed9611e0..d92974cff 100644 --- a/module/config/i18n/zh-TW.json +++ b/module/config/i18n/zh-TW.json @@ -8,6 +8,10 @@ "name": "出擊", "help": "" }, + "ResearchFarming": { + "name": "Menu.ResearchFarming.name", + "help": "Menu.ResearchFarming.help" + }, "Event": { "name": "活動", "help": "" @@ -62,6 +66,34 @@ "name": "刷緊急委託", "help": "" }, + "ResearchFarmingSetting": { + "name": "Task.ResearchFarmingSetting.name", + "help": "Task.ResearchFarmingSetting.help" + }, + "ResearchFarm": { + "name": "Task.ResearchFarm.name", + "help": "Task.ResearchFarm.help" + }, + "ResearchFarm2": { + "name": "Task.ResearchFarm2.name", + "help": "Task.ResearchFarm2.help" + }, + "ResearchFarm3": { + "name": "Task.ResearchFarm3.name", + "help": "Task.ResearchFarm3.help" + }, + "ResearchFarm4": { + "name": "Task.ResearchFarm4.name", + "help": "Task.ResearchFarm4.help" + }, + "ResearchFarm5": { + "name": "Task.ResearchFarm5.name", + "help": "Task.ResearchFarm5.help" + }, + "ResearchFarm6": { + "name": "Task.ResearchFarm6.name", + "help": "Task.ResearchFarm6.help" + }, "EventGeneral": { "name": "活動通用", "help": "" @@ -980,60 +1012,421 @@ "calculate": "計算心情消耗", "ignore": "無視紅臉出擊警告", "calculate_ignore": "計算心情消耗 + 無視紅臉出擊警告" + } + }, + "ResearchFarmingSetting": { + "_info": { + "name": "ResearchFarmingSetting._info.name", + "help": "ResearchFarmingSetting._info.help" }, - "Fleet1Value": { - "name": "一隊心情值", - "help": "" + "OilLimit": { + "name": "ResearchFarmingSetting.OilLimit.name", + "help": "ResearchFarmingSetting.OilLimit.help" }, - "Fleet1Record": { - "name": "一隊心情紀錄時間", - "help": "" + "ResearchSeries": { + "name": "ResearchFarmingSetting.ResearchSeries.name", + "help": "ResearchFarmingSetting.ResearchSeries.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "ShipIndex": { + "name": "ResearchFarmingSetting.ShipIndex.name", + "help": "ResearchFarmingSetting.ShipIndex.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "ExperienceIndex": { + "name": "ResearchFarmingSetting.ExperienceIndex.name", + "help": "ResearchFarmingSetting.ExperienceIndex.help", + "0": "0", + "1": "1", + "2": "2" + }, + "CheckInterval": { + "name": "ResearchFarmingSetting.CheckInterval.name", + "help": "ResearchFarmingSetting.CheckInterval.help" + }, + "CurrentCampaignTimes": { + "name": "ResearchFarmingSetting.CurrentCampaignTimes.name", + "help": "ResearchFarmingSetting.CurrentCampaignTimes.help" + }, + "OnepushNotify": { + "name": "ResearchFarmingSetting.OnepushNotify.name", + "help": "ResearchFarmingSetting.OnepushNotify.help" + } + }, + "ResearchFarm1Setting": { + "_info": { + "name": "ResearchFarm1Setting._info.name", + "help": "ResearchFarm1Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm1Setting.Enable.name", + "help": "ResearchFarm1Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm1Setting.Campaign.name", + "help": "ResearchFarm1Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm1Setting.Fleet1.name", + "help": "ResearchFarm1Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm1Setting.EmotionValue.name", + "help": "ResearchFarm1Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm1Setting.EmotionControlMethod.name", + "help": "ResearchFarm1Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" }, "Fleet1Control": { - "name": "一隊心情控制", - "help": "", - "keep_exp_bonus": "保持經驗加成 (>120)", - "prevent_green_face": "防止綠臉 (>40)", - "prevent_yellow_face": "防止黃臉 (>30)", - "prevent_red_face": "防止紅臉 (>0)" + "name": "ResearchFarm1Setting.Fleet1Control.name", + "help": "ResearchFarm1Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" }, "Fleet1Recover": { - "name": "一隊心情回復", - "help": "", - "not_in_dormitory": "未放置於後宅 (20/h)", - "dormitory_floor_1": "後宅一樓 (40/h)", - "dormitory_floor_2": "後宅二樓 (50/h)" + "name": "ResearchFarm1Setting.Fleet1Recover.name", + "help": "ResearchFarm1Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" }, - "Fleet1Oath": { - "name": "一隊全員已婚 (+10/h)", - "help": "" + "Fleet2": { + "name": "ResearchFarm1Setting.Fleet2.name", + "help": "ResearchFarm1Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm2Setting": { + "_info": { + "name": "ResearchFarm2Setting._info.name", + "help": "ResearchFarm2Setting._info.help" }, - "Fleet2Value": { - "name": "二隊心情值", - "help": "" + "Enable": { + "name": "ResearchFarm2Setting.Enable.name", + "help": "ResearchFarm2Setting.Enable.help" }, - "Fleet2Record": { - "name": "二隊心情紀錄時間", - "help": "" + "Campaign": { + "name": "ResearchFarm2Setting.Campaign.name", + "help": "ResearchFarm2Setting.Campaign.help" }, - "Fleet2Control": { - "name": "二隊心情控制", - "help": "", - "keep_exp_bonus": "保持經驗加成 (>120)", - "prevent_green_face": "防止綠臉 (>40)", - "prevent_yellow_face": "防止黃臉 (>30)", - "prevent_red_face": "防止紅臉 (>0)" + "Fleet1": { + "name": "ResearchFarm2Setting.Fleet1.name", + "help": "ResearchFarm2Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" }, - "Fleet2Recover": { - "name": "二隊心情回復", - "help": "", - "not_in_dormitory": "未放置於後宅 (20/h)", - "dormitory_floor_1": "後宅一樓 (40/h)", - "dormitory_floor_2": "後宅二樓 (50/h)" + "EmotionValue": { + "name": "ResearchFarm2Setting.EmotionValue.name", + "help": "ResearchFarm2Setting.EmotionValue.help" }, - "Fleet2Oath": { - "name": "二隊全員已婚 (+10/h)", - "help": "" + "EmotionControlMethod": { + "name": "ResearchFarm2Setting.EmotionControlMethod.name", + "help": "ResearchFarm2Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm2Setting.Fleet1Control.name", + "help": "ResearchFarm2Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm2Setting.Fleet1Recover.name", + "help": "ResearchFarm2Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm2Setting.Fleet2.name", + "help": "ResearchFarm2Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm3Setting": { + "_info": { + "name": "ResearchFarm3Setting._info.name", + "help": "ResearchFarm3Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm3Setting.Enable.name", + "help": "ResearchFarm3Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm3Setting.Campaign.name", + "help": "ResearchFarm3Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm3Setting.Fleet1.name", + "help": "ResearchFarm3Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm3Setting.EmotionValue.name", + "help": "ResearchFarm3Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm3Setting.EmotionControlMethod.name", + "help": "ResearchFarm3Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm3Setting.Fleet1Control.name", + "help": "ResearchFarm3Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm3Setting.Fleet1Recover.name", + "help": "ResearchFarm3Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm3Setting.Fleet2.name", + "help": "ResearchFarm3Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm4Setting": { + "_info": { + "name": "ResearchFarm4Setting._info.name", + "help": "ResearchFarm4Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm4Setting.Enable.name", + "help": "ResearchFarm4Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm4Setting.Campaign.name", + "help": "ResearchFarm4Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm4Setting.Fleet1.name", + "help": "ResearchFarm4Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm4Setting.EmotionValue.name", + "help": "ResearchFarm4Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm4Setting.EmotionControlMethod.name", + "help": "ResearchFarm4Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm4Setting.Fleet1Control.name", + "help": "ResearchFarm4Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm4Setting.Fleet1Recover.name", + "help": "ResearchFarm4Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm4Setting.Fleet2.name", + "help": "ResearchFarm4Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm5Setting": { + "_info": { + "name": "ResearchFarm5Setting._info.name", + "help": "ResearchFarm5Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm5Setting.Enable.name", + "help": "ResearchFarm5Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm5Setting.Campaign.name", + "help": "ResearchFarm5Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm5Setting.Fleet1.name", + "help": "ResearchFarm5Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm5Setting.EmotionValue.name", + "help": "ResearchFarm5Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm5Setting.EmotionControlMethod.name", + "help": "ResearchFarm5Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm5Setting.Fleet1Control.name", + "help": "ResearchFarm5Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm5Setting.Fleet1Recover.name", + "help": "ResearchFarm5Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm5Setting.Fleet2.name", + "help": "ResearchFarm5Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + } + }, + "ResearchFarm6Setting": { + "_info": { + "name": "ResearchFarm6Setting._info.name", + "help": "ResearchFarm6Setting._info.help" + }, + "Enable": { + "name": "ResearchFarm6Setting.Enable.name", + "help": "ResearchFarm6Setting.Enable.help" + }, + "Campaign": { + "name": "ResearchFarm6Setting.Campaign.name", + "help": "ResearchFarm6Setting.Campaign.help" + }, + "Fleet1": { + "name": "ResearchFarm6Setting.Fleet1.name", + "help": "ResearchFarm6Setting.Fleet1.help", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" + }, + "EmotionValue": { + "name": "ResearchFarm6Setting.EmotionValue.name", + "help": "ResearchFarm6Setting.EmotionValue.help" + }, + "EmotionControlMethod": { + "name": "ResearchFarm6Setting.EmotionControlMethod.name", + "help": "ResearchFarm6Setting.EmotionControlMethod.help", + "calculate": "calculate", + "ignore": "ignore", + "calculate_ignore": "calculate_ignore" + }, + "Fleet1Control": { + "name": "ResearchFarm6Setting.Fleet1Control.name", + "help": "ResearchFarm6Setting.Fleet1Control.help", + "keep_exp_bonus": "keep_exp_bonus", + "prevent_green_face": "prevent_green_face", + "prevent_yellow_face": "prevent_yellow_face", + "prevent_red_face": "prevent_red_face" + }, + "Fleet1Recover": { + "name": "ResearchFarm6Setting.Fleet1Recover.name", + "help": "ResearchFarm6Setting.Fleet1Recover.help", + "not_in_dormitory": "not_in_dormitory", + "dormitory_floor_1": "dormitory_floor_1", + "dormitory_floor_2": "dormitory_floor_2" + }, + "Fleet2": { + "name": "ResearchFarm6Setting.Fleet2.name", + "help": "ResearchFarm6Setting.Fleet2.help", + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6" } }, "HpControl": { @@ -3080,6 +3473,28 @@ "help": "GuildCoin.Record.help" } }, + "ResearchPercent": { + "_info": { + "name": "ResearchPercent._info.name", + "help": "ResearchPercent._info.help" + }, + "Value": { + "name": "ResearchPercent.Value.name", + "help": "ResearchPercent.Value.help" + }, + "Limit": { + "name": "ResearchPercent.Limit.name", + "help": "ResearchPercent.Limit.help" + }, + "Color": { + "name": "ResearchPercent.Color.name", + "help": "ResearchPercent.Color.help" + }, + "Record": { + "name": "ResearchPercent.Record.name", + "help": "ResearchPercent.Record.help" + } + }, "AutoRestart": { "_info": { "name": "AutoRestart._info.name", @@ -3201,6 +3616,7 @@ "Medal": "勳章", "Core": "覈心數據", "GuildCoin": "艦隊幣", + "ResearchPercent": "Gui.Overview.ResearchPercent", "Log": "日誌", "Running": "執行中", "Pending": "佇列中", diff --git a/module/gg_handler/gg_handler.py b/module/gg_handler/gg_handler.py index 2e87a92aa..fa19c82d2 100644 --- a/module/gg_handler/gg_handler.py +++ b/module/gg_handler/gg_handler.py @@ -258,6 +258,12 @@ class GGHandler: 'opsi_meowfficer_farming', 'opsi_hazard1_leveling', 'opsi_cross_month', + 'research_farm', + 'research_farm2', + 'research_farm3', + 'research_farm4', + 'research_farm5', + 'research_farm6', 'main', 'main2', 'main3', diff --git a/module/research_farming/assets.py b/module/research_farming/assets.py new file mode 100644 index 000000000..ff1a0ca1f --- /dev/null +++ b/module/research_farming/assets.py @@ -0,0 +1,14 @@ +from module.base.button import Button +from module.base.template import Template + +# This file was automatically generated by dev_tools/button_extract.py. +# Don't modify it manually. + +SHIP_EXPERIENCE_COMMIT_1 = Button(area={'cn': (1192, 444, 1229, 467), 'en': (1192, 444, 1229, 467), 'jp': (1192, 444, 1229, 467), 'tw': (1192, 444, 1229, 467)}, color={'cn': (54, 100, 192), 'en': (54, 100, 192), 'jp': (54, 100, 192), 'tw': (54, 100, 192)}, button={'cn': (1192, 444, 1229, 467), 'en': (1192, 444, 1229, 467), 'jp': (1192, 444, 1229, 467), 'tw': (1192, 444, 1229, 467)}, file={'cn': './assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_1.png', 'en': './assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_1.png', 'jp': './assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_1.png', 'tw': './assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_1.png'}) +SHIP_EXPERIENCE_COMMIT_2 = Button(area={'cn': (1194, 493, 1226, 517), 'en': (1194, 493, 1226, 517), 'jp': (1194, 493, 1226, 517), 'tw': (1194, 493, 1226, 517)}, color={'cn': (53, 99, 192), 'en': (53, 99, 192), 'jp': (53, 99, 192), 'tw': (53, 99, 192)}, button={'cn': (1194, 493, 1226, 517), 'en': (1194, 493, 1226, 517), 'jp': (1194, 493, 1226, 517), 'tw': (1194, 493, 1226, 517)}, file={'cn': './assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_2.png', 'en': './assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_2.png', 'jp': './assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_2.png', 'tw': './assets/cn/research_farming/SHIP_EXPERIENCE_COMMIT_2.png'}) +SHIP_EXPERIENCE_COMPLETE_1 = Button(area={'cn': (1068, 186, 1153, 189), 'en': (1068, 186, 1153, 189), 'jp': (1068, 186, 1153, 189), 'tw': (1068, 186, 1153, 189)}, color={'cn': (147, 137, 95), 'en': (147, 137, 95), 'jp': (147, 137, 95), 'tw': (147, 137, 95)}, button={'cn': (1068, 186, 1153, 189), 'en': (1068, 186, 1153, 189), 'jp': (1068, 186, 1153, 189), 'tw': (1068, 186, 1153, 189)}, file={'cn': './assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_1.png', 'en': './assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_1.png', 'jp': './assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_1.png', 'tw': './assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_1.png'}) +SHIP_EXPERIENCE_COMPLETE_2 = Button(area={'cn': (1068, 376, 1153, 379), 'en': (1068, 376, 1153, 379), 'jp': (1068, 376, 1153, 379), 'tw': (1068, 376, 1153, 379)}, color={'cn': (147, 137, 94), 'en': (147, 137, 94), 'jp': (147, 137, 94), 'tw': (147, 137, 94)}, button={'cn': (1068, 376, 1153, 379), 'en': (1068, 376, 1153, 379), 'jp': (1068, 376, 1153, 379), 'tw': (1068, 376, 1153, 379)}, file={'cn': './assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_2.png', 'en': './assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_2.png', 'jp': './assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_2.png', 'tw': './assets/cn/research_farming/SHIP_EXPERIENCE_COMPLETE_2.png'}) +SHIP_EXPERIENCE_FINISHED_1 = Button(area={'cn': (944, 141, 953, 148), 'en': (944, 141, 953, 148), 'jp': (944, 141, 953, 148), 'tw': (944, 141, 953, 148)}, color={'cn': (190, 105, 96), 'en': (190, 105, 96), 'jp': (190, 105, 96), 'tw': (190, 105, 96)}, button={'cn': (944, 141, 953, 148), 'en': (944, 141, 953, 148), 'jp': (944, 141, 953, 148), 'tw': (944, 141, 953, 148)}, file={'cn': './assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_1.png', 'en': './assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_1.png', 'jp': './assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_1.png', 'tw': './assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_1.png'}) +SHIP_EXPERIENCE_FINISHED_2 = Button(area={'cn': (944, 331, 953, 338), 'en': (944, 331, 953, 338), 'jp': (944, 331, 953, 338), 'tw': (944, 331, 953, 338)}, color={'cn': (191, 104, 96), 'en': (191, 104, 96), 'jp': (191, 104, 96), 'tw': (191, 104, 96)}, button={'cn': (944, 331, 953, 338), 'en': (944, 331, 953, 338), 'jp': (944, 331, 953, 338), 'tw': (944, 331, 953, 338)}, file={'cn': './assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_2.png', 'en': './assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_2.png', 'jp': './assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_2.png', 'tw': './assets/cn/research_farming/SHIP_EXPERIENCE_FINISHED_2.png'}) +SHIP_EXPERIENCE_PERCENT_1 = Button(area={'cn': (950, 186, 1271, 193), 'en': (950, 186, 1271, 193), 'jp': (950, 186, 1271, 193), 'tw': (950, 186, 1271, 193)}, color={'cn': (151, 146, 92), 'en': (151, 146, 92), 'jp': (151, 146, 92), 'tw': (151, 146, 92)}, button={'cn': (950, 186, 1271, 193), 'en': (950, 186, 1271, 193), 'jp': (950, 186, 1271, 193), 'tw': (950, 186, 1271, 193)}, file={'cn': './assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_1.png', 'en': './assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_1.png', 'jp': './assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_1.png', 'tw': './assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_1.png'}) +SHIP_EXPERIENCE_PERCENT_2 = Button(area={'cn': (950, 376, 1271, 383), 'en': (950, 376, 1271, 383), 'jp': (950, 376, 1271, 383), 'tw': (950, 376, 1271, 383)}, color={'cn': (151, 145, 91), 'en': (151, 145, 91), 'jp': (151, 145, 91), 'tw': (151, 145, 91)}, button={'cn': (950, 376, 1271, 383), 'en': (950, 376, 1271, 383), 'jp': (950, 376, 1271, 383), 'tw': (950, 376, 1271, 383)}, file={'cn': './assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_2.png', 'en': './assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_2.png', 'jp': './assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_2.png', 'tw': './assets/cn/research_farming/SHIP_EXPERIENCE_PERCENT_2.png'}) diff --git a/module/research_farming/farming.py b/module/research_farming/farming.py new file mode 100644 index 000000000..b08745e34 --- /dev/null +++ b/module/research_farming/farming.py @@ -0,0 +1,126 @@ +from module.base.utils import color_bar_percentage +from module.config.utils import deep_get +from module.logger import logger +from module.base.base import ModuleBase +from module.ui.ui import UI +from module.ui.page import page_shipyard +from module.shipyard.shipyard_reward import RewardShipyard +from module.research_farming.assets import (SHIP_EXPERIENCE_PERCENT_1, SHIP_EXPERIENCE_PERCENT_2, + SHIP_EXPERIENCE_FINISHED_1, SHIP_EXPERIENCE_FINISHED_2, + SHIP_EXPERIENCE_COMPLETE_1, SHIP_EXPERIENCE_COMPLETE_2, + SHIP_EXPERIENCE_COMMIT_1, SHIP_EXPERIENCE_COMMIT_2) +from datetime import datetime + + +class ResearchFarming(UI, ModuleBase): + def _DisableAllResearchFarmTask(self): + for i in range(1, 7): + self.config.modified[f"{self._GetResearchFarmTaskName(i)}.Scheduler.Enable"] = False + + def _Override(self, Index): + if Index == 1: + self.SHIP_EXPERIENCE_PERCENT = SHIP_EXPERIENCE_PERCENT_1 + self.SHIP_EXPERIENCE_FINISHED = SHIP_EXPERIENCE_FINISHED_1 + self.SHIP_EXPERIENCE_COMPLETE = SHIP_EXPERIENCE_COMPLETE_1 + self.SHIP_EXPERIENCE_COMMIT = SHIP_EXPERIENCE_COMMIT_1 + elif Index == 2: + self.SHIP_EXPERIENCE_PERCENT = SHIP_EXPERIENCE_PERCENT_2 + self.SHIP_EXPERIENCE_FINISHED = SHIP_EXPERIENCE_FINISHED_2 + self.SHIP_EXPERIENCE_COMPLETE = SHIP_EXPERIENCE_COMPLETE_2 + self.SHIP_EXPERIENCE_COMMIT = SHIP_EXPERIENCE_COMMIT_2 + + def _UiGotoTargetShip(self): + self.ui_goto(page_shipyard) + Series = deep_get(self.config.data, "ResearchFarmingSetting.ResearchFarmingSetting.ResearchSeries") + Index = deep_get(self.config.data, "ResearchFarmingSetting.ResearchFarmingSetting.ShipIndex") + RewardShipyard(config=self.config, device=self.device).shipyard_set_focus(series=Series, index=Index) + + def _IsSingleFinished(self, Index): + self._Override(Index) + CurrentPercent = color_bar_percentage(self.device.image, self.SHIP_EXPERIENCE_PERCENT.area, prev_color=(255, 239, 82)) + self.config.modified["Dashboard.ResearchPercent.Value"] = int(CurrentPercent * 100) + self.config.modified["Dashboard.ResearchPercent.Record"] = datetime.now().replace(microsecond=0) + self.ui_click(self.SHIP_EXPERIENCE_FINISHED, check_button=self.SHIP_EXPERIENCE_COMMIT) + self.device.sleep(0.5) + self.device.click(self.SHIP_EXPERIENCE_COMMIT) + if CurrentPercent > 0.99 and self.appear(self.SHIP_EXPERIENCE_FINISHED): + return True + return False + + def _Notify(self, Index): + IsPush = deep_get(self.config.data, "ResearchFarmingSetting.ResearchFarmingSetting.OnepushNotify") + if IsPush: + from module.notify import handle_notify + handle_notify(self.config.Error_OnePushConfig, + title=f"Alas <{self.config.config_name}>: Research ship's experience finished", + content=f"Ship's experience {Index} has finished") + + def CheckResearchShipExperience(self): + self.device.screenshot() + self._UiGotoTargetShip() + ExperienceIndex = deep_get(self.config.data, "ResearchFarmingSetting.ResearchFarmingSetting.ExperienceIndex") + if ExperienceIndex == 1 or ExperienceIndex == 2: + self._Override(ExperienceIndex) + if self._IsSingleFinished(ExperienceIndex): + self._DisableAllResearchFarmTask() + self._Notify(ExperienceIndex) + elif ExperienceIndex == 0: + if not self.appear(SHIP_EXPERIENCE_COMPLETE_1): + if self._IsSingleFinished(1): + self.ui_click(SHIP_EXPERIENCE_FINISHED_1, check_button=SHIP_EXPERIENCE_COMMIT_1) + self.device.sleep(0.5) + self.device.click(SHIP_EXPERIENCE_COMMIT_1) + self._Notify(1) + elif not self.appear(SHIP_EXPERIENCE_COMPLETE_2): + if self._IsSingleFinished(2): + self.ui_click(SHIP_EXPERIENCE_FINISHED_2, check_button=SHIP_EXPERIENCE_COMMIT_2) + self.device.sleep(0.5) + self.device.click(SHIP_EXPERIENCE_COMMIT_2) + self._DisableAllResearchFarmTask() + self._Notify(2) + + def _GetResearchFarmTaskName(self, Index): + return f"ResearchFarm{Index if Index != 1 else ''}" + + def _SetOilLimit(self, Index): + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.StopCondition.OilLimit"] = self.config.ResearchFarmingSetting_OilLimit + + def _SetCampaign(self, Index): + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Campaign.Name"] = deep_get(self.config.data, + f"ResearchFarmingSetting.ResearchFarm{Index}Setting.Campaign") + + def _SetFleet(self, Index): + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Fleet.Fleet1"] = deep_get(self.config.data, + f"ResearchFarmingSetting.ResearchFarm{Index}Setting.Fleet1") + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Fleet.Fleet2"] = deep_get(self.config.data, + f"ResearchFarmingSetting.ResearchFarm{Index}Setting.Fleet2") + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Fleet.FleetOrder"] = "fleet1_all_fleet2_standby" + + def _SetEmotion(self, Index): + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Emotion.Fleet1Value"] = deep_get(self.config.data, + f"ResearchFarmingSetting.ResearchFarm{Index}Setting.EmotionValue") + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Emotion.Fleet2Value"] = 119 + + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Emotion.Fleet1Record"] = datetime.now() + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Emotion.Fleet2Record"] = datetime.now() + + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Emotion.Mode"] = deep_get(self.config.data, + f"ResearchFarmingSetting.ResearchFarm{Index}Setting.EmotionControlMethod") + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Emotion.Fleet1Control"] = deep_get(self.config.data, + f"ResearchFarmingSetting.ResearchFarm{Index}Setting.Fleet1Control") + self.config.modified[f"{self._GetResearchFarmTaskName(Index)}.Emotion.Fleet1Recover"] = deep_get(self.config.data, + f"ResearchFarmingSetting.ResearchFarm{Index}Setting.Fleet1Recover") + + def _Call(self, Index): + self.config.task_call(self._GetResearchFarmTaskName(Index)) + + def run(self): + for i in range(1, 7): + if deep_get(self.config.data, f"ResearchFarmingSetting.ResearchFarm{i}Setting.Enable"): + self._SetOilLimit(i) + self._SetCampaign(i) + self._SetFleet(i) + self._SetEmotion(i) + self._Call(i) + self.config.Scheduler_Enable = False + self.config.task_stop()