Eunomiac / stone-story

Mind Stone scripts for Stone Story, made in a vacuum as I learned the game!
The Unlicense
18 stars 2 forks source link

Learning StoneScript

The Scripts-Annotated folder contains scripts that aren't part of my main scripts, but may be helpful to people just starting out or who want to learn StoneScript. Every script in this folder is fully annotated with comments explaining almost every line, as well as comments offering more general suggestions and advice. Most files contain a section at the end containing just the code, without my comments.

My Over-Thought & Under-Done STONE STORY Script!

Three files that, together, comprise the automation script for my Stone Story gaming. I make no claims to how optimal or capable this script is, as I put it together without seeking help from the larger Stone Story community (what can I say, I like to figure things out for myself)! I've added comments and some configuration features, which I'll outline below.

Assumptions Before We Begin

As this is an evolution of my script as I played through Stone Story, it was initially coded for a fairly 'end game' build, with all of the Lost Treasures and a large collection of enchanted weapons and shields. I have since added checks and validation to (hopefully) ensure the script functions without presuming anything about the contents of your inventory, but know that the script operates best when you have the following:

[!WARNING] Be sure to break apart all unwanted zero-star items in your inventory before using this script, or the script may erroneously equip something it shouldn't!

Please post an Issue if you see any errors (such as "no <X> to equip") while running the script. Be sure to include the full text of the in-game error message, including the line number and the file (i.e. Main, HUD or Utilities) if one is referenced.

Usage (PC)

  1. Download all three files (Main.txt, Utilities.txt and HUD.txt)
  2. Put all of them into the root of your Stone Story Scripts folder, right next to Fishing.txt (which is there by default)
  3. Go through the ==== CONFIG ==== section (at the top of Main.txt) and set the values to match your game
  4. Save, then import 'Main.txt' via your Mind Stone, like so:
    import Main

Usage (Mobile)

If you're unable to download files, or import from multiple sources, I've consolidated my scripts into a single file that you can copy & paste directly into your Mind Stone. Note that some functionality (including the HUD) is missing.

[!WARNING] This was prepared very very quickly and has yet to be tested by me, so I apologize in advance for any bugs. DM me on Discord if you'd like me to let you know when a more robust version of this file is available!

  1. Copy and paste the entire contents of this page into a text editor (not your Mind Stone, as the wonky line breaks in there will make configuring the script in the next step a real headache).
  2. Go through the === CONFIG === section and set the values to match your game (I have removed the explanatory comments to keep the wordcount low for mobile users; click here to see the CONFIG section of the PC script, which contains all of the comments, or click here for a (hopefully) mobile-friendly text guide)
  3. Copy and paste the whole thing directly into your Mind Stone. It will look awful, with lines screaming off to the right in a brazen display of reckless disregard for page boundaries and common sense — but it should work just fine.

Gameplay (PC ONLY)

The following keyboard controls can be used to change the behavior of the script during a run: