HuntersKeepers
HuntersKeepers copied to clipboard
Seed all Moves for the Expert
Describe the Feature
Is your feature request related to a problem? Please describe. The expert currently lacks moves. We should add their moves to the Expert seedfile.
Additional context
Our seedfile is used to populate the moves visible on /playbooks/<:id>
. All Expert moves from the rulebook should be included on that page.
Run bundle exec rake db:seed
or docker-compose run web bundle exec rake db:seed
to populate your changes in development. This is automatically run in production.
Describe the Technical Implementation of the Solution
Solution Please add the moves to Expert seedilfe: https://github.com/ChaelCodes/HuntersKeepers/blob/main/db/seeds/playbooks/expert.seeds.rb
If the move is rollable and has a result, the type is Moves::Rollable and the results are broken between six_and_under
, seven_to_nine
, and ten_plus
. Don't forget to add the rating for the roll!
If the move is flavor text, modifies a roll, or does not result in a roll, the type is Moves::Descriptive.
Seedfiles are automatically run in production, so ensure your changes are idempotent. See the spell-slinger for an example: https://github.com/ChaelCodes/HuntersKeepers/blob/d3d2d31248b586cb28b6b2ed10970b894b4cc55a/db/seeds/playbooks/spell_slinger.seeds.rb#L99-L102
References Any references to materials or help articles that may help in implementing this issue. Rules for the Expert page 7, 8