Config
Log for #openttd on 16th August 2023:
Times are UTC Toggle Colours
00:38:22  *** Wormnest has quit IRC
01:22:20  *** Wormnest has joined #openttd
01:41:17  *** tokai has joined #openttd
01:41:17  *** ChanServ sets mode: +v tokai
01:44:53  *** tokai|noir has quit IRC
02:03:42  *** herms has quit IRC
02:04:31  *** herms has joined #openttd
02:20:49  *** D-HUND has joined #openttd
02:24:11  *** debdog has quit IRC
02:39:18  *** D-HUND is now known as debdog
03:00:05  *** herms has quit IRC
03:03:59  *** herms has joined #openttd
04:18:59  <ahyangyi> andythenorth: I apologize for the confusion!
04:33:07  *** keikoz has joined #openttd
06:54:20  <truebrain> peter1138: You are right, even the default LLVM and VisualCode does that. Like I said, I am not married to it, but I really dislike the lack of visual separation .. especially on GitHub,  I find it hard to read easily 🙂
06:54:39  <truebrain> but concistency is more important than personal flavour, so yeah .. let's just pick one and make sure all new follows the same 😛
06:56:06  <truebrain> we could also do the `byte status = { 0 }` syntax, not? As `std::vector<bool> test = { true, false }` is also valid?
06:56:18  <truebrain> meh .. I don't really care that much. As long as we become consistent in the choice 😛
07:05:13  <andythenorth> tomlkit or tomli_w?
07:05:24  <andythenorth> tomlkit probably
07:12:11  <andythenorth> /me hmmms
07:12:26  <andythenorth> goes it replace nml .lng files with toml? 😛
07:12:39  <andythenorth> parsing seems trivial, it's 2 lines to get a python dict
08:07:00  <pickpacket> How early am I allowed to have lunch today? I had breakfast at 5am
08:12:25  <andythenorth> have elevenses
08:14:12  <andythenorth> `open *` is probably an anti-pattern eh
08:14:23  <andythenorth> in a python compile script
08:14:47  <LordAro> andythenorth: tomllib in py3.11 :p
08:14:57  <andythenorth> works great for read
08:15:00  <andythenorth> can't write
08:15:03  <LordAro> ah
08:15:21  <andythenorth> I want to write a script to migrate existing .lng translations, it will make people sad if I throw them away
08:15:33  <andythenorth> GPT can migrate them, but it's like pulling teeth
08:16:04  <andythenorth> GPT is like having a minimum wage offsider as an intern
08:16:42  <andythenorth> - costs about the same per hour
08:17:12  *** cryoshakespeare has joined #openttd
08:17:12  <cryoshakespeare> Hey there, to any of you more familiar with development, is it possible to make a grf which allows you to scale cargo capacities of different vehicle categories, like BaseCosts allows you to scale their purchase/running costs generically? Or do cargo capacities have to be defined on a per-vehicle basis?
08:18:05  <truebrain> If you don't get an answer here, make sure to try Discord channel #add-on-development too
08:18:20  <cryoshakespeare> Thanks!^
08:18:54  <andythenorth> cryoshakespeare: per-vehicle
08:19:26  <cryoshakespeare> andythenorth: Ah, I see. Figured someone would have made it already if it were possible generically.
08:19:40  <cryoshakespeare> Thanks anyway :)
08:19:51  <andythenorth> it's a common request for grfs
08:20:01  <andythenorth> but has to be handled by each grf individually
08:20:29  <cryoshakespeare> Ah, hah. I can imagine you get a lot of repeat questions here, perhaps I should have used the search function first :P
08:20:30  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1141285345938374737/image.png
08:20:47  <andythenorth> it's so common that ideally the game would handle it
08:21:12  <andythenorth> but that's work 🙂
08:21:58  <LordAro> feels a bit 

Powered by YARRSTE version: svn-trunk