Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

runelore sketching function

LeffeLeffe Posts: 30Member
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	
end

It 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.


Shirszae

Comments

  • ShirszaeShirszae Santo DomingoPosts: 2,982Member @@ - Legendary Achaean
    Thats a really excellent script, but... You... you don't have to outr inks to sketch runes anymore...

    And you won't understand the cause of your grief...


    ...But you'll always follow the voices beneath.

    AdrikNazihkSobriquetKyrra
  • NazihkNazihk Posts: 954Member @ - Epic Achaean
    Very nice, but ultimately meaningless :(

    The 'sketch' command will automatically(and silently) outr the appropriate inks automatically, without any need for clientside intervention.

    H:7454/6046 M:4991/4639 E:99 W:100 <ex> <ckdb> T: R: 0 K:0 S:- 10:14:23.95  -ii ink
    --------------------------------------------------------------------------------
    You are holding:


    You are wearing:
    --------------------------------------------------------------------------------
    No items were shown.
    = S--@h95,H91,W<-SE@38kts,C/S->W@0,VII
    H:7454/6046 M:4991/4639 E:99 W:100 <ex> <ckdb> T: R: 0 K:0 S:- 10:14:26.65  -SKETCH URUZ ON GROUND
    You begin sketching an uruz rune on the ground.
    Shirszae
  • LeffeLeffe Posts: 30Member
    edited April 7
    ... shit

    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. 
    Ekin
  • AntoniusAntonius Posts: 4,480Member @@ - Legendary Achaean
    Leffe said:
    ... shit

    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. 
    You can submit TYPOs if you think there's information missing from AB or HELP files which should be included.
  • BrenexBrenex Posts: 105Member ✭✭✭ - Distinguished
    I was just reading this the other day after going through some announce posts actually heh: 

    readnews announce 4615


  • EkinEkin Posts: 11Member
    edited April 7
    Did not know this. I assumed (apparently foolishly) that when it did not allow me to eat an herb without outrifting it, that this would apply to everything else in the rift as well.

    So does this work only for inks? What about comms for enchanting? (or other tradeskills)
  • RackhamRackham Posts: 51Member ✭✭ - Stalwart
    Not that it matters anymore, but when transmutation happened in a lab, I could make minerals with metals from my rift, but had to specifically take primes out to make metals. 
  • SobriquetSobriquet Posts: 1,970Member @@ - Legendary Achaean
    Would be nice if Magi crystals worked the same way as inks. 
    image
  • AntoniusAntonius Posts: 4,480Member @@ - Legendary Achaean
    Ekin said:
    Did not know this. I assumed (apparently foolishly) that when it did not allow me to eat an herb without outrifting it, that this would apply to everything else in the rift as well.

    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.

    Ekin
  • SenaSena Posts: 3,920Member @@ - Legendary Achaean
    Ekin said:
    So does this work only for inks? What about comms for enchanting? (or other tradeskills)
    It works for tattoos, runes, remedies, toxicology, formulation, and various miscellaneous abilities (such as etherchannel). Forging requires commodities to be outrifted. Not sure about any other tradeskills.
  • ShirszaeShirszae Santo DomingoPosts: 2,982Member @@ - Legendary Achaean
    It works for tailoring, too. Not sure about jewelry.

    And you won't understand the cause of your grief...


    ...But you'll always follow the voices beneath.

  • KyrraKyrra Sanctum of the SkyPosts: 4,598Member @@ - Legendary Achaean
    I think jewellery will do the comms but you need to have the gold crafting fee in your hands?
    (D.M.A.): Cooper says, "Kyrra is either the most innocent person in the world, or the girl who uses the most innuendo seemingly unintentionally but really on purpose."

  • DragonknightDragonknight Posts: 251Member ✭✭✭✭ - Eminent
    Sobriquet said:
    Would be nice if Magi crystals worked the same way as inks. 
    Classlead it!
Sign In to Comment.