Search results

  1. D

    How do I get the PADL Phone or Windchime counters in ASH?

    I'm familiar with the handy get_counters function but it explicitly ignores the counters I'm looking for. How do I get the war item counters? string get_counters(string label, int minTurns, int maxTurns) label: counter to test for. An empty string will match any counter that takes an...
  2. D

    Repair the elves' shield generator script

    This script completes the Repair the Elves Shield Generator quest in Spaaaace. It is my first ASH script that does more than "cli_execute" and I'm very happy with it. Assumptions: None? Features: - Configurable options for custom outfits/familiars including the option to trust mafia to...
  3. D

    Boolean not operator

    ASH doesn't seem to like what I'm trying. I'm trying to do things like this: if(!item_amount(myItem)) doStuff(); if(!equipped_amount(myItem)) doOtherStuff(); if (!adventure(my_adventures(), myLocation())) abort("Something went wrong!"); Can any of these be done or do I have to use...
  4. D

    Syntax of file_to_map text file

    From the wiki page on take_storage() What would static_pulls.txt look like? day (count, item)? 1 (1, itemone) 1 (1, itemtwo) 1 (5, itemthree) 1 (2, itemfour) I'd just like to be able to run the example on that page, nothing fancy (yet). Also, is there a command for printing a list like...
Top