MMOMinion
Conditions - gathering profile - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90)
+---- Forum: I Need Help with LUA coding! (https://www.mmominion.com/forumdisplay.php?fid=104)
+---- Thread: Conditions - gathering profile (/showthread.php?tid=19096)



Conditions - gathering profile - Rustyclippers - 07-06-2017

I was wondering if it was possible to throw something like below into a gathering profile

["condition"] = {
["JobId(16) = 61"] = true;
};


The desired effect was to merge a bot/mining profile into 1 for supreme lazyness. 

Code:
[104] = {
            ["condition"] = {
                ["JobId(16) = 61"] = true;
            };
            ["type"] = "botany";
            ["radius"] = 75;
            ["minlevel"] = 58;
            ["maxlevel"] = 60;
            ["item1"] = "Coriander";
            ["mapid"] = 397;
            ["pos"] =  {
                ["x"] = -683.33;
                ["y"] = 121.69;
                ["z"] = -379.19;
            };
            ["timeout"] = 2000;
            ["skillprofile"] = "Gathering_HQ";
            ["lowpriority"] = true;
            ["usecollect"] = false;
            ["usestealth"] = true;
        };


If mining is 61 then it would start the botany task, level it to 61.  the next task would check to see if botany was 61 then level mining to 62



Is the condition possible to do? if so what is the proper syntax on it?

thank you for your time