Config
Log for #openttd on 30th December 2021:
Times are UTC Toggle Colours
10:33:40  <andythenorth> can't remember why
10:34:02  <TrueBrain> (well, you can only have 128 industries per NewGRF anyway, but that it requires some bit-stuff is annoying)
10:34:18  <TrueBrain> if there is demand for it, I too rather see it as a callback :P
10:34:36  <andythenorth> providing a library of callbacks might be a thing
10:34:40  <andythenorth> extensible :P
10:35:00  <TrueBrain> yeah, I expect most callbacks are completely hidden from the user
10:35:08  <TrueBrain> things like "In Town" for placement is nice
10:35:16  <TrueBrain> but it could also just be a predefined callback
10:35:40  <andythenorth> FIRS has a library of location checks, which can be chained
10:35:46  <andythenorth> admittedly some have bugs in :P
10:35:48  <TrueBrain> prop14 .. "minimal amount of cargo distributed", I guess that is useful?
10:35:56  <andythenorth> I never understood what prop14 is for
10:36:20  <andythenorth> where is frosch123 when needed? :)
10:36:21  <TrueBrain> to hav ethings being produced in bulk, I guess
10:37:01  <andythenorth> FIRS seems to set it to 1
10:37:14  <NGC3982> hi guys
10:37:32  <TrueBrain> I just wrote the same andythenorth :P
10:40:51  <TrueBrain> prospecting chance .. hmm
10:41:21  <TrueBrain> for some reason, that is a 32bit value
10:41:24  <TrueBrain> these specs ...
10:42:37  <andythenorth> that one might be worth including
10:42:51  <TrueBrain> yeah; otherwise it is 0 :P
10:43:07  <andythenorth> it is very important to have 32 bits there
10:43:17  <andythenorth> for fine grained control
10:43:21  <andythenorth> over results between 0 and 1
10:43:21  <TrueBrain> yes, you want to indicate the chance this precise
10:43:24  <TrueBrain> really important
10:43:26  <andythenorth> very
10:43:37  <andythenorth> maybe someone heard that 32 bit was the new standard?
10:43:39  <TrueBrain> I completely understand that 90% of the specs work with 1/256th
10:43:42  <TrueBrain> but this REALLY had to be ..
10:43:44  <TrueBrain> @calc 2**32
10:43:44  <DorpsGek> TrueBrain: 4294967296
10:43:47  <andythenorth> yes
10:43:49  <TrueBrain> 1/4294967296th
10:44:03  <andythenorth> well it's just bits
10:44:21  <andythenorth> so FF000000, or FFFF0000, or FFFFFF00 or FFFFFFFF are all you need
10:44:29  * andythenorth knows how nfo spec authors seemed to think
10:44:37  <andythenorth> ^^ this would have been seen as very easy and a nice API
10:44:57  <andythenorth> in 1982
10:45:00  <TrueBrain> okay, so either I will not implement industry props, or they are text-related
10:45:06  <TrueBrain> and I still do not know how to do the text-related ones
10:45:10  <TrueBrain> the others I am all going to implement now :D
10:45:39  <TrueBrain> I really really dislike the "cargo" thing for industries
10:45:42  <TrueBrain> I need to figure out something else there
10:45:45  <TrueBrain> this is just terrible UI
10:46:21  <andythenorth> cargo thing?
10:46:43  <andythenorth> oh the matrix?
10:46:56  <TrueBrain> yeah
10:47:09  <andythenorth> apart from the scrolling it's fine for now
10:47:22  <TrueBrain> for secondary, it is impossible to understand what it actually does
10:48:03  <andythenorth> which is input and which is output?
10:48:11  <TrueBrain> that
10:48:12  <TrueBrain> and what the numbers mean
10:49:27  <TrueBrain> hmm .. probability .. guess a slider works there too
10:52:18  * andythenorth thinking about cargos
10:53:00  <andythenorth> the spec supports the fine-grained rules of cargo 10 unit of A = 2 units of B and 4 units of C etc
10:53:19  <andythenorth> and 10 unit of N = 3 units of B and 6 units of Z
10:53:27  <andythenorth> but there's no way for the player to understand that
10:53:32  <andythenorth> and it's complicated
10:58:53  <TrueBrain> so far the JSON contains the value as the NewGRF specs define
10:59:01  <TrueBrain> but it makes so little sense for "prospecting success chance"
10:59:20  <TrueBrain> always this question of: where do you do the conversion :)
11:05:53  <TrueBrain> so when you click Prospect in-game
11:05:58  <TrueBrain> you get 0 feedback if it succeeded
11:05:59  <TrueBrain> and where
11:05:59  <TrueBrain> wth
11:06:05  <TrueBrain> and nobody complained about that yet? :P
11:08:16  <andythenorth> not noticeably no
11:12:49  <TrueBrain> hmm .. I kinda want to make the fund cost multiplier the same as cargo prices
11:12:52  <TrueBrain> so show the value in pounds
11:12:56  <TrueBrain> but that is for another day
11:13:14  <TrueBrain> after lunch I first going to fix styling, as this is annoying me :D
11:14:01  <andythenorth> night mode!
11:21:26  <TrueBrain> right .. two things left on my list ... better left/top presentation, and ground-sprite support
11:21:32  <TrueBrain> the latter is kinda important for water-based industries
11:21:36  <TrueBrain> for the rest it is so-so :P
11:26:50  <TrueBrain> https://truebrain.github.io/TrueGRF/ updated
11:26:57  <TrueBrain> I don't like my changelog thing .. really hard to read for normal humans :)
11:28:43  <TrueBrain> I do really like my industry layout preview .. :D
11:30:12  <TrueBrain> hmm, Glass Works industry looks broken
11:31:16  <TrueBrain> ground sprite, I guess :D
11:37:30  <TrueBrain> btw andythenorth , wtf is pollution_and_squalor_factor? :)
11:50:22  <andythenorth> TrueBrain experimental FIRS feature
11:50:39  <TrueBrain> So I can ignore it, w00p
11:50:41  <andythenorth> yes
11:50:55  <andythenorth> TL;DR attempt to provide additional currencies beside money
11:51:00  <andythenorth> town happiness, pollution
11:51:07  <TrueBrain> ah, that thing
11:51:09  <TrueBrain> cool :) Tnx!
11:52:31  <andythenorth> FIRS generates a GS also btw :P
11:52:33  <andythenorth> such lol
11:55:12  <andythenorth> I think that's only in a test branch
11:55:19  <andythenorth> doesn't do anything interesting
12:54:43  <TrueBrain> so why does "my" FIRS always looks blue, and andythenorth 's FIRS doesn't :)
12:54:47  <TrueBrain> guess that is another thing to resolve
12:56:01  <andythenorth> the company colours?
12:56:08  <andythenorth> in game, or in your preview?
12:56:13  <TrueBrain> in-game
12:57:47  <TrueBrain> and I don't know how to call it .. I just see that FIRS isn't always blue
12:57:53  <TrueBrain> where TrueGRF always uses blue :P
12:58:06  <TrueBrain> there are no companies yet, so "company colour" sounds wrong
12:59:21  <_dp_> dos/win palette mismatch can sometimes give some blue colours
12:59:52  <_dp_> I have blue trees because of it
12:59:55  <_dp_> *hadd
13:06:14  <TrueBrain> another big difference is of course fences ..
13:07:22  <TrueBrain> andythenorth: for the CC, I think I should mark the tiles as "recolour sprite"; at least, that is what you seem to be doing :)
13:07:43  <TrueBrain> RECOLOUR_REMAP to be exact
13:08:00  <andythenorth> I thought the game recoloured industries by default
13:08:08  <TrueBrain> not if you tell it not to :P
13:08:14  <andythenorth> you nerfed it?
13:08:16  <TrueBrain> I (implicitly) set RECOLOUR_NONE
13:08:56 

Powered by YARRSTE version: svn-trunk