diff options
author | David Gay <david@davidgay.org> | 2021-07-14 17:47:02 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-07-14 17:48:30 -0400 |
commit | 456cfb0df874ac8cfb217c19c723a3cf738e524f (patch) | |
tree | 06da9663e2df553d389a275e57cc3b856e9eb558 /app/views | |
parent | 9cb32635c8df98ef61475ff84a16f9f630e31620 (diff) |
New spell: Floret Passage (also code that allows location results)
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/application/_results.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
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" %> <p>You planted <%= link_to result[:hearth_planting].item.name, item_path(result[:hearth_planting].item) %> in the loam.</p> + <% when "location" %> + <p>You appear in <%= result[:location].name %>.</p> <% when "hearth_location" %> <% if current_char.hearth&.location %> <p>You appear in <%= result[:location].name %>.</p> |