Rename charge command to recharge
This commit is contained in:
parent
7272749614
commit
87af905bc8
7 changed files with 14 additions and 13 deletions
|
@ -43,6 +43,7 @@ type Command struct {
|
|||
// "move" - Move the rover in a direction, requires bearing
|
||||
// "stash" - Stashes item at current location in rover inventory
|
||||
// "repair" - Repairs the rover using an inventory object
|
||||
// "recharge" - Waits a tick to add more charge to the rover
|
||||
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||||
// The bearing, example: NE
|
||||
Bearing string `protobuf:"bytes,2,opt,name=bearing,proto3" json:"bearing,omitempty"`
|
||||
|
|
|
@ -212,7 +212,7 @@
|
|||
"properties": {
|
||||
"command": {
|
||||
"type": "string",
|
||||
"title": "The command to execute\n\"move\" - Move the rover in a direction, requires bearing\n\"stash\" - Stashes item at current location in rover inventory\n\"repair\" - Repairs the rover using an inventory object"
|
||||
"title": "The command to execute\n\"move\" - Move the rover in a direction, requires bearing\n\"stash\" - Stashes item at current location in rover inventory\n\"repair\" - Repairs the rover using an inventory object\n\"recharge\" - Waits a tick to add more charge to the rover"
|
||||
},
|
||||
"bearing": {
|
||||
"type": "string",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue