Releases: JoeStrout/Farmtronics
Releases · JoeStrout/Farmtronics
v1.4.0
- Now compatible with Stardew Valley v1.6.
- Updated MiniScript language to version 1.6.2 (https://miniscript.org/files/MiniScript-Release-Notes.txt).
- Bots can now use a battery pack (using
me.useTool
). This consumes the battery, and fully recharges the bot.
Farmtronics.zip
v1.3.3
v1.3.2
- 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, likefile.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
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
- 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 tome
(short for "machine environment"), and made it accessible to the Home Computer as well, though actual bot-related properties and methods (likeenergy
andforward
) only do useful things on an actual robot; useme.isBot
to tell if the code is running on a bot vs. the Home Computer. - Moved
screenColor
into theme
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 toworld.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
- 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
, wheren
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
- added
mkdir
as an alias offile.makedir
- added
world.chat
andworld.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
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
andworld.luck
- added "world" as a help topic
- added help and (by-line) cut/paste to the editor