02:17:40 Unstable branch on cbro.berotato.org updated to: 0.27-a0-385-g3208abaabc (34) 02:39:40 <02|​amethyst> no one fix the typo in the 0.27-a0 changelog entry, because I want to demonstrate to my students next Monday how to make a pull request, and that's an easy one that doesn't require testing 03:05:27 <12e​bering> 👍 03:31:21 Fork (bcrawl) on crawl.kelbi.org updated to: 0.23-a0-3925-gcc8c977aeb 03:59:29 Yred zombies don't get destroyed on abandonment 13https://crawl.develz.org/mantis/view.php?id=12513 by Sar 04:00:17 -!- Rjs- is now known as Rjs 06:07:34 New branch created: pull/1756 (1 commit) 13https://github.com/crawl/crawl/pull/1756 06:07:34 03Nikolai Lavsky02 07https://github.com/crawl/crawl/pull/1756 * 0.27-a0-381-g0c5fd26: Describe Ozocubu's Refrigeration and Drain Life in monster 10(9 minutes ago, 1 file, 2+ 0-) 13https://github.com/crawl/crawl/commit/0c5fd2621cd7 11:21:58 <12p​atrickm> what even is the typo 11:42:06 <10P​leasingFungus> we'll find out! 11:52:35 <12p​atrickm> suspense! 11:55:34 I found it 11:55:34 or at least, I found one type 12:05:47 <10P​leasingFungus> well, whatever you do, don’t touch it! 12:09:31 I'm going to correct it just before neil pushes the commit, live during his class 12:12:57 *typo 12:23:33 make unrelated changes to the same line while the PR is unmerged 12:24:33 oh and fiddle with all the whitespace 12:24:33 those students are gonna have to learn! 12:30:21 <09g​ammafunk> https://tenor.com/view/ironic-star-wars-chode-gif-5274592 12:30:55 wow, not only did the "reply" aspect of that not come through the bridge at all, not the biggest fan of that tenor gif name 12:32:32 it used to quote the parent message, but they iMpRoVeD replies 16:50:04 -!- amalloy_ is now known as amalloy 17:20:49 -!- rednaxela1 is now known as rednaxela 17:54:26 New branch created: pull/1758 (2 commits) 13https://github.com/crawl/crawl/pull/1758 17:54:27 03Aliscans02 07https://github.com/crawl/crawl/pull/1758 * 0.27-a0-386-g7a63b10: Make _monster_currently_description() static. 10(11 hours ago, 1 file, 1+ 1-) 13https://github.com/crawl/crawl/commit/7a63b109574f 17:54:27 03Aliscans02 07https://github.com/crawl/crawl/pull/1758 * 0.27-a0-387-g31678af: Make SpellLibraryMenu::entry_colour() return int. 10(11 hours ago, 1 file, 1+ 1-) 13https://github.com/crawl/crawl/commit/31678af85411 18:47:23 Hi. Is there a way to convert a string to a boolean in Lua within Crawl? 18:47:27 I tried just setting an option 'foobar=false', but the lua console says that both "options.foobar" and "not options.foobar" are False. 19:38:56 what option is it? 19:39:40 also how exactly are you setting it? 19:48:24 I just started crawl with -extra-opt-first foobar=false. 19:49:20 which option though? 19:49:28 foobar 19:49:33 oh literally 19:49:38 heh 19:50:31 I'd use a more descriptive name if I could get it to work as a boolean. 19:55:06 I'm not sure that there's any way to do that from the command line for an option that does not have a type in initfile.cc 19:55:17 tbh I didn't even know you could do this with options that are not defined 19:56:38 if this is aimed at lua code in an rc file or the like, you can simply compare it to a designated string value though 19:56:56 e.g. `options.foobar == "false"` evaluates to true in that scenario 20:02:05 Thanks, that's an idea. There seem to be a few implementations of more general string=>boolean functions for Lua around, so it doesn't seem to be something the language provides itself. 20:13:41 -!- amalloy is now known as amalloy_ 20:56:16 Aliscans_ in lua to convert a string to bool you usually just compare with the empty string, but the problem here is really that anything passed on the command line that way is interpreted as a string unless the game knows otherwise (i.e. by it having a type set in initfile.cc) 20:57:48 an option that isn't set at all shows up in `options` as nil, and strings always evaluate to true, so you could treat it having any value at all as being set 21:00:46 I've actually done it as a function which returns something like "string.lower(value) == "true" or ...", to give an approximation of Crawl's usual boolean parsing. 23:19:22 -!- amalloy_ is now known as amalloy