From 0fba923dda9440a7817e4dfa191bc242e5e0eb76 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 11 Jul 2021 17:27:38 -0400 Subject: First worldcall spell: Hearth Passage --- app/views/application/_results.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/views') diff --git a/app/views/application/_results.html.erb b/app/views/application/_results.html.erb index a7dc002..d1ec927 100644 --- a/app/views/application/_results.html.erb +++ b/app/views/application/_results.html.erb @@ -12,6 +12,12 @@ <% when "hearth_planting" %>

You planted <%= link_to result[:hearth_planting].item.name, item_path(result[:hearth_planting].item) %> in the loam.

+ <% when "hearth_location" %> + <% if current_char.hearth&.location %> +

You appear in <%= result[:location].name %>.

+ <% else %> +

Lacking a hearth to return to, you appear in an empty patch of land in <%= result[:location].name %>.

+ <% end %> <% when "activity" %>

You learned how to <%= result[:activity].name %>!

<% when "monster" %> -- cgit v1.2.3