| 1 | import { startDebark } from "../gathering/service.js"; |
| 2 | |
| 3 | /** @deprecated Prefer gather command routing; kept for direct tests / imports. */ |
| 4 | export function debarkLog (world, sessionId, characterId, groundItemId, now = Date.now()) |
| 5 | { |
| 6 | return startDebark(world, sessionId, characterId, groundItemId, now); |
| 7 | } |
| 8 | |
| 9 | export function handleDebarkCommand (world, sessionId, command, now = Date.now()) |
| 10 | { |
| 11 | if (command.type !== "debark-log") |
| 12 | { return null; } |
| 13 | return startDebark(world, sessionId, command.characterId, command.groundItemId, now); |
| 14 | } |