07-10-2017, 11:25 AM
(07-10-2017, 02:08 AM)Poopy diapers Wrote: How would I combine two or more profiles?
For example, if I wanted to combine BTN 'tomato' and BTN 'leaf' to farm one for 4 hours then switch and do the other for 4 hours ..repeat?
Would there be anything special needed to add in a MNR profile to the mix?
I have tried this on my own, copy paste the task and re number them (1,2,3,4,5,6) but nothing happens, maybe it will farm one and not the other.
Example of one that does not work
Code:local obj1 = {
["setup"] = {
["gearsetmining"] = 2;
["gearsetbotany"] = 3;
};
["tasks"] = {
[1] = {
["minlevel"] = 66;
["maxlevel"] = 70;
["mapid"] = 612;
["radius"] = 70;
["pos"] = {
["x"] = -628.37200927734;
["y"] = 43.145812988281;
["z"] = 316.04644775391;
["h"] = 3.010;
};
["eorzeaminhour"] = 0;
["eorzeamaxhour"] = 12;
["type"] = "botany";
["item1"] = "Persimmon Log";
["skillprofile"] = "Gathering_HQ";
["gathermaps"] = true;
["dangerousarea"] = true;
["usestealth"] = true;
["timeout"] = 180;
};
[2] = {
["minlevel"] = 66;
["maxlevel"] = 70;
["mapid"] = 612;
["radius"] = 60;
["pos"] = {
["x"] = -676.6845703125;
["y"] = 41.293357849121;
["z"] = 398.69296264648;
["h"] = 2.800;
};
["eorzeaminhour"] = 0;
["eorzeamaxhour"] = 12;
["type"] = "botany";
["item1"] = "Persimmon Log";
["skillprofile"] = "Gathering_HQ";
["gathermaps"] = true;
["dangerousarea"] = true;
["usestealth"] = true;
["timeout"] = 180;
};
[3] = {
["minlevel"] = 66;
["maxlevel"] = 70;
["mapid"] = 612;
["radius"] = 80;
["pos"] = {
["x"] = -592.87292480469;
["y"] = 36.927375793457;
["z"] = 428.47192382813;
["h"] = 2.800;
};
["type"] = "botany";
["eorzeaminhour"] = 0;
["eorzeamaxhour"] = 12;
["item1"] = "Persimmon Log";
["skillprofile"] = "Gathering_HQ";
["gathermaps"] = true;
["dangerousarea"] = true;
["usestealth"] = true;
["timeout"] = 180;
};
[4] = {
["minlevel"] = 61;
["maxlevel"] = 70;
["mapid"] = 612;
["radius"] = 90;
["pos"] = {
["x"] = -554.95196533203;
["y"] = 127.42440795898;
["z"] = -476.93426513672;
["h"] = 3.010;
};
["type"] = "botany";
["eorzeaminhour"] = 12;
["eorzeamaxhour"] = 0;
["item1"] = "Beech Log";
["skillprofile"] = "Gathering_HQ";
["gathermaps"] = true;
["dangerousarea"] = true;
["usestealth"] = true;
["timeout"] = 180;
};
[5] = {
["minlevel"] = 61;
["maxlevel"] = 70;
["mapid"] = 612;
["radius"] = 85;
["pos"] = {
["x"] = -557.64178466797;
["y"] = 104.37753295898;
["z"] = -261.78485107422;
["h"] = 2.800;
};
["type"] = "botany";
["eorzeaminhour"] = 12;
["eorzeamaxhour"] = 0;
["item1"] = "Beech Log";
["skillprofile"] = "Gathering_HQ";
["gathermaps"] = true;
["dangerousarea"] = true;
["usestealth"] = true;
["timeout"] = 180;
};
[6] = {
["minlevel"] = 61;
["maxlevel"] = 70;
["mapid"] = 612;
["radius"] = 100;
["pos"] = {
["x"] = -572.44915771484;
["y"] = 110.78746032715;
["z"] = -318.29306030273;
["h"] = 2.800;
};
["type"] = "botany";
["eorzeaminhour"] = 12;
["eorzeamaxhour"] = 0;
["item1"] = "Beech Log";
["skillprofile"] = "Gathering_HQ";
["gathermaps"] = true;
["dangerousarea"] = true;
["usestealth"] = true;
["timeout"] = 180;
};
};
}
return obj1
the way I got around that problem, instead of setting a time, i set a quantity per item.. something like
Code:
["condition"] = {
["ItemCount(19957) < 3"] = true;
};
["complete"] = {
["GetInventoryItemGains(19957) >= 3"] = true;
};
just change the number inside itemcount and getinventoryItemGains with the itemid you are gathering and you are set.