Search results

  1. That FN Ninja

    ZLib -- Zarqon's useful function library

    Z, could you add a combat filter option to the obtain function please. Suggested change: boolean obtain(int n, string cond, location locale, string filter) { if (cond == "choiceadv") cli_execute("conditions clear; conditions add "+n+" choiceadv"); else { if (retrieve_item(n...
  2. That FN Ninja

    Familiar Switching

    Also change the one above that one as well. Try this: if(have_familiar($familiar[Jack-in-the-Box])){ use_familiar($familiar[Jack-in-the-Box]); }
  3. That FN Ninja

    TraFa - The familiar helper

    Ah, yes. I don't have a Bander so wasn't able to do any debugging. Thanks slyz. Fixed and re-uploaded.
  4. That FN Ninja

    Feature - Implemented Expand hatter CLI command to get a buff

    Feature - Scripted Feature - Scripted hatter.ash Tea anyone!?
  5. That FN Ninja

    TraFa - The familiar helper

    Update v1.5 Update v1.5 Re-factored code. Less duplication and runs quite a bit faster. Changed prints to vprints. Changed aborts to exits. Improved the calculation for familiar equipment obtaining to account for the chance of getting a lead necklace. Fixed Bandersnatch equipment obtaining...
  6. That FN Ninja

    hatter.ash - Tea anyone!?

    Already implemented. SinginSally pointed that out and I added in the functionality the same day I posted the script.
  7. That FN Ninja

    Wildcard in aliases

    Good to know. Thank you.
  8. That FN Ninja

    Wildcard in aliases

    I'm not sure I understand how wildcards are used in aliases. Here's some code for example: void test(string fam){ if(to_familiar(fam) == $familiar[none]) print("Unrecognized familiar: " + fam); else print(to_familiar(fam)); }calling this function directly from within a script...
  9. That FN Ninja

    CanAdv -- check whether you can adventure at a given location

    Suggested changes to the current Hippy Camp & Frat House. Current: case $location[Hippy Camp]: case $location[Frat House]: return (itemcheck($item[dingy dinghy]) && get_property("warProgress") == "unstarted");Suggested changes: case $location[Hippy Camp]: return (itemcheck($item[dingy...
  10. That FN Ninja

    Script request: Sending all the junk you accumulated in a run to a mall multi

    In this instance the quotes are necessary. Without them you get: "Unknown variable %% ()"
  11. That FN Ninja

    Script request: Sending all the junk you accumulated in a run to a mall multi

    or rather: alias sendall => ashq import <zlib.ash>; kmail("%%", "", 0, get_inventory());Forgot the ashq and the quotes around %%. This could be handy.
  12. That FN Ninja

    lastDwarfFactoryReset

    Okay. Thank you.
  13. That FN Ninja

    hatter.ash - Tea anyone!?

    @ Bale Thanks for the input. I actually wrote this script with the built-in hatter command in mind, sort of as an extension of that command. @ SinginSally As Bale pointed out, the hatter cli command already completes the first two items in your list. As for querying the user, I do not what to...
  14. That FN Ninja

    lastDwarfFactoryReset

    Does anyone know what the lastDwarfFactoryReset property tracks, and when Mafia changes this value? Does this value just get incremented every ascension?
  15. That FN Ninja

    hatter.ash - Tea anyone!?

    hatter.ash - Tea anyone!? Enjoying tea the mafia way. I was admiring the usage function in bounty.ash and was inspired to write this. Also, I saw a feature request regarding this. Also, my CS1400 professor is accepting this as extra credit. Also, I love tea! Well, at least the FUZE - Black &...
  16. That FN Ninja

    Trying to kmail a package to a group of players

    Here you go. Just edit the first part to your liking. import <zlib.ash> int[item] package; // This is the list of people to send the package too. // Place each name separated by commas boolean[string] clannies = $strings[clannie1, clannie2]; // This is the package list: // It contains the...
  17. That FN Ninja

    Feature - Implemented Track Mad Hatter Visit/Buff

    Yes, that seems to be exactly what I'm looking for. I overlooked that. Thank you. There's a lot of new content since the last time I played. It's pretty exciting! Please excuse me if I try to get features implemented that are already implemented. I should have know better. The devs are pretty...
  18. That FN Ninja

    Feature - Implemented Track Mad Hatter Visit/Buff

    I was thinking a preference to track if you've been buffed by the Mad Hatter would be nice. Something similar to the concertVisited preference that exists now.
  19. That FN Ninja

    Getting user input

    If you want to see another example of this in action you could look at the script I posted here. It's not the prettiest solution, but it works.
  20. That FN Ninja

    Make.meat.fast

    That alias was actually created by slyz, Bale and I (mostly Bale) just improved upon it. And now, if you are using rev8071 or later you can change the ash in that alias to ashq to eliminate the unwanted return void message that it outputs.
Back
Top