feat: Add additional states for scanning, extracting, building, and autocrafting in Turtle state machine
This commit is contained in:
@@ -20,6 +20,10 @@ import {
|
||||
RefuelingState,
|
||||
DumpInventoryState,
|
||||
FarmingState,
|
||||
ScanState,
|
||||
ExtractionState,
|
||||
BuildingState,
|
||||
AutocraftState,
|
||||
} from './states/index.js';
|
||||
|
||||
const STATE_MAP = {
|
||||
@@ -33,6 +37,14 @@ const STATE_MAP = {
|
||||
dumpInventory: DumpInventoryState,
|
||||
dumping: DumpInventoryState,
|
||||
farming: FarmingState,
|
||||
scanning: ScanState,
|
||||
scan: ScanState,
|
||||
extracting: ExtractionState,
|
||||
extraction: ExtractionState,
|
||||
building: BuildingState,
|
||||
build: BuildingState,
|
||||
autocrafting: AutocraftState,
|
||||
autocraft: AutocraftState,
|
||||
};
|
||||
|
||||
// Timeout for exec() commands (ms)
|
||||
|
||||
Reference in New Issue
Block a user