Skip to content

Releases: JoeStrout/Farmtronics

v1.4.0

14 May 03:08
Compare
Choose a tag to compare

v1.3.3

29 Jan 15:15
Compare
Choose a tag to compare

Fixed a new bug in v1.3.2 which caused errors using the Home Computer in multiplayer. (Oops.)

v1.3.2

28 Jan 20:00
88b4e85
Compare
Choose a tag to compare
  • Bots can now rearrange their inventory using a new me.swapItem(index1, index2) API.
  • A new me.owner API returns the name of the player that owns the bot (or home computer).
  • Home Computer now saves changes to me.name across sleeps or restarts.
  • Fixed a bug causing bots to fail to break weeds or small rocks/stumps that happened to be next to a large (unbreakable) boulder/stump.
  • Fixed some functions in /sys/lib/mathUtil that did not work, and added a few more (polygon and line-intersection functions) just to make it better match the version in Mini Micro.
  • Fixed handling of dir command (and related commands, like file.children) on the /net disk, or at / (the root containing all three disks).
  • Added missing ellipsis character to the font; updated /sys/lib/chars.
  • Fixed cosmetic glitches in /sys/demo/invaders and /sys/demo/textAdventure.

v1.3.1

04 Nov 16:20
Compare
Choose a tag to compare

This maintenance release corrects a few new bugs that crept in with version 1.3:

  • Fixed rare bug in which me.forward would cause the bot to turn and move in some other direction.
  • Fixed crop harvesting.
  • Fixed an error that would occur when using me.select with the index of an empty slot.

v1.3.0

01 Nov 19:46
Compare
Choose a tag to compare
  • MULTIPLAYER SUPPORT! That's right, you can now enjoy Farmtronics technology in your co-op games! (Note that bot consoles are only accessible to the bot owner; but giving a bot to another player transfers ownership.)
  • A new /net disk is available; in a multiplayer game, this is shared among all players. (Contrast with /usr, which is unique to each player, and /sys, which is read-only.)
  • Renamed the bot module to me (short for "machine environment"), and made it accessible to the Home Computer as well, though actual bot-related properties and methods (like energy and forward) only do useful things on an actual robot; use me.isBot to tell if the code is running on a bot vs. the Home Computer.
  • Moved screenColor into the me module (still available as a global, for now, but this is deprecated -- please update your scripts).
  • me.name is now used by both the Home Computer and bots to identify themselves when posting messages to world.chat.
  • The Home Computer now has an [x] button near the top-left corner of the screen, which can be used to exit the computer UI even while a program is running.
  • Home Computer now (re)boots automatically at the start of each day, re-running any code you may have in startup.ms.
  • Tile info maps now include a passable entry, which is true (1) if the bot can travel through that tile, or false (0) otherwise.

v1.2.0

26 Jul 21:33
Compare
Choose a tag to compare
  • bots can now plant crops and place items into containers, machines, or signs via bot.placeItem (this, and most other things this release, is thanks to @hxpmods)
  • bots can now harvest crops or take completed items out of machines via bot.harvest
  • bots can now take items out of containers (e.g. chests or other bots) via bot.takeItem n, where n is the 0-based slot number of the item to take
  • tile info now includes the inventory (list of items) for a tile that contains a chest or other container
  • bots can now wear hats (just by having one in the last slot of their inventory)
  • currently selected item is now indicated by a dark red outline around the selected slot in the bot inventory UI

v1.1.1

03 Jul 14:07
84b1258
Compare
Choose a tag to compare
  • added mkdir as an alias of file.makedir
  • added world.chat and world.chatMessages to allow bots and the home computer to interact with the in-game chat
  • fixed an error that prevented bot.select from working with a tool index (thanks to GitHub user Zelec)
  • the /usr disk and computer context are now properly reset when exiting to title
  • you can no longer exit the bot UI while moving an inventory item (preventing accidental loss of the item)

v1.1.0

18 Jun 14:33
Compare
Choose a tag to compare
  • version.hostInfo now shows the correct string for bots vs. the Home Computer
  • fixed the tip function (defined in /sys/startup.ms)
  • the "save a file" toDo task will now be satisfied even if you file is only 1 line
  • changed world to return a map of data, rather than a map of functions
  • added world.weather and world.luck
  • added "world" as a help topic
  • added help and (by-line) cut/paste to the editor

v1.0.9

10 Apr 14:33
Compare
Choose a tag to compare
  • Adds a new world instrinsic function for accessing date and time information (thanks to @renezaal).
  • Home computer and bots now start up automatically at the start of each day, auto-running their startup.ms script (also thanks to @renezaal!).
  • Reduced the debug logging sent to the SMAPI console.

v1.0.8

10 Feb 03:42
002970a
Compare
Choose a tag to compare
  • Bots once again regain full energy when you sleep.
  • Pressing the Page Up button no longer spawns a bot next to you.