lib/turtle-utils.lua: renamed commandMap to movementMap
authorOlav Bakke Svendsen <mail@olavbs.no>
Wed, 15 May 2024 18:03:28 +0000 (20:03 +0200)
committerOlav Bakke Svendsen <mail@olavbs.no>
Wed, 15 May 2024 18:03:28 +0000 (20:03 +0200)
lib/turtle-utils.lua

index b860555f861025355ec9e5940d12d7accf112366..2d79f54fe4c290f02d2d681246b0ca61076848bb 100644 (file)
@@ -9,7 +9,7 @@
 -- count : list of item names -> count
 -- selectItem : list of item names -> true | false message
 -- transferAndSelect : index -> list of items -> true | false message
--- commandMap : t f
+-- movementMap : t f
 -- runStringCommand : string -> true | false message
 -- rep : number of repeats -> string -> string | nil
 
@@ -117,8 +117,8 @@ end
 -- "u15 r" = 15x up -> turn right
 -- "u1 5r" = invalid
 
--- commandMap : t f
-lib.commandMap =
+-- movementMap : t f
+lib.movementMap =
   { ["u"] = turtle.up
   , ["d"] = turtle.down
   , ["f"] = turtle.forward