goldencow2 / 18Engine

A plug-and-play script that can be added to any 18XX mod on TTS with no scripting knowledge.
GNU General Public License v3.0
4 stars 3 forks source link

I can't quite get Charters Pay Companies to work #1

Closed lemonhopogatari closed 4 years ago

lemonhopogatari commented 4 years ago

I've identified my Charters, to the extent that Pay Privates recognizes Privates in Charters. However, I'm not sure what I have to do seeing as Payouts don't recognize Shares in Charters.

My game options look like this

gameOptions = { BANK_SIZE = 7000, TRANSACTION_LOG_GUID = '364d08', MONEY_SYMBOL = '$', MONEY_SYMBOL_POSITION = 'end', BANK_POOL_ZONE_GUID = '1cbcb3', SHARE_DESCRIPTIONS_ARE_PERCENTAGE = true, USE_PRIVATES = true, CHARTER_SHARES_PAY_COMPANY = true }

Any pointers in the right direction?

Also as an aside, a lot of HERE links in the tutorial seem to be gone. Any way I can find the extra info?

Thanks in advance!

goldencow2 commented 4 years ago

The script is working on my end, so it's probably one of two things:

If it's neither of those, please pass me over the save file and I'll take a look; sorry about the issue either way.

(An aside: BANK_POOL_ZONE_GUID won't do anything unless BANK_POOL_SHARES_PAY_COMPANY is set to true)

As for dead links, it's more that they never existed in the first place because I'm terrible. I'll try to rectify those in the coming days but any info I have planned for those wouldn't really be relevant here.

lemonhopogatari commented 4 years ago

Alright! I'll try to play around with the code for a bit to see if I can work it out, then send you a save if I can't. And thanks for this script! It is absolutely amazing! If you have a Paypal/Patreon/Donate Button let me know cause I would gladly kick back a couple of bucks for your work! :)

lemonhopogatari commented 4 years ago

Alright! Got it! It was the USE_SAVES thing. But I feel that's on TTS's weird system more than your code! Thanks for the help!