mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-30 20:05:29 +02:00
added "!digDown" action to actions.js
This commit is contained in:
parent
1f6f352e53
commit
e2cf9912ad
1 changed files with 8 additions and 0 deletions
|
@ -407,6 +407,14 @@ export const actionsList = [
|
|||
return `Converstaion with ${player_name} ended.`;
|
||||
}
|
||||
},
|
||||
{
|
||||
name: '!digDown',
|
||||
description: 'Digs down a specified distance.',
|
||||
params: {'distance': { type: 'int', description: 'Distance to dig down'}},
|
||||
perform: runAsAction(async (agent, distance) => {
|
||||
await skills.digDown(agent.bot, distance)
|
||||
})
|
||||
},
|
||||
// { // commented for now, causes confusion with goal command
|
||||
// name: '!npcGoal',
|
||||
// description: 'Set a simple goal for an item or building to automatically work towards. Do not use for complex goals.',
|
||||
|
|
Loading…
Add table
Reference in a new issue