Hello, I've done some searches and googling, found a couple scripts, but apparently most links are old or broken. I'm looking for something to make harvesting, gathering, extraction, synthesis, etc a bit easier. Yes, I could totally make a crap ton of aliases to do this, but I'd rather have something a bit more clean. If anyone can put something decent together that would be great, I can pay if needed. Thanks.
0
Comments
http://forums.achaea.com/discussion/3047/harvester-gatherer-extractor/
It's just missing the harvesting definitions for Svof in the latest version, which he really ought to update back in. But they can easily just be added onto a new script in the Harvesting folder so the custom prompt works.
If anyone has anything please let me know, thank you!
If you have the medallion, use "vconfig haveenchantmentmedallion", if you don't have a standard pack or need to specify a pack ID, use vconfig enchantgetgold <command> and vconfig enchantputgold <command>
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
input_var = "1123" --Coming from another function/event/trigger etc
output_var = ""
table1 = {
var1 = {store1 = "command1", store2 = "command2", store3 = "command3", store4 = "command4", currentcount = 1, count = 4},
var2 = {store1 = "command1", store2 = "command2", store3 = "command3", store4 = "command4", currentcount = 1, count = 4},
var3 = {store1 = "command1", store2 = "command2", currentcount = 1, count = 2},
var4 = {store1 = "command1", store2 = "command2", store3 = "command3", currentcount = 1, count = 3},
}
-- var1, var2 etc will be numbers
-- input_var will be number
-- command1, command2, etc will be string
for i ,v in pairs(table1) do
if i == input_var then
output_var = v.store[currentcount]
currentcount = currentcount + 1
if currentcount == count then
currentcount = 1
end
end
end
send("output_var")
So basically if var1 is the same as input_var and var1.currentcount is 1 then output_var should be command1,then var1.currentcount should be 2.
else if var2 is the same as input_var and var2.currentcount is 4 then output_var should be command4, then var2.currentcount should reset back to 1
If you want to access the value referenced in a table by a variable key, you need to use the square bracket notation:
v["store" .. currentcount]
Results of disembowel testing | Knight limb counter | GMCP AB files