MMOMinion
gather collectable if - else normal - 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: gather collectable if - else normal (/showthread.php?tid=19695)



gather collectable if - else normal - Poopy diapers - 09-14-2017

my way does not work.
What is the best way to gather as a collectable if GP=600, else just gather normal.


Code:
if (["mingp"] = 600;) then
               (["skillprofile"] = "Gathering_Blue";
            ["unspoiled"] = true;
            ["collectables"] = {
                ["ItemX"] = 450;
            };)
                else (["skillprofile"] = "G_Multi_Gathering";)
           end



RE: gather collectable if - else normal - sebbs - 09-14-2017

["collectGP"] = 400;


RE: gather collectable if - else normal - Poopy diapers - 09-14-2017

(09-14-2017, 06:09 AM)sebbs Wrote:  ["collectGP"] = 400;

thank you.

So I simply replace
mingp=600
with
collectGO=600

and I wont need the If/ else staement at all?


RE: gather collectable if - else normal - Poopy diapers - 09-14-2017

(09-14-2017, 06:09 AM)sebbs Wrote:  ["collectGP"] = 400;

thank you.

So I simply replace
mingp=600
with
collectGP=600

and I wont need the If/ else staement at all?


RE: gather collectable if - else normal - sebbs - 09-14-2017

Yep