--- Log opened Fri Jul 20 00:00:04 2018 20180720 01:17:01<+discordbot1> I set a village value=0 as part of an [ai] tag, yet the AI still goes for villages. Is there a way to prevent this all together? 20180720 01:18:38<+discordbot1> that got posted 3 times 20180720 01:18:42<+discordbot1> [ai] [avoid] terrain=W* [/avoid] [ai] 20180720 01:18:54<+discordbot1> replace the W* with the village terrain 20180720 01:26:24<+discordbot1> Huh? Really? Discord must be messing up. It's only once on my end 20180720 01:26:35<+discordbot1> 🤔 20180720 01:26:35<+discordbot1> Thanks Yumi 20180720 01:26:49<+discordbot1> https://cdn.discordapp.com/attachments/442775044590927873/469676516146675714/unknown.png 20180720 01:27:15<+discordbot1> https://cdn.discordapp.com/attachments/442775044590927873/469676630751707147/unknown.png 20180720 01:27:22<+discordbot1> 😮 20180720 01:28:03<+discordbot1> It's only once on IRC and on my end. 20180720 01:28:31<+discordbot1> :thonk: 20180720 01:28:36<+discordbot1> I'm getting pranked 20180720 01:28:38<+discordbot1> Discord wasn't sending messages earlier. Not an uncommon occurrence recently unfortunately :/ 20180720 01:28:38<+discordbot1> Don't let your Discord drink coffee. 20180720 01:35:23<+discordbot1> Do I need to include an asterisk in the terrain description too? 20180720 01:35:44<+discordbot1> an asterisk indicates any terrain beginning with W 20180720 01:35:54<+discordbot1> e.g. Wg, Wr, Wa would all be included 20180720 01:38:48<+discordbot1> It does not include overlays thereof, though. 20180720 01:39:16<+discordbot1> e.g. Wwo^Ft would not be considered unless you listed W*^* as well. 20180720 01:40:50<+discordbot1> thanks 😃 20180720 01:48:51-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 01:48:58-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180720 02:06:05-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 02:06:11-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180720 02:10:48-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-umc-dev 20180720 02:11:26-!- gfgtdf_ [~chatzilla@x55b29fd1.dyn.telefonica.de] has joined #wesnoth-umc-dev 20180720 02:13:29-!- gfgtdf [~chatzilla@x4dbbfcad.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 20180720 02:13:32-!- gfgtdf_ is now known as gfgtdf 20180720 02:14:43<+discordbot1> @Varicks Just be aware that if you use an [avoid] tag, the AI will never step on any village, for whatever reason. 20180720 02:17:04<+discordbot1> Has that bug been filed yet? 20180720 02:19:59-!- gfgtdf [~chatzilla@x55b29fd1.dyn.telefonica.de] has quit [Quit: ChatZilla 0.9.93 [Firefox 52.9.0/20180621064021]] 20180720 02:20:36<+discordbot1> Uh? What? That's not a bug, that's how the tag works. 20180720 02:20:57<+discordbot1> Didn't you just say "for whatever reason"? 20180720 02:21:08<+discordbot1> That implies you don't know why it does that. 20180720 02:21:28<+discordbot1> Also, to clarify, it won't step on any villages, or just ones matching the filter? 20180720 02:21:42<+discordbot1> Oh, sorry, sloppy wording. 20180720 02:22:32<+discordbot1> The AI will never move a unit on any terrain that is specified in the ai tag. That's what that tag is supposed to do. 20180720 02:23:03<+discordbot1> "For whatever reason" was supposed to mean neither to grab the village, nor to heal a unit, nor to get better terrain for attacking an enemy etc. 20180720 02:23:22<+discordbot1> Not the right way to say that. 20180720 02:24:39<+discordbot1> If you simply want the AI not to actively grab villages, but for it to be okay when units are ending up them for other reasons, you could remove the villages candidate action. 20180720 02:26:31< mattsc> Hmm, interesting, on the irc side this came across like this: 20180720 02:26:41<+discordbot1> https://cdn.discordapp.com/attachments/442775044590927873/469691587316678660/Screen_Shot_2018-07-19_at_19.26.15.png 20180720 02:30:22<+discordbot1> Ravana: Thanks for mentioning the overlay 😃 Didn't have time to try it out until now, but it works great -- unit_overlay, that is 👍 20180720 03:10:17-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 03:10:23-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180720 03:35:44-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: So long and thanks for all the fish.] 20180720 04:17:34-!- discordbot1 is now known as discordbot 20180720 04:52:45-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 04:52:51-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180720 04:57:53-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 04:57:59-!- janebot_ [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180720 04:57:59-!- janebot_ is now known as janebot 20180720 06:13:21-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20180720 08:48:13-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 08:48:19-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180720 09:35:12-!- irker907 [~irker@uruz.ai0867.net] has joined #wesnoth-umc-dev 20180720 09:35:13< irker907> project-ethea: Iris Morelle After_the_Storm:master 7a14cda51248 / episode3/scenarios/ (17 files): E3: Rewrite code to use [foreach], [for], and [repeat] https://github.com/project-ethea/After_the_Storm/commit/7a14cda5124816392c9d305b299efbc1def4a1eb 20180720 10:14:21< irker907> project-ethea: Iris Morelle After_the_Storm:master 9d88ddb15330 / episode3/scenarios/08D_Destiny_part_2.cfg: E3S8D: Rewrite a couple of cases for FOR I missed https://github.com/project-ethea/After_the_Storm/commit/9d88ddb153300e298b61c6d43f348d6e8271a96c 20180720 10:16:55< irker907> project-ethea: Iris Morelle Naia:master 8d684f87c0da / changelog core/variables.cfg: core: Drop BREAK, FOR, REVERSE_FOREACH, REVERSE_NEXT https://github.com/project-ethea/Naia/commit/8d684f87c0daef4164ffc69ddfe1e573e874b0c5 20180720 11:49:33<+discordbot> Can't seem to the wiki info on this, but if I remember correctly.. attacks have a default attack_weight and defense_weight of 1.0? 🤔 20180720 11:50:43< Ravana_> inspect shows what each attack has 20180720 11:51:12<+discordbot> Ah, that's a good point. Didn't think of that. Will take a looksie 20180720 11:52:34<+discordbot> Aye, 1.0 seems to be the default. Cheers, once again, Ravana 😉 20180720 13:30:23-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 13:30:29-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180720 14:21:21-!- hk238 [~kvirc@unaffiliated/hk238] has joined #wesnoth-umc-dev 20180720 14:29:38< hk238> hi 20180720 15:35:24-!- irker907 [~irker@uruz.ai0867.net] has quit [Quit: transmission timeout] 20180720 15:49:56<+discordbot> Could someone point me in the right direction here: I want to write a variable that checks which option in an event is chosen 20180720 15:50:47<+discordbot> if an option* 20180720 15:50:49<+discordbot> not which 20180720 15:54:32<+discordbot> you would just have selecting an option set a particular variable, wouldn't you? 20180720 16:04:18<+discordbot> so within the option subtag, would I use variable=examplevariablename 20180720 16:05:20<+discordbot> or do I use [set_variable]? This is where I'm confused quite a bit. In the Wiki, I see the latter used, but in examples I dig up, I just see variable= 20180720 16:06:23<+discordbot> it's be like: [option] # option attributes [command] {SET_VARIABLE var 1} [/command] [/option] 20180720 16:06:27<+discordbot> *it'd 20180720 16:25:35< zookeeper> keys relate to the tag they're inside of. you won't see a naked variable= anywhere, it's always for some specific thing inside some specific tag. 20180720 16:27:41< zookeeper> in this case, almost always [variable] (for condition-checking for example in an [if]) or [set_variable] (for setting variables) or specifying the variable where to store stuff in [store_unit] and similar. 20180720 16:54:43<+discordbot> thanks 😃 20180720 19:29:09-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 19:29:15-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180720 20:16:10-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 20180720 22:57:05-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 240 seconds] 20180720 23:09:05-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180720 23:09:11-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev --- Log closed Sat Jul 21 00:00:05 2018