mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 12:41:30 +00:00
[Commands] Add #task complete Saylink to #task show (#4985)
This commit is contained in:
parent
ed3f6c2a40
commit
1fe5d9fa4f
@ -1414,11 +1414,19 @@ void ClientTaskState::ShowClientTaskInfoMessage(ClientTaskInformation *task, Cli
|
||||
c->Message(
|
||||
Chat::White,
|
||||
fmt::format(
|
||||
"Task {} | Title: {} ID: {} Type: {}",
|
||||
"Task {} | Title: {} ID: {} Type: {} | {}",
|
||||
task->slot,
|
||||
task_data->title,
|
||||
task->task_id,
|
||||
Tasks::GetTaskTypeDescription(task_data->type)
|
||||
Tasks::GetTaskTypeDescription(task_data->type),
|
||||
Saylink::Create(
|
||||
fmt::format(
|
||||
"#task complete {}",
|
||||
task->task_id
|
||||
),
|
||||
false,
|
||||
"Complete"
|
||||
)
|
||||
).c_str()
|
||||
);
|
||||
c->Message(Chat::White, "------------------------------------------------");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user