mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-27 17:33:02 +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.`;
|
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
|
// { // commented for now, causes confusion with goal command
|
||||||
// name: '!npcGoal',
|
// name: '!npcGoal',
|
||||||
// description: 'Set a simple goal for an item or building to automatically work towards. Do not use for complex goals.',
|
// 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