From 456cfb0df874ac8cfb217c19c723a3cf738e524f Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 14 Jul 2021 17:47:02 -0400 Subject: New spell: Floret Passage (also code that allows location results) --- app/views/application/_results.html.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/application/_results.html.erb') diff --git a/app/views/application/_results.html.erb b/app/views/application/_results.html.erb index 71d6992..237dc12 100644 --- a/app/views/application/_results.html.erb +++ b/app/views/application/_results.html.erb @@ -12,6 +12,8 @@ <% when "hearth_planting" %>

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

+ <% when "location" %> +

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

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

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

-- cgit v1.2.3