Basic implentation of a last location command

This commit is contained in:
bbassie
2021-02-09 22:21:11 +01:00
parent e3dea6687e
commit c7c505b3b5
4 changed files with 25 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ return {
'modules.commands.find',
'modules.commands.home',
'modules.commands.connect',
'modules.commands.last-location',
--- Addons
'modules.addons.chat-popups',

View File

@@ -174,6 +174,7 @@ Roles.new_role('Veteran','Vet')
:set_parent('Member')
:allow{
'command/chat-bot',
'command/last-location'
}
:set_auto_assign_condition(function(player)
if player.online_time >= hours10 then