From 59b62399263bc1401972eca60d791d665c12211c Mon Sep 17 00:00:00 2001 From: fourinone41 Date: Thu, 10 Oct 2024 09:28:55 -0400 Subject: [PATCH] sortie sim: results Node Reached resource node after --- assets/maps/nodeAnchor.png | Bin 0 -> 6879 bytes js/data/strings_en.json | 1 + js/data/strings_ja.json | 1 + js/simulator-ui/sim-interface.js | 3 +++ js/simulator-ui/ui-main.js | 3 ++- simulator.html | 4 ++-- 6 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 assets/maps/nodeAnchor.png diff --git a/assets/maps/nodeAnchor.png b/assets/maps/nodeAnchor.png new file mode 100644 index 0000000000000000000000000000000000000000..b906632b7f99f2f4e97df3035a5954c8b53772bd GIT binary patch literal 6879 zcmV<58X)C~P)j5OMA4n$2!<5&?AZ>D9Bc$sDOeH2%7?;xCQ}PWGjLTiXym! zEGnXiiVNTdvhRdINJs(+Nq~SXa{o`#&fodx>dcv$tMi{+*ULxX`;zzmp69-w`+47w z!T6nCU~tBOfj^J2e`ox14rdJGfBW_8WEeCt#yEV%7>`^`05B0Hn1pg@p$?PL^~(^^ zdm;Tjjs72JIze;3`Z@x}q0do||IYx_6UR8jjZOfcF|itq_wu=nsVVu4nP*>{&Ppg? zewcL6f6j#hj&{cL)7t7|cAfv69G?4!jXgiidZA>@q7JVKQ zWB=VVACs0wlP}R72ae&p$g|VJsMiz$O{f-(k4mBUNfoR<=fQKH4B=l(aB^WEk`{I1 z+@CrTx2PS*7PjHQ*Y#k{Q=eDV^2bjew@&(~7WOl9rCw7~MX6d8#dj%+8Zh|XBLl`* zMj~TeZm!payu3)Q{It)ezHVg9lH!ZG3Q2&@VDE_qK$>pPP>ey>K$wxR&)1~3lWkTZ z*kaMt?Pb}b++oq)eb9_A3o(()j~NXOT{OT@n(iQy78EO(I`?5TH?7BXRz8?h)nFQP zM<zXlwY?lGtavB`G>o78M-}cR$JC?mjGcN1jY489W z7T(1=oq|zo?R*5x%{IMBk;P(-1DIo>p2xrP;?RYLV7$WwV?0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Un+HBj{WKg3muhblP*ork7w(d=5Oqu4!EH_v-^-=@mzlKY|VWLSXLg z2^$Y*T)13gCR#p*TLRn7-BU6?sd(8B9D zRymRL-5f%adZfa{ErmM0 zWLSD9!i==v*l8CHcdXyJ1D;0@b)^(vdGNC5aa21>ygT}DJ1CVY=0mb@{f?fE^BZ6^ zmx(De82B$O2B+v+y{Gt$Tw9{bQp=kyjF5 zXTHqN>O@mmJ#y*#Y?rpdt4wL{*;VLDS*#R9eOcV#Fn6=!2a13l0q~lj0r1c6-KqD; z)LTsS+j!1ROe*8;n8xj0GP@rC{b>OV7d(Q8UK3(XDn&6HYD7s+Z6kNwT2Qd7qUTBE zbLrDFk3^3z=L;XE=eOO@xY>}Ce!DLF@-sp1ndX7w$bOXXQsADOKzYuozW>MuAwo<9 z{lWUZvd9Gx-S`yZXR}XKJ|zGpltR_x|0MvwF43w9gt3~97xj|>UH+2=_-Uv!tf@J-~(XiaiaQOTBePRKWNWcb#^Xmv&K+^#^H*x>NJ)BDLal8Yk##D)R6Agu!1t zcruQc%y~Bwv$Z&wF@+k{nLy%4=nwx`QN3NKr_yE~+J5{R5?6}SfklwB{)A4iMdM7X6B z83l~@bi)}_^IxnaKqo!`Vm`t>i#g!vXydt;HVU?AtKUm<)_z!2Zudcoz<%au-K(ZD zIEL> .25 || (ship1.repairs && ship1.repairs.length))) this._results.totalCanAdvanceAfter++; }, _inputEquivalent: function(v1,v2) { diff --git a/js/simulator-ui/ui-main.js b/js/simulator-ui/ui-main.js index df0402a1..8efcdef3 100644 --- a/js/simulator-ui/ui-main.js +++ b/js/simulator-ui/ui-main.js @@ -198,7 +198,7 @@ var UI_MAIN = Vue.createApp({ fuelS: 0, ammoS: 0, steelS: 0, bauxS: 0, bucketS: 0, dameconS: 0, underwayS: 0, fuelSunk: 0, ammoSunk: 0, steelSunk: 0, bauxSunk: 0, bucketSunk: 0, dameconSunk: 0, underwaySunk: 0, emptiedPlane: 0, emptiedLBAS: 0, - fcfUsed: 0, nodeReached: [], + fcfUsed: 0, nodeReached: [], canAdvanceAfter: 0, showMore: false, fuelA: 0, ammoA: 0, steelA: 0, bauxA: 0, bucketA: 0, dameconA: 0, underwayA: 0, fuelB: 0, ammoB: 0, steelB: 0, bauxB: 0, bucketB: 0, dameconB: 0, underwayB: 0, @@ -518,6 +518,7 @@ var UI_MAIN = Vue.createApp({ this.results.flagSunkHP = formatNum(resultSim.totalGaugeDamage / totalNum); this.results.flagSunkHPBoss = formatNum(resultSim.totalGaugeDamage / nodeLast.num); this.results.transport = formatNum(resultSim.totalTransport / totalNum); + this.results.canAdvanceAfter = formatNum(resultSim.totalCanAdvanceAfter / totalNum); this.results.fuelSupply = formatNum(resultSim.totalFuelS / totalNum); this.results.ammoSupply = formatNum(resultSim.totalAmmoS / totalNum); diff --git a/simulator.html b/simulator.html index cdba43a2..db65cad0 100644 --- a/simulator.html +++ b/simulator.html @@ -586,8 +586,8 @@

{{$t('node_reached')}}:
- - + +
{{n}}
{{stat}}
{{n}}
{{stat}}{{results.canAdvanceAfter}}