Purely because no one should have to type up this table ever again (and seriously, if it already exists I don't want to know about it):
rw = rw or {}
rw.runes = {
kena = {inks = {'red'},},
uruz = {inks = {'blue', 'yellow',},},
fehu = {inks = {'red'},},
pithakhan = {inks = {'red'},},
jera = {inks = {'purple'},},
inguz = {inks = {'red'},},
wunjo = {inks = {'red'},},
lagul = {inks = {'purple'},},
sowulu = {inks = {'red'},},
algiz = {inks = {'green'},},
isaz = {inks = {'red', 'blue',},},
dagaz = {inks = {'red', 'green'},},
gebu = {inks = {'gold'},},
gebo = {inks = {'gold'},},
gular = {inks = {'red'},},
raido = {inks = {'green'},},
thurisaz = {inks = {'red', 'blue'},},
lagua = {inks = {'purple'},},
hugalaz = {inks = {'blue'},},
nauthiz = {inks = {'blue', 'yellow'},},
mannaz = {inks = {'red'},},
othala = {inks = {'red', 'red', 'red', 'red', 'red',},},
sleizak = {inks = {'blue'},},
tiwaz = {inks = {'red', 'red', 'blue'},},
berkana = {inks = {'yellow', 'yellow', 'yellow',},},
nairat = {inks = {'yellow'},},
eihwaz = {inks = {'blue', 'yellow'},},
laguz = {inks = {'purple'},},
loshre = {inks = {'blue'},},
}
function rw.sketch(rune,loc)
local inks = rw.runes[rune]['inks']
for _,ink in ipairs(inks) do
send('outr ' .. ink .. 'ink')
end
send('sketch ' .. rune .. ' on ' .. loc)
for _,ink in ipairs(inks) do
send('inr ' .. ink .. 'ink')
end
endIt should be fairly obvious how to use the function in aliases or wherever. If it's not, just ask.
No, I am not sure why I chose to use indexed tables instead of othala = {red = 5,}
It works though and I'm not typing it out the other way.
Comments
And you won't understand the cause of your grief...
...But you'll always follow the voices beneath.
The 'sketch' command will automatically(and silently) outr the appropriate inks automatically, without any need for clientside intervention.
Edit: be nice if that was in the ab file for sketching.
I also only just found out last night that we don't have to unwield before wielding.
Results of disembowel testing | Knight limb counter | GMCP AB files
readnews announce 4615
So does this work only for inks? What about comms for enchanting? (or other tradeskills)
It also works for inking tattoos.
For class-based things, it works for sketching runes and creating a golem with Artificing. It may also work for Formulation.
For trade-skills, it works for creating elixirs and salves with Remedies. It doesn't work for cooking, forging, or enchanting as far as I know.
Results of disembowel testing | Knight limb counter | GMCP AB files
And you won't understand the cause of your grief...
...But you'll always follow the voices beneath.