summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--app/controllers/characters/hearth_controller.rb3
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3f87c4b..06b2c44 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@ Note that from this point foward, I am not explicitly listing the activities req
amenities, etc that are added unless they are special in some way.
### Added
+- Spicework has been implemented. You can now craft food and drugs in your hearth, once you build a spicebench.
- New hearth amenities: spicebench level 1, spicebench level 2
- New items: bluster powder
diff --git a/app/controllers/characters/hearth_controller.rb b/app/controllers/characters/hearth_controller.rb
index 8e32ab0..86757d8 100644
--- a/app/controllers/characters/hearth_controller.rb
+++ b/app/controllers/characters/hearth_controller.rb
@@ -6,6 +6,7 @@ class Characters::HearthController < ApplicationController
@amenity_activities = {
forge: [],
labratory: [],
+ spicebench: [],
}
Activity.where("gid like ?", "craft_%").each do |activity|
@@ -17,6 +18,8 @@ class Characters::HearthController < ApplicationController
@amenity_activities[:forge].push(activity) && next
when "labratory"
@amenity_activities[:labratory].push(activity) && next
+ when "spicebench"
+ @amenity_activities[:spicebench].push(activity) && next
else
raise "Invalid amenity gid (#{requirement_data[:gid]}"
end