5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
0.4, 0.5, 0.5;
};
}
local function
findextract(herb)
for name, e in pairs(sorcery.data.extracts) do
if e[1] == herb then
return name, {
color = e[2];
reqamt = e[3] or 3;
reqtime = e[4] or 75;
}
end
end
|
|
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
0.4, 0.5, 0.5;
};
}
local function
findextract(herb)
for name, e in pairs(sorcery.data.extracts) do
local found = false
if sorcery.lib.item.groupmatch(e[1], herb) then
return name, {
color = e[2];
reqamt = e[3] or 3;
reqtime = e[4] or 75;
}
end
end
|