--- Log opened Wed Jun 24 00:00:33 2015 20150624 00:22:11-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 252 seconds] 20150624 00:23:46-!- DreadKnight [~DreadKnig@unaffiliated/dreadknight] has quit [Quit: #AncientBeast - Master Your Beasts ( www.AncientBeast.com )] 20150624 00:40:06-!- ancientcc [~ancientcc@114.111.166.47] has joined #wesnoth 20150624 00:43:44-!- ancientcc [~ancientcc@114.111.166.47] has quit [Remote host closed the connection] 20150624 00:46:20-!- DreadKnight [~DreadKnig@unaffiliated/dreadknight] has joined #wesnoth 20150624 01:27:05-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has joined #wesnoth 20150624 01:39:57-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20150624 01:41:14-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has joined #wesnoth 20150624 02:17:33-!- ancientcc [~ancientcc@114.111.166.47] has joined #wesnoth 20150624 02:17:41-!- ancientcc [~ancientcc@114.111.166.47] has quit [Client Quit] 20150624 02:19:20-!- ancientcc [~ancientcc@114.111.166.47] has joined #wesnoth 20150624 02:20:04-!- ancientcc [~ancientcc@114.111.166.47] has quit [Client Quit] 20150624 02:25:30-!- ancientcc [~ancientcc@114.111.166.47] has joined #wesnoth 20150624 02:25:52-!- ancientcc [~ancientcc@114.111.166.47] has quit [Client Quit] 20150624 02:36:19-!- ArneBab [~quassel@55d45dbc.access.ecotel.net] has joined #wesnoth 20150624 02:39:52-!- ArneBab_ [~quassel@55d44695.access.ecotel.net] has quit [Ping timeout: 272 seconds] 20150624 03:16:48-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has quit [Ping timeout: 256 seconds] 20150624 03:18:31-!- shadowm_desktop [ignacio@190.91.50.181] has joined #wesnoth 20150624 03:18:44-!- shadowm_desktop [ignacio@190.91.50.181] has quit [Changing host] 20150624 03:18:44-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has joined #wesnoth 20150624 03:24:45-!- scythetwirler [~chatzilla@50.106.46.74] has joined #wesnoth 20150624 03:28:15-!- prkc [~prkc@catv-89-134-173-244.catv.broadband.hu] has joined #wesnoth 20150624 03:31:49-!- JackBauer24 [~JackBauer@89-67-90-110.dynamic.chello.pl] has quit [Read error: Connection reset by peer] 20150624 03:32:15-!- JackBauer24 [~JackBauer@89-67-90-110.dynamic.chello.pl] has joined #wesnoth 20150624 04:19:37-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20150624 04:24:45-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has joined #wesnoth 20150624 04:49:52-!- EliDupree_ [~quassel@66-189-34-122.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 276 seconds] 20150624 04:58:29-!- EliDupree [~quassel@66-189-34-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth 20150624 05:05:56-!- scythetwirler [~chatzilla@50.106.46.74] has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.6/20150605094246]] 20150624 05:33:09-!- Kwandulin [~Miranda@p5B008650.dip0.t-ipconnect.de] has joined #wesnoth 20150624 05:54:37-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20150624 05:56:01-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20150624 06:08:15-!- [Relic] [~Relic]@2602:306:33a3:6d30:591:e4ce:f319:e03a] has quit [Quit: I press the magic X and all the weirdos go away!] 20150624 06:16:12-!- JackBauer24 [~JackBauer@89-67-90-110.dynamic.chello.pl] has quit [Ping timeout: 246 seconds] 20150624 06:36:29-!- Haldrik [~haldrik@unaffiliated/haldrik] has joined #wesnoth 20150624 06:53:37-!- Blueblaze [~Blueblaze@ip68-3-130-159.ph.ph.cox.net] has joined #wesnoth 20150624 07:04:01-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 264 seconds] 20150624 07:04:02-!- oldlaptop [~quassel@50-107-82-76.adr02.mskg.mi.frontiernet.net] has quit [Ping timeout: 256 seconds] 20150624 07:07:03-!- oldlaptop [~quassel@50-107-82-76.adr02.mskg.mi.frontiernet.net] has joined #wesnoth 20150624 07:11:45-!- d347hm4n [~kde@host-87-242-212-53.ppp.onetel.net.uk] has quit [Remote host closed the connection] 20150624 07:13:41-!- DreadKnight [~DreadKnig@unaffiliated/dreadknight] has quit [Quit: #AncientBeast - Master Your Beasts ( www.AncientBeast.com )] 20150624 07:13:46-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150624 07:14:55-!- d347hm4n [~kde@host-87-242-212-53.ppp.onetel.net.uk] has joined #wesnoth 20150624 07:55:46-!- Appleman1234 [~Appleman1@KD106149236238.au-net.ne.jp] has quit [Ping timeout: 276 seconds] 20150624 08:06:58-!- Blueblaze [~Blueblaze@ip68-3-130-159.ph.ph.cox.net] has quit [Quit: Blueblaze] 20150624 08:08:06-!- Appleman1234 [~Appleman1@KD106149231156.au-net.ne.jp] has joined #wesnoth 20150624 08:16:49-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20150624 08:26:24-!- Kwandulin [~Miranda@p5B008650.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20150624 08:52:35-!- JackBauer24 [~JackBauer@89-67-90-110.dynamic.chello.pl] has joined #wesnoth 20150624 09:00:44-!- Appleman1234_ [~Appleman1@KD106149250073.au-net.ne.jp] has joined #wesnoth 20150624 09:03:36-!- Appleman1234 [~Appleman1@KD106149231156.au-net.ne.jp] has quit [Ping timeout: 256 seconds] 20150624 09:04:44-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has quit [Ping timeout: 256 seconds] 20150624 09:20:01-!- Appleman1234_ is now known as Appleman1234 20150624 09:34:46-!- Kwandulin [~Miranda@p5B008650.dip0.t-ipconnect.de] has joined #wesnoth 20150624 10:33:51-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 248 seconds] 20150624 10:42:30-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150624 11:01:30-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has joined #wesnoth 20150624 12:38:42-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20150624 13:18:35-!- shadowm_desktop [ignacio@186.11.24.220] has joined #wesnoth 20150624 13:18:45-!- shadowm_desktop [ignacio@186.11.24.220] has quit [Changing host] 20150624 13:18:45-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has joined #wesnoth 20150624 14:43:55-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20150624 14:46:37-!- Kwandulin [~Miranda@p5B008650.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20150624 15:17:31-!- Kwandulin [~Miranda@p5B008650.dip0.t-ipconnect.de] has joined #wesnoth 20150624 15:27:39-!- [Relic] [~Relic]@2602:306:33a3:6d30:800f:f3db:dd56:aaf6] has joined #wesnoth 20150624 15:36:04-!- ancestral [~ancestral@63.92.240.233] has joined #wesnoth 20150624 15:52:18-!- ancestral [~ancestral@63.92.240.233] has quit [Quit: i go nstuf kthxbai] 20150624 16:17:00-!- wario [~wario_@unaffiliated/wario] has joined #wesnoth 20150624 16:48:18-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has quit [Ping timeout: 246 seconds] 20150624 16:50:01-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 250 seconds] 20150624 16:50:10-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has joined #wesnoth 20150624 16:58:42-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150624 17:07:13-!- HeyCitizen [~HeyCitize@69.156.207.152] has quit [Quit: Coyote finally caught me] 20150624 17:15:37-!- Blueblaze [~Blueblaze@71.36.226.214] has joined #wesnoth 20150624 17:39:14-!- HeyCitizen [~HeyCitize@69.156.207.152] has joined #wesnoth 20150624 17:52:59-!- ancestral [~ancestral@63.92.240.233] has joined #wesnoth 20150624 17:55:01-!- Blueblaze [~Blueblaze@71.36.226.214] has quit [Quit: Blueblaze] 20150624 18:17:23-!- Appleman1234 [~Appleman1@KD106149250073.au-net.ne.jp] has quit [Ping timeout: 256 seconds] 20150624 18:29:26-!- Narrat [~Crebiz@p54863BB6.dip0.t-ipconnect.de] has joined #wesnoth 20150624 18:30:08-!- Appleman1234 [~Appleman1@KD106149250073.au-net.ne.jp] has joined #wesnoth 20150624 18:32:23-!- ancestral [~ancestral@63.92.240.233] has quit [Quit: i go nstuf kthxbai] 20150624 18:34:19-!- Blueblaze [~Blueblaze@71.36.226.214] has joined #wesnoth 20150624 18:40:40-!- Blueblaze [~Blueblaze@71.36.226.214] has quit [Quit: Blueblaze] 20150624 18:47:55-!- Blueblaze [~Blueblaze@mobile-166-176-56-29.mycingular.net] has joined #wesnoth 20150624 18:55:15-!- Blueblaze [~Blueblaze@mobile-166-176-56-29.mycingular.net] has quit [Quit: Blueblaze] 20150624 18:55:58-!- Blueblaze [~Blueblaze@mobile-166-176-56-29.mycingular.net] has joined #wesnoth 20150624 18:56:09-!- Blueblaze [~Blueblaze@mobile-166-176-56-29.mycingular.net] has quit [Client Quit] 20150624 18:56:49-!- Blueblaze [~Blueblaze@mobile-166-176-56-29.mycingular.net] has joined #wesnoth 20150624 18:58:34-!- Blueblaze [~Blueblaze@mobile-166-176-56-29.mycingular.net] has quit [Read error: Connection reset by peer] 20150624 19:09:08-!- DreadKnight [~DreadKnig@unaffiliated/dreadknight] has joined #wesnoth 20150624 19:11:41-!- Blueblaze [~Blueblaze@ip68-3-130-159.ph.ph.cox.net] has joined #wesnoth 20150624 19:16:22-!- Panda_ [~IMO@2a01:e35:8aae:fcb0:a6fd:e761:fbcd:cbc2] has joined #wesnoth 20150624 20:12:25-!- salluc69 [~lucky@host137-178-dynamic.30-79-r.retail.telecomitalia.it] has quit [Ping timeout: 264 seconds] 20150624 20:12:49-!- salluc69 [~lucky@host196-199-dynamic.24-79-r.retail.telecomitalia.it] has joined #wesnoth 20150624 20:13:35-!- Appleman1234_ [~Appleman1@KD106149241180.au-net.ne.jp] has joined #wesnoth 20150624 20:15:34-!- Appleman1234 [~Appleman1@KD106149250073.au-net.ne.jp] has quit [Ping timeout: 244 seconds] 20150624 20:27:43-!- Blueblaze [~Blueblaze@ip68-3-130-159.ph.ph.cox.net] has quit [Quit: Blueblaze] 20150624 20:29:01-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has joined #wesnoth 20150624 20:31:11-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 248 seconds] 20150624 20:40:10-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150624 20:57:39-!- Kwandulin [~Miranda@p5B008650.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20150624 21:10:29-!- hay207 [~haythamme@41.34.22.194] has joined #wesnoth 20150624 21:15:06< hay207> hi guys, i want someone to review this small code block that i wrote 20150624 21:15:22< hay207> and tell me what's wrong with it 20150624 21:15:24< hay207> http://pastebin.com/Aqn6Qn26 20150624 21:16:04< hay207> i want to modify all peasants hp once they get to a map hex 20150624 21:16:15< celticminstrel> Uh. 20150624 21:16:16< hay207> i used modify_unit 20150624 21:16:20< celticminstrel> "name-unit_type_peasant" 20150624 21:16:22< celticminstrel> What. 20150624 21:16:25< celticminstrel> ^= 20150624 21:16:43< celticminstrel> What the heck are you thinking. 20150624 21:16:52< celticminstrel> name is the type of event you want to catch. 20150624 21:17:02< celticminstrel> There's no such event as "unit_type_peasant". 20150624 21:17:08< celticminstrel> Oh! 20150624 21:17:14< celticminstrel> [fire_event], duh. 20150624 21:17:17< celticminstrel> Okay so... 20150624 21:17:27< zookeeper> the moveto event will only fire once, for one. 20150624 21:17:38< celticminstrel> first_time_only=no 20150624 21:17:42< hay207> i want so 20150624 21:17:43< hay207> ok 20150624 21:18:03< celticminstrel> Also you probably shouldn't have first_time_only=yes in your custom event. 20150624 21:18:26< zookeeper> you're coming up with nonsense, like putting an [event] or [unit_type] inside a [modify_unit] 20150624 21:18:32< celticminstrel> That doesn't mean it'll be called once for a given unit. It means the event will be deleted after being called once for any unit. 20150624 21:18:43< zookeeper> don't do things which nothing or no one says you can do 20150624 21:18:57 * celticminstrel didn't even scroll down and thus presumably missed that. 20150624 21:19:43< celticminstrel> Uh. Why the heck is there a [unit_type] there. That's not an ActionWML. 20150624 21:19:53< hay207> so what to use as toptag for unit_type 20150624 21:19:59< celticminstrel> Eh? 20150624 21:20:38< celticminstrel> I don't understand your question. 20150624 21:20:42< Ravana_> decide if you want to use [object], [modify_unit], or {MODIFY_UNIT}, but do not use all of them 20150624 21:20:51< celticminstrel> Heh. 20150624 21:23:27< hay207> what to do to fire the event once? 20150624 21:24:35< hay207> once for all peasants 20150624 21:24:36< celticminstrel> Once per unit, you mean? 20150624 21:24:43< celticminstrel> Once for each unit? 20150624 21:24:43< hay207> yes 20150624 21:24:48< Ravana_> but why make it so complicated? after 3 years I still haven't any understanding for [fire_event] 20150624 21:25:13< celticminstrel> Can you filter on the presence of an [object]? 20150624 21:25:19< Ravana_> single [modify_unit] can do this all 20150624 21:25:30< celticminstrel> Also, what exactly are you trying to change? 20150624 21:25:42< hay207> the hp of peasants 20150624 21:26:00< celticminstrel> Ah, so [object] is probably good. 20150624 21:26:27< Ravana_> object applies only to single unit 20150624 21:26:28< celticminstrel> Anyone know if you can filter on the presence of an [object] though? 20150624 21:26:37< Ravana_> https://github.com/ProditorMagnus/OrociaRandomMod/blob/master/scenarios/OrociaRandomMod.cfg#L329 20150624 21:26:42< Ravana_> I did that check with status 20150624 21:27:11< celticminstrel> Well yes, that works, but bleh. It's not a status effect! 20150624 21:27:41< celticminstrel> But I guess it does work. 20150624 21:27:54< hay207> i used unit_type to apply the effect to all units of that type 20150624 21:28:02< hay207> won't it work 20150624 21:28:07< celticminstrel> Uh, what. 20150624 21:28:18< celticminstrel> What do you think [unit_type] is for. 20150624 21:28:35< celticminstrel> Do you want to alter the hp of every peasant at the same time? 20150624 21:28:45< celticminstrel> Or only the ones that actually step on that space? 20150624 21:28:57< hay207> yes at same time 20150624 21:29:48< hay207> after a unit steps on a certain hex 20150624 21:30:00< celticminstrel> Then you don't need any custom event. 20150624 21:30:06< celticminstrel> Just use [modify_unit] 20150624 21:31:35< hay207> without fire_event you mean? 20150624 21:31:39< celticminstrel> With hitpoints=$unit.hitpoints * 1.2 20150624 21:31:56< celticminstrel> (Is that how formulas work in WML? I forget. Do they support floating-point numbers?) 20150624 21:31:58< Ravana_> $this_unit 20150624 21:32:03< celticminstrel> Yeah that. 20150624 21:32:05< celticminstrel> Sorry. 20150624 21:32:13< Ravana_> they do 20150624 21:32:14< celticminstrel> And yes, without fire_event. 20150624 21:32:32< Ravana_> "$($this_unit.hitpoints * 1.2)" 20150624 21:32:51< celticminstrel> I'm basing that off your [object], which states you want them to gain 20% hitpoints, which means multiplying their hitbpoints by 1.2. 20150624 21:33:02< celticminstrel> Thank you Ravana. 20150624 21:33:04< celticminstrel> ^-b 20150624 21:33:08< hay207> yes i know 20150624 21:33:34< celticminstrel> I hope the "hitpoints" part is also right. >_> 20150624 21:34:01< Ravana_> well, changing both current and max would make sense 20150624 21:34:07< celticminstrel> True. 20150624 21:37:20-!- JackBauer24 [~JackBauer@89-67-90-110.dynamic.chello.pl] has quit [Quit: Konversation terminated!] 20150624 21:39:07< zookeeper> there's also not telling whether he wants the change to also apply to future peasants 20150624 21:39:10< zookeeper> s/not/no 20150624 21:40:18< hay207> yes to future peasants too 20150624 21:41:16< celticminstrel> Not quite sure how you'd handle that then. 20150624 21:41:22< Ravana_> then the way I used for orocia would work for you too 20150624 21:41:26< celticminstrel> Do you have to catch on_recruit? 20150624 21:41:33< celticminstrel> I guess without the on_ 20150624 21:45:00< hay207> ok thanks celt for help 20150624 21:45:34-!- hay207 [~haythamme@41.34.22.194] has quit [Quit: Leaving] 20150624 21:45:52< celticminstrel> Uh okay. 20150624 21:46:37-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has quit [Ping timeout: 264 seconds] 20150624 21:49:40-!- Afdal [~IceChat77@host-174-45-178-216.chy-wy.client.bresnan.net] has joined #wesnoth 20150624 21:49:46< Afdal> hay guise 20150624 21:50:02< Afdal> What's a good resource for learning LUA geared around Wesnoth modding? 20150624 21:50:20< celticminstrel> I'd be surprised if there's any specifically geared around Wesnoth. 20150624 21:50:27< Afdal> eh 20150624 21:50:28< Afdal> well 20150624 21:52:22< Afdal> doesn't have to be specifically >.> 20150624 22:09:37-!- Panda_ [~IMO@2a01:e35:8aae:fcb0:a6fd:e761:fbcd:cbc2] has quit [Remote host closed the connection] 20150624 22:32:25-!- jemadux [~jemadux@unaffiliated/jemadux] has joined #wesnoth 20150624 23:11:28-!- Haldrik [~haldrik@unaffiliated/haldrik] has quit [Quit: Haldrik] 20150624 23:15:37-!- JackBauer24 [~JackBauer@89-67-90-110.dynamic.chello.pl] has joined #wesnoth 20150624 23:25:16-!- wario [~wario_@unaffiliated/wario] has quit [Quit: Leaving] 20150624 23:47:04-!- jemadux [~jemadux@unaffiliated/jemadux] has quit [Ping timeout: 252 seconds] 20150624 23:49:49-!- Afdal [~IceChat77@host-174-45-178-216.chy-wy.client.bresnan.net] has quit [Quit: Light travels faster then sound, which is why some people appear bright, until you hear them speak] 20150624 23:55:51-!- Afdal [~IceChat77@host-174-45-178-216.chy-wy.client.bresnan.net] has joined #wesnoth --- Log closed Thu Jun 25 00:00:34 2015