IRC logs for #openttd on OFTC at 2017-07-07
⏴ go to previous day
00:18:11 *** dihedral has joined #openttd
00:19:47 *** JacobD88 has joined #openttd
00:40:10 *** Tharbakim has joined #openttd
01:00:42 *** Celestar has joined #openttd
01:10:22 *** FLHerne has joined #openttd
01:41:08 *** FLHerne has joined #openttd
01:43:56 *** Smedles has joined #openttd
02:18:47 *** Hiddenfunstuff has quit IRC
02:43:20 *** Supercheese has joined #openttd
02:45:23 *** dihedral has joined #openttd
03:01:46 *** dihedral has joined #openttd
06:07:17 *** sla_ro|master has joined #openttd
08:02:30 *** sim-al2 is now known as Guest571
08:02:31 *** sim-al2 has joined #openttd
08:40:31 *** lastmikoi has joined #openttd
09:03:38 *** Celestar has joined #openttd
09:27:23 *** FLHerne has joined #openttd
11:20:29 *** Hiddenfunstuff has joined #openttd
13:08:29 *** TheMask96 has joined #openttd
13:54:56 *** Extrems has joined #openttd
14:32:21 *** sim-al2 has joined #openttd
14:50:45 *** synchris has joined #openttd
15:44:46 *** Maraxus has joined #openttd
16:55:05 *** Wormnest has joined #openttd
17:26:01 *** TheMask96 has joined #openttd
17:34:29 *** Progman has joined #openttd
17:59:30 *** Alberth has joined #openttd
17:59:31 *** ChanServ sets mode: +o Alberth
18:04:38 *** sla_ro|master has joined #openttd
18:08:24 *** JacobD88 has joined #openttd
18:15:02 *** andythenorth has joined #openttd
18:57:26 *** luaduck has joined #openttd
19:07:46 <andythenorth> FIRS map colours next I guess
19:07:53 <andythenorth> docs are kinda...done
19:28:57 <Alberth> at least until you decide you don't like them anymore :)
19:32:34 <andythenorth> there’s always that
19:33:06 <andythenorth> still got to do ‘Get Started'
19:33:35 <andythenorth> also maybe the blue gradient
19:44:14 <Alberth> you may want to hack your script to always generate 5 different industries :)
19:44:55 <Alberth> current page shows 4 tyre plants, and 1 brewery
19:53:52 *** ChanServ sets mode: +v tokai
19:57:02 *** HerzogDeXtEr has joined #openttd
20:00:16 *** frosch123 has joined #openttd
20:06:48 *** gelignite has joined #openttd
20:32:54 <andythenorth> Alberth: get 5 the same, win a prize
20:33:30 <andythenorth> I might explore array.pop() :P
20:34:10 <frosch123> can you detect when they are scrolled outside of vision? and then secretely replace them?
20:34:46 <andythenorth> so if they’re off-canvas, they change?
20:34:51 <frosch123> like when you scroll down and back up no a page, there would be different industries
20:34:55 <andythenorth> measure the viewport
20:35:15 <andythenorth> there’s a bootstrap scrollspy plugin
20:35:20 <frosch123> no idea, i only did javascript in the ie4 vs ns4 age
20:35:34 <andythenorth> anyone ever figured out why javascript is so ugh?
20:35:49 <andythenorth> the syntax is same as flash actionscript, which is…adequate
20:35:50 <frosch123> because it's for monkeys
20:36:02 <andythenorth> jquery has made it better
20:36:09 <andythenorth> but then you have to learn jquery and javascript
20:36:27 <andythenorth> so you need a framework just to make the language work usefully
20:36:58 <andythenorth> or you learn something which is compiled to js, like coffeescript
20:37:08 <andythenorth> or even there’s a python -> js compiler I think
20:42:40 <andythenorth> rewrite openttd in node.js?
20:42:53 *** quiznilo has joined #openttd
20:43:10 <frosch123> someone already cross compiled ottd to js
20:48:33 <andythenorth> what shall I change on Get Started?
21:05:12 * andythenorth still reading that article
21:05:25 <andythenorth> mostly we ignore all the bower, grunt etc
21:05:35 <andythenorth> install some npms, include jquery, write javascript
21:05:47 * andythenorth nearly learnt react once
21:05:58 <Wolf01> I use jquery or plain javascript
21:06:52 <Wolf01> I looked at react, angular, node etc for a brief time
21:07:11 <andythenorth> nice python 3 dig at the end of the article :)
21:09:56 <Wolf01> Btw, how difficult might be this: primary industries have a huge stockpile, when depleted the industry reduces/stops production and you have 2 options, one is to prospect and renew a percentage of the stockpile (you can do it more times, it costs a fraction of prospecting a new industry) or let the industry close down in a year or so
21:12:24 <Alkel_U3> I think the industry in question should be able to do the discovering of more deposits on its own, depending on how well it's served (including inbound engineering supplies if applicable)
21:13:19 <Wolf01> Yes, that's a good idea
21:14:46 <Wolf01> I just want a remote chance to have primary industries closing down
21:19:11 *** Maraxus has joined #openttd
21:45:05 *** Phoenix_the_II has quit IRC
22:05:29 <supermop_home> Wolf01 they could get priced out
22:05:53 <supermop_home> if they are either too unserved or get too choked out by towns
22:06:32 <andythenorth> just have a 1% chance of closure
22:08:18 <andythenorth> I guess I’ll stop the duplicate industry pictures :)
22:09:07 <frosch123> yeah, everyone will point it out
22:10:43 <andythenorth> hmm 5 industries same is good
22:10:49 <andythenorth> but not the desired result :P
22:11:11 *** Biolunar has joined #openttd
22:17:11 <frosch123> oh, i can get achievements when using mods...
22:21:32 * andythenorth had to look up a for loop in JS :P
22:22:04 <frosch123> foreach is more common?
22:26:14 *** sim-al2 has joined #openttd
22:38:14 <supermop_home> I have effectively 0 motivation to draw trams
22:38:43 <supermop_home> and zero motivation to code trams for which I have not yet drawn sprites
22:38:47 <supermop_home> but here we are
22:39:04 <andythenorth> supermop: take my trams?
22:39:12 <andythenorth> it took 3 rounds to make them nice
22:39:23 <supermop_home> little point - RH is already nice
22:39:28 <supermop_home> no need to redo it
22:40:15 <supermop_home> one idea now is to just make a melb tram set then anonymize it
22:42:39 <supermop_home> got bummed when couldn't use math to make running costs more complex
22:44:13 <supermop_home> should be easy enough to draw but I haven't
22:49:53 <andythenorth> when it’s not pixel time it’s not pixel time
22:49:57 <andythenorth> no point forcing it
22:52:44 <supermop_home> can different articulated parts have different decay rates?
22:53:13 <andythenorth> for cargo aging?
22:53:24 <andythenorth> not sure for RVs, I can look
22:53:43 <supermop_home> because standees vs seated, would probably just average out
22:54:08 <supermop_home> unless you could enforce that no one stands until all the seats are gone
22:55:02 <Alkel_U3> wouldn't that hinder loading speed?
22:55:44 <supermop_home> assume that people can find their seats while tram is moving
22:56:00 <andythenorth> cargo_age_period is available for articulated parts
22:56:11 <supermop_home> but yeah, it means that the standees can only board after the sitees
22:56:32 <supermop_home> can just bump up the load speed
22:56:58 <supermop_home> lots of pictures of old melb trams with people hanging off the sides
22:57:34 *** JacobD88 has joined #openttd
22:59:14 <andythenorth> supermop: which truck for explosives? o_O
22:59:34 <supermop_home> i think box truck carries them
22:59:42 <supermop_home> nothing special
22:59:48 <supermop_home> I don't have armoured
23:00:03 <supermop_home> armoured goes in mail vans
23:00:08 <andythenorth> fridge has interesting refits
23:00:15 <supermop_home> currently fridge carries too much
23:00:22 <supermop_home> lmk what to exclude
23:00:50 <supermop_home> it has no explicity exclusions other than maybe stock
23:01:01 <andythenorth> I just include food, fish, milk iirc
23:01:13 <andythenorth> I should just look :P
23:01:22 <supermop_home> stock struck carries almost everything too
23:02:17 <supermop_home> Alkel_U3 I think once you are on the roof of a train, the incremental danger of a wire coming down on you seems small by comparison?
23:02:39 <andythenorth> many many people die
23:02:56 <Alkel_U3> supermop_home: I would be more afraid of the high voltage jumping the gap
23:02:57 <supermop_home> i'd rather be up by the cat than down next to the wheel
23:05:18 <Alkel_U3> hm, they apparently use 25 kV AC. That's mighty dangerous
23:13:31 *** Defaultti has joined #openttd
23:22:24 <andythenorth> must fix FIRS map colorus
23:23:23 <andythenorth> quite hard to tell the difference :)
23:24:23 <frosch123> problem might by that they are unsorted
23:24:55 <frosch123> hues may look more different when next to each other
23:25:31 <frosch123> though that fails with translations anyway
23:27:19 <andythenorth> this is why I considered resetting the colours per economy
23:27:23 <andythenorth> but that inhibits learning
23:27:33 <andythenorth> Eddi’s greedy algorithm might help
continue to next day ⏵