diff options
author | David Gay <david@davidgay.org> | 2021-05-25 20:44:53 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-25 20:48:00 -0400 |
commit | 3f079ef8a7d46d5a4864836dbbd9e37b900c0a59 (patch) | |
tree | 612089e06320cdbba5bdd5ff99b10826a1ee4519 /app/views/activities | |
parent | 7c191c15e3a16c5c4c53f6d83c89fe6d1219b6e5 (diff) |
Award title for mining a yellow beryl
Diffstat (limited to 'app/views/activities')
-rw-r--r-- | app/views/activities/_results.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/activities/_results.html.erb b/app/views/activities/_results.html.erb index e0e54cc..49de2d5 100644 --- a/app/views/activities/_results.html.erb +++ b/app/views/activities/_results.html.erb @@ -16,6 +16,8 @@ <p class="text-xs italic"><%= result[:monster].description %></p> <% when "xp" %> <p class="text-xs">You gained <%= result[:xp] %> <%= result[:skill].name %> XP.</p> + <% when "title" %> + <p>You earned the title <%= render "application/components/text/title", title: result[:title] %>!</p> <% when "message" %> <p><%= result[:body] %></p> <% when "error" %> |