Small Update 1.0.4
By Blindsight Games
Patch Notes 1.0.4
Added in-game Documentation
New icon to make it easier to find:
Document the location property .biomass for the biomass available to trees at that location. That's been in the language but we missed the documentation page.
More details and examples in the hover box for many commands.
Text Scripting Command Options
There are a bunch of settings on commands in the visual scripting with no equivalent option in the text scripting. We've added a new syntax that allows adding options to the end of a command:
[c] : option option ...[/c]
New Options
Go To Heading: let's you control what direction a drone is facing at the end of a goto command:[c] goto : heading [/c] Forward, backward, left, and right are relative to the starting heading.
Place Beacon Role [c]place beacon : role [/c]The entity set specifies and the role for the beacon and optionally the team: [c]place beacon : role \[Quarry][/c] Sets the role; the team matches the team of the drone or surveyor that placed the beacon. [c]place beacon : role \[Quarry].team(red)[/c] Sets both the role and the team.
Place Beacon Size [c]place beacon : size [/c] Sets the size of the placed beacon up to 25x25. Place Beacon allows multiple options so you can, for instance, set the role, filter, and size in one command. Example [c]place beacon : size (5, 5) [/c]Creates a 5x5 beacon with the drone at the center.
Place Beacon Filter [c]place beacon : filter [/c]Example [c]place beacon : filter ironore + limestone.1[/c] set the filter to Iron Ore and and the Limestone I variant.
Place Beacon Empty [c]place beacon : empty [/c] Sets the hide when empty or delete when empty options on the beacon.
Signal To [c]signal to : [/c]Sends a signal to a specific entity.[c] signal to : [/c]Sends a signal to all entities in a role or role+team. Example [c]signal mine to : \[Miner].onteam(red)[/c] sends the signal mine to all drones with the Miner role on team red.
Other new Text Scripting Features
Location function lets you construct locations with expressions. Example [c]goto location(this.location.x + #.number * 5, @.location.y)[/c]
Location.withx(), Location.withy() Lets you construct a location by replacing a component of another location. Example [c]goto this.location.withx(\[Quarry].nearest.location.x)[/c]
Location.biomass Returns the amount of biomass available to a tree if planted in that location.
Location.plantable Returns and item set of seeds that can grow at that location.
deletebeacon Surveyor command to delete a beacon.
Bug Fixes
Text script team names are now case insensitive.
Allow goto near/high/low/random point of a surveyor in a text script.
I am also still working on my text scripting playthrough of the game. The latest video shows scripting conveyors with item sets and requests. This'll be an ongoing series with a focus on how the elements of scripting work together.
In this story