01:45.59 | sidji | moin |
02:50.06 | Ressy | Torhal |
02:50.49 | Ressy | Torhal: I really do need this secondary pet function added.. :\ |
02:51.18 | Ressy | Hm. Wonder if I could do it myself.. |
02:51.29 | Torhal | Ressy: No clue what that means, and I just got back to Alabama from Ohio a few hours ago. |
02:51.37 | Ressy | hai! |
02:51.44 | Torhal | Yo! |
02:51.54 | Ressy | Essentially, some pets only pop up as a 2ndary pet in a battle for some zones. |
02:52.17 | Torhal | Should be just another filter |
02:52.19 | Ressy | Like Sea Gull. Available from 3 maps - Darkmoon Island, Tanaris & Krasarang Wilds |
02:52.29 | Torhal | I say "just" when even my simplified process is unwieldy. |
02:52.30 | Ressy | but only locations in tanaris |
02:52.57 | Ressy | I'm thinking adding secondary as an option for AddZoneLocations? |
02:53.06 | Ressy | function pet_prototype:AddZoneLocations(zone_name, pet_levels, ...) |
02:53.10 | Ressy | vs function pet_prototype:AddZoneLocations(zone_name, pet_levels, secondary, ...) |
02:53.52 | Torhal | Sure, but then you'd have to update every pre-existing occurrence. |
02:53.54 | Ressy | and if secondary is yes, have it pop up instead of coords "Appears as a secondary pet in battles" |
02:53.56 | Ressy | thats fine. |
02:54.10 | Ressy | easy enough tbh :) |
02:54.15 | Torhal | Well, why have it there if it will show up INSTEAD of coords? |
02:54.17 | Torhal | Why not show both? |
02:54.50 | Torhal | "You can find it here...sometimes - as a secondary encounter." |
02:54.57 | Ressy | cuz there are no coords. |
02:55.12 | Ressy | it's anywhere in the zone. |
02:55.13 | Torhal | Oh! I didn't even read the args |
02:55.18 | Torhal | The ... is the coords. |
02:55.22 | Torhal | Gotcha. |
02:55.41 | Ressy | I have no idea how to go about editing for that tho. |
02:55.42 | Ressy | lol |
02:55.57 | Torhal | For that? By hand. |
02:56.12 | Ressy | I mean to update the function itself to accept that. |
02:56.17 | Torhal | No way to find/replace since there are too many variations. |
02:56.19 | Ressy | and display when I set secondary to yes |
02:56.32 | Torhal | Just add the parameter in the appropriate place. |
02:56.38 | Torhal | And inside of the function body, use it. |
02:57.19 | Torhal | The display will probably be in List.lua in the tooltips section |
02:57.28 | *** part/#arl pompy (~Mike@c-50-166-85-212.hsd1.nj.comcast.net) |
02:57.31 | Ressy | http://pastebin.com/7RPNKSfW |
02:57.37 | Ressy | Cuz that's the function in Collectable.lua |
02:57.44 | Ressy | (with added secondary) |
02:57.48 | Ressy | but dunno what to edit. |
02:57.56 | Torhal | if secondary then |
02:57.58 | Ressy | add a line at 7 |
02:57.58 | Torhal | addthefilter() |
02:57.59 | Torhal | end |
02:58.26 | Ressy | gotcha |
02:58.38 | Torhal | It's already written to do nothing else if no coords are entered |
02:59.31 | Ressy | yeah.. Just I want it to pop up "Secondary pet in battles in zone" instead of coords |
02:59.31 | Torhal | Ping if you need me. Drinking copious amounts of rum-infused eggnog while watching NCIS: Los Angeles. |
02:59.32 | Ressy | lol |
03:00.07 | Ressy | this is so gonna blow up on me. lmao |
03:01.17 | Ressy | lol. yup yup |
03:03.13 | Ressy | woo |
03:03.17 | Ressy | stopped blowing up on me. |
03:05.35 | Ressy | lol. now it blew up |
03:06.37 | Ressy | I have no idea how to fix List.lua |
03:15.07 | *** join/#arl pompy (~Mike@c-50-166-85-212.hsd1.nj.comcast.net) |
03:15.07 | *** mode/#arl [+v pompy] by ChanServ |
10:54.00 | *** join/#arl Elkano (~elkano@WoWUIDev/WoWAce/Elkano) |
13:56.46 | *** join/#arl Ressy (~Ressy@WoWUIDev/WoWAce/ARL/Ressy) |
13:56.46 | *** mode/#arl [+v Ressy] by ChanServ |
14:43.34 | sidji | moin |
16:09.34 | *** join/#arl pompy1 (~Mike@c-50-166-85-212.hsd1.nj.comcast.net) |
20:42.54 | Ressy | paging Torhal |
20:43.11 | Ressy | Should I push what I have working right now, and you fix it? :) |
20:45.46 | Ressy | Ackis: Hows the wife doing? |