From 9c015e16340c80a35aad1cde299218c650f5ba35 Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 7 Jul 2021 21:10:29 -0400 Subject: Lusterlight brand omen, and make lusterlight tincture only craftable during firstlight --- app/models/concerns/has_costs_and_requirements.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/concerns') diff --git a/app/models/concerns/has_costs_and_requirements.rb b/app/models/concerns/has_costs_and_requirements.rb index 9c4abf8..61ce461 100644 --- a/app/models/concerns/has_costs_and_requirements.rb +++ b/app/models/concerns/has_costs_and_requirements.rb @@ -29,6 +29,8 @@ module HasCostsAndRequirements end when "hearth_amenity" requirements.push "level #{req[:level]} #{HearthAmenity.find_by_gid(req[:gid]).name}" + when "time_of_day" + requirements.push "a certain time of day (#{req[:times].join(", ")})" else raise "Invalid requirement type string (#{req[:type]})" end -- cgit v1.2.3