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

New Transmutation Helper

RekhyrRekhyr Posts: 56Member ✭✭✭ - Distinguished
A "new" transmutation Mini Skill =  new script. Here is my take at it, trying to bring some -more- QoL to the system without breaking it.
The script adds the following commands by remembering what minerals you can extract in each area when you do MINERALS.

               extract  will send EXTRACT <mineral> based on your knowledge of mineral in the area you are extracting.
extract find <mineral>  will list the areas you know can be extracted for a specific mineral.
 autoex[tract][on|off]  will enable auto extract on gmcp Room Info event so you can just walk around. autoex[tract] will toggle.


You will be notified when 1 hour has passed since you extracted the first room in an area.

Saying it again, more clearly, you HAVE to run MINERALS at least once in each area or it won't do anything.

I'm not that great at Achaean so please, if you feel the wording for messages is bad or can be made more immersive, drop me a message.
And if you find something is not working of course.

Here goes.
https://gilmoa.github.io/AchaeaScripts/mudlet/transmutation.mpackage
SiduriBrenexShirszaeVadimusesAyjaIsmayAugtavianCyroXae

Comments

  • IsmayIsmay Posts: 614Member ✭✭✭✭✭ - Grand Achaean
    This is the most useful script I've come across, yet! Thank you for sharing with fellow extractors.
    Rekhyr
  • AugtavianAugtavian Posts: 31Member ✭✭ - Stalwart
    You're like the sweet, innocent competitor on a singing contest and I'm Katy Perry because I could just kiss you on the mouth against your will! Erhm what I mean to say is thank you very much, this script is very helpful!  
    Rekhyr
  • AralayaAralaya Posts: 1,148Member @ - Epic Achaean
    I need an adult after reading that comment.


    Tecton-Today at 6:17 PM

    teehee b.u.t.t. pirates
  • AugtavianAugtavian Posts: 31Member ✭✭ - Stalwart
    Aralaya said:
    I need an adult after reading that comment.
    Crap, I was kind of counting on you being the adult here. Guess I'll be eating frosting for dinner, yay!
    Utianima
  • KyrraKyrra Sanctum of the SkyPosts: 4,770Member @@ - Legendary Achaean
    I don't know if I'm the only person getting this error, but how do I fix this please?

    (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."

  • BrenexBrenex Posts: 105Member ✭✭✭ - Distinguished
    edited April 15
    Hm I just installed it and I'm not getting that at all. This line should prevent that: 

    transmutation = transmutation or {}

  • AntoniusAntonius Posts: 4,619Member @@ - Legendary Achaean
    That won't help. The transmutation variable exists, it just points to a function (note "(a function value)" in the error, rather than the usual "(a nil value)" if it doesn't exist). That line is also already part of the package, it's just in a different script object.

    @Kyrra You have something else in your profile which creates a function called transmutation - you'll need to find that and delete it, then restart Mudlet.
    RekhyrKyrra
  • BrenexBrenex Posts: 105Member ✭✭✭ - Distinguished
    edited April 15
    I meant that that line already in your script should have prevented this specific error as it initializes it as a table and not a function, not that it needs to be run.

  • IsmayIsmay Posts: 614Member ✭✭✭✭✭ - Grand Achaean
    So, I've been playing around with this script, trying to add in gathering clay, lumic, and dust. I can get them to work, but now it won't extract minerals. What have I done wrong here?


    transmutation.autoextract = function(event, args)
    if not transmutation.auto then return end
    if gmcp.Room.Info.environment:lower() == "river" then
    send("QUEUE ADD EQBAL GATHER CLAY", false)
    elseif gmcp.Room.Info.environment:lower() == "natural underground" then
    send("queue add eqbal gather lumic", false)
    send("queue add eqbal gather dust", false)
    return
    end


  • ThaisenThaisen Posts: 23Member
    Ismay said:
    So, I've been playing around with this script, trying to add in gathering clay, lumic, and dust. I can get them to work, but now it won't extract minerals. What have I done wrong here?


    transmutation.autoextract = function(event, args)
    if not transmutation.auto then return end
    if gmcp.Room.Info.environment:lower() == "river" then
    send("QUEUE ADD EQBAL GATHER CLAY", false)
    elseif gmcp.Room.Info.environment:lower() == "natural underground" then
    send("queue add eqbal gather lumic", false)
    send("queue add eqbal gather dust", false)
    return
    end



    "return" stops your entire script, so it runs your gathering, but then kills the script immediately after and doesn't continue with the rest of it.

    Does this work for Natural Underground? I would assume the server side queue sends all those commands at the same time and you would only gather the lumic moss?
  • AccipiterAccipiter Posts: 360Member ✭✭✭ - Distinguished
    How the queue works is if you send a command and you are off balance or eq, it will add it to the queue to run next time you get them back. So it will send both at once, you will be off balance for the second one and requeue it.
  • KlendathuKlendathu Eye of the StormPosts: 3,061Member @@ - Legendary Achaean
    Accipiter said:
    How the queue works is if you send a command and you are off balance or eq, it will add it to the queue to run next time you get them back. So it will send both at once, you will be off balance for the second one and requeue it.
    Only if you have queuing enabled, otherwise subsequent commands will be failed. You can get round this by sending 'queue add eqbal gather dust'

    Tharos, the Announcer of Delos shouts, "It's near the end of the egghunt and I still haven't figured out how to pronounce Clean-dat-hoo."
  • AccipiterAccipiter Posts: 360Member ✭✭✭ - Distinguished
    Klendathu said:
    Accipiter said:
    How the queue works is if you send a command and you are off balance or eq, it will add it to the queue to run next time you get them back. So it will send both at once, you will be off balance for the second one and requeue it.
    Only if you have queuing enabled, otherwise subsequent commands will be failed. You can get round this by sending 'queue add eqbal gather dust'
    I didn't know you could queue if the auto queuing system was turned off, good to know.
  • HolsteinHolstein Posts: 62Member ✭✭✭ - Distinguished
    Awesome script man!
    Roll the windows down
    This cool night air is curious
    Let the whole world look in
    Who cares who sees anything?
Sign In to Comment.