Board Thread:The Last Sovereign Discussion/@comment-31632839-20170920202133/@comment-31632839-20170928164844

tldr; new version 0.4.4: http://s000.tinyupload.com/index.php?file_id=29395973649398870871

- changed gasm falls shop cost to 225k

- added yhilin mine to after reunion round ( no secret stats or rp gains at that point though)

- improved yhilin bank return

- added checks for sufficient remaining funds for the extra options (checks for the investments were in place since the 0.3 versions)

- added possiblity to overwrite the cost in the aforementioned sufficient funds checks, thus allowing for example to check for 1kk instead of 100k remaining funds for the merchant guild option (calculation still takes the cost of 100k ofc)

- fixed investment table striping

GafferGamG wrote: The tool lists (and calculates) the Gasm Falls Shop as costing 215k. Shouldn't it be 225k? Or is the Investments page wrong? Changed the cost to 225k. If in doubt always trust the wiki instead of my tool. I got all the information from the wiki anyways.

GafferGamG wrote: The Yhilin Mine Processing investment is available during Reunion for 50k if skipped during Chapter 1. I don't know how the RP and secret stat gains differ from the earlier investment though. Added the investment to the reunion round, but without any hidden stats or relationship points gains.

The investment page does say it gives relationship points for Megail, but Megail's page does list the mine investment only once and that entry has a note saying that it counts only up to late chapter 2. So no gain at the reunion from the investment. Therefor one of the two pages is wrong and I trust Megail's page in this case more. Maybe someone can investigate it and possible correct one or the other page.

For hidden stats, I could not find any entry on the secret stats page for this investment, besides +2 for the yhilin stat but only if invested in chapter 1. So again no gain at the reunion for this investment.

I also took another look at the yhilin bank investment 1 and improved the return handling. Now the 5k return at the start of chapter 2 is also included for total return and ROI column calculation. There is still no column showing returns for the same round as it is invested in, but adding that would unnecessary bloat the table.

I had checks that disabled the checkbox of investment that cost more then the remaining funds for that round would allow for a long time. But for some reason I hadn't added a simliar mechanic for the extra options. I have done that now.

While doing that I also implemented a way to give a value that differs from the actual cost of the investment to be considered for the check. Thus allowing to set a different treshold to disable an investment or extra option. For example it allowed me to disable the merchant guild checkbox if remaining funds in that round is below 1kk instead of 100k. Ofcourse for all calculation it still takes 100k as cost for joining the guild. The given value is only used for disableing the checkbox. If no extra value is giving the actual cost is used for the check.

While it is true, what I said before about not being able to distinguish between available funds in yhilin and in ardford at the reunion, it is also not really relevant. It just didn't occur to me that considering remaining funds instead of available funds would achieve want was needed. Even though I a similar mechanic already implemented for the investments...