added "!digDown" action to actions.js

This commit is contained in:
Lawtro37 2025-01-20 20:44:55 +10:00 committed by GitHub
parent 1f6f352e53
commit e2cf9912ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.',