diff options
author | David Gay <david@davidgay.org> | 2021-07-07 21:10:29 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-07-07 21:11:20 -0400 |
commit | 9c015e16340c80a35aad1cde299218c650f5ba35 (patch) | |
tree | b471b8ea53f801d01b2cb5706d93aec3a1aadc6e /app/models/concerns | |
parent | 8c93c5e29eceb9e85cb3eaa7ecc25653ffc50189 (diff) |
Lusterlight brand omen, and make lusterlight tincture only craftable during firstlight
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/has_costs_and_requirements.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |