Updated Adding support for a new Mod (markdown)

This commit is contained in:
Andrew Miner
2015-08-27 17:37:35 -07:00
parent ed397fca2d
commit 761cb75d86
+1 -3
View File
@@ -52,7 +52,7 @@ Be sure to test frequently using the `grunt test` command.
## 7. Test Locally
As you're going along, you may find it helpful to view your new mod in the website. To do so, switch back to the CraftingGuide repository, and add your new file name to the `DefaultMods` list in `./src/coffee/constants.coffee`. It's often handy to open a second terminal window and run `grunt clean-watch` to continuously rebuild the website as you're working, but keep in mind that you'll need to restart the command if you happen to add a new file. Recall that you local server should still be running at [http://localhost:8000](http://localhost:8000).
As you're going along, you may find it helpful to view your new mod in the website. To do so, switch back to the CraftingGuide repository, and add your new file name to the `DefaultMods` list in `./src/coffee/constants.coffee`. It's often handy to open a second terminal window and run `grunt watch` in the `crafting-guide-data` repo to continuously test the data files as you're working, but keep in mind that you'll need to restart the command if you happen to add a new file. Recall that you local server should still be running at [http://localhost:8000](http://localhost:8000).
Test by crafting the various items in your mod, and walking through the steps to ensure everything makes
sense. In particular, you should look for:
@@ -60,8 +60,6 @@ sense. In particular, you should look for:
* Do the proper images show up for each item? If not...
* Check that the item name is correct in the data file, and that the image file has the matching
slugified version of that name.
* Check that the image file was copied to the `./dist/data/<mod_slug>/images` directory. If not, you
may need to rebuild your project using `grunt`.
* If the item is gatherable, but not craftable, make sure you added it with the `gatherable: yes`
command even though it doesn't have any recipes.
* Do the recipes show each item in the correct place on the grid? If not...