<%= most_recent_cs.skill.name %> level <%= most_recent_cs.level %>
<%= most_recent_cs.xp_to_next_level %> XP to next level
<% if current_char.activity.gid.include?("beastslay") %>
<%= current_char.wounds %> / <%= pluralize(current_char.max_wounds, "wound") %>
<% end %>
<% current_char.active_states.each do |state| %>
<%= state.condition.name %>
(expires in <%= distance_of_time_in_words_to_now(state.expires_at) %>)
<% end %>
<% else %>
<% if current_char.resting? %>
You're resting.
<% else %>
You're not doing anything.
<% end %>
<%= button_to current_char.resting? ? "Stop Resting" : "Start Resting", toggle_resting_path %>
You have <%= distance_of_time_in_words_to_now(current_char.rested_until) %> of rested time.
<% if current_char.resting? %>
This does not include time from your current rest. That time will be added when you stop resting.
<% end %>
<% end %>